16 Replies Latest reply on Feb 4, 2009 2:42 AM by pitonar

    getURL

    sgoulet
      I have a .fla file which has buttons that are assigned to retrieve external movie clips. Each of the five external movie clips have buttons assigned to go to a URL. This works great when I publish on my system. I have placed all files pertaining to the flash program in one folder. I have no difficulty calling the movie clip. The URL’s do not work outside of my computer. Does anyone know why?
        • 1. Re: getURL
          kglad Adobe Community Professional & MVP
          that works if you open your main swf's embedding html file in your web browser?
          • 2. Re: getURL
            sgoulet Level 1
            Yes you are correct. However; why don't the hyperlinks open on any other computer except for the the one I created it on?
            • 3. Re: getURL
              kglad Adobe Community Professional & MVP
              i've never heard of such a problem. many people have the opposite issue: the local files fail while the files served from the internet work.

              sometimes people have problems with their popup blocker but that wouldn't explain your problem because you tested your files in your browser locally and it works as expected.

              it's more likely you're doing something different than you're representing in your two posts. you should review what you're doing and ensure:

              1. opening your html file locally results in new browser window opening after your buttons are clicked

              2. opening that html file when it's on your online fails to open a new browser window despite your buttons loading correctly.
              • 4. Re: getURL
                pitonar
                Hi everyone, i have problems with links in flash. In firefox it's works ok, but in ie doesn't work. When i open site the link works ok,, but when i open a nwe page form that link, the links doesn't work anymore. That problem i have only in IE. In firefox everything works.

                www.agroremont.si/index.php

                Anybody know why?
                • 5. Re: getURL
                  kglad Adobe Community Professional & MVP
                  check your allowscriptaccess parameters if you've changed the default settings or you're embedding a swf from a different domain than the html file.
                  • 6. Re: getURL
                    pitonar Level 1
                    I'we changed all permisions to alow in flash player if that is what you mean. I'we embed a flash file but not from html but direct to template. I upload flash in ftp and i+we embended from there.

                    in code i have
                    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
                    codebase=" http://active.macromedia.com/flash4/cabs/swflash.cab#version=4,0,0,0"
                    id="Movie1" width="922" height="259">
                    <param name="movie" value=" http://www.agroremont.si/flash/agroremont.swf">
                    <param name="quality" value="high">
                    <param name="bgcolor" value="#FFFFFF">
                    <embed name="Movie1" src=" http://www.agroremont.si/flash/agroremont.swf" quality="high" bgcolor="#FFFFFF"
                    width="922" height="259"
                    type="application/x-shockwave-flash"
                    pluginspage=" http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
                    </embed>

                    </object>
                    • 7. Re: getURL
                      kglad Adobe Community Professional & MVP
                      add the following to your param tags:

                      <param name="allowScriptAccess" value="always" />
                      • 8. Re: getURL
                        kglad Adobe Community Professional & MVP
                        p.s. you're missing end-param tags in your html code.
                        • 9. Re: getURL
                          pitonar Level 1
                          I+we put this into code and that is what i get when i see source code:
                          FAIL (the browser should render some flash content, not this).

                          And in ie still doesnt work. On FF works just fine.
                          • 10. Re: getURL
                            pitonar Level 1
                            I+we put this into code and that is what i get when i see source code:
                            FAIL (the browser should render some flash content, not this).

                            And in ie still doesnt work. On FF works just fine.
                            • 11. Re: getURL
                              pitonar Level 1
                              I+we put this into code and that is what i get when i see source code:
                              FAIL (the browser should render some flash content, not this).

                              And in ie still doesnt work. On FF works just fine.
                              • 12. Re: getURL
                                pitonar Level 1
                                I+we put this into code and that is what i get when i see source code:
                                FAIL (the browser should render some flash content, not this).

                                And in ie still doesnt work. On FF works just fine.
                                • 13. Re: getURL
                                  pitonar Level 1
                                  Sory for spam but it just put it self so much answers
                                  • 14. Re: getURL
                                    kglad Adobe Community Professional & MVP
                                    copy your html page and paste it using the attach code option in this forum.
                                    • 15. Re: getURL
                                      pitonar Level 1
                                      Thati is all code of header.php in witch is include flash.

                                      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
                                      <HTML>
                                      <HEAD>
                                      <meta http-equiv="Content-Type" content="text/html; charset=<?= LANG_CHARSET;?>">
                                      <META NAME="ROBOTS" content="ALL">
                                      <?$APPLICATION->ShowMeta("keywords")?>
                                      <?$APPLICATION->ShowMeta("description")?>
                                      <title><?$APPLICATION->ShowTitle()?></title>
                                      <?$APPLICATION->ShowCSS();?>
                                      <?$APPLICATION->ShowHeadStrings()?>
                                      <?$APPLICATION->ShowHeadScripts()?>
                                      </head>
                                      <body link="#" alink="#" vlink="#" text="#" id="page1">
                                      <?$APPLICATION->ShowPanel();?>
                                      <?IncludeTemplateLangFile(__FILE__);?>

                                      <div id="tb">




                                      <div class="main">
                                      <!--==========header=========== -->
                                      <div class="logo">
                                      <div class="left">
                                      <div class="right" >

                                      <table style="text-align:righ; width:100%;">
                                      <tr>
                                      <td rowspan="2">
                                      <? $APPLICATION->IncludeFile("name.php", Array(), Array("MODE"=>"html"));?>
                                      </td>
                                      <td style="text-align:right; height:20px; padding:5px 0px 0 0px;">
                                      <? $APPLICATION->IncludeFile("/include_areas/header_icons.php", Array(), Array("MODE"=>"html"));?>
                                      </td>
                                      </tr>
                                      <tr>
                                      <td style="text-align:right; height:45px; padding:5px 0px 0 0px;">
                                      <?$APPLICATION->IncludeComponent("bitrix:menu", "topmenu", Array(
                                      "ROOT_MENU_TYPE" => "top",
                                      "MAX_LEVEL" => "1",
                                      "CHILD_MENU_TYPE" => "left",
                                      "USE_EXT" => "N"
                                      )
                                      );?>
                                      </td>
                                      </tr>
                                      </table>

                                      </div>
                                      </div>
                                      </div>
                                      <div class="header">
                                      <? $APPLICATION->IncludeFile("toptxt.php", Array(), Array("MODE"=>"html"));?>
                                      </div>
                                      <div class="header-banners">
                                      <table align="center" width="922" height="134" border="0" cellspacing="0" cellpadding="0">
                                      <tr>
                                      <td valign="top">
                                      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=" http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,24" width="922" height="110">
                                      <param name="movie" value=" http://www.agroremont.si/flash/3tipke.swf" />
                                      <param name="quality" value="high" />
                                      <param name="menu" value="false" />
                                      <param name="wmode" value="transparent" />
                                      <!--[if !IE]> <-->
                                      <object data=" http://www.agroremont.si/flash/3tipke.swf" width="922" height="110" type="application/x-shockwave-flash">
                                      <param name="quality" value="high" />
                                      <param name="menu" value="false" />
                                      <param name="pluginurl" value=" http://www.macromedia.com/go/getflashplayer" />
                                      <param name="wmode" value="transparent" />
                                      <param name="allowScriptAccess" value="always" />
                                      </object>
                                      <!--> <![endif]-->
                                      </object>
                                      </td>
                                      </tr>
                                      </table>
                                      </div>

                                      <!--========//header=========== -->
                                      <!-- -->
                                      <!--==========content=========== -->
                                      <div id="content">
                                      <div class="content-block">
                                      <div class="left">
                                      <div class="right">
                                      <div class="bot">
                                      <div class="left-top">
                                      <div class="left-bot">
                                      <div class="right-bot">
                                      <div class="container">







                                      <div class="col-1">




                                      <div class="container">


                                      <table border="0" width="584px;"><tr>


                                      <td >
                                      <?$APPLICATION->IncludeComponent("bitrix:main.include", "", Array(
                                      "AREA_FILE_SHOW" => "sect",
                                      "AREA_FILE_SUFFIX" => "inc",
                                      "AREA_FILE_RECURSIVE" => "N",
                                      "EDIT_MODE" => "html",
                                      "EDIT_TEMPLATE" => "sect_inc.php"
                                      )
                                      );?>
                                      </td>




                                      <td >



                                      <div class="box-2">
                                      <div class="block-1">
                                      <div class="corner-left-top">
                                      <div class="corner-right-top">
                                      <div class="border-top"></div>
                                      </div>
                                      </div>
                                      <div class="content" >




                                      <div class="title"><h1><? $APPLICATION->ShowTitle(true); ?></h1></div>



                                      <?$APPLICATION->IncludeComponent("bitrix:breadcrumb", "chain", Array(
                                      "START_FROM" => "0",
                                      "PATH" => "",
                                      "SITE_ID" => "-"
                                      )
                                      );?><br>













                                      • 16. Re: getURL
                                        pitonar Level 1
                                        And that is the code from as in flash:
                                        -----------------------------------------------------------------------------
                                        on (rollOver) {

                                        _parent.gotoAndPlay("s1");


                                        }
                                        on (releaseOutside, rollOut) {

                                        _parent.gotoAndPlay("s2");

                                        }

                                        on (release) {
                                        getURL (" http://agroremont.si/programi/golf-program/index.php","_top","GET")
                                        }