Skip to main content
January 26, 2009
Question

getURL

  • January 26, 2009
  • 15 replies
  • 1091 views
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?
This topic has been closed for replies.

15 replies

Participating Frequently
February 4, 2009
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")
}
Participating Frequently
February 4, 2009
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>













kglad
Community Expert
Community Expert
February 2, 2009
copy your html page and paste it using the attach code option in this forum.
Participating Frequently
February 2, 2009
Sory for spam but it just put it self so much answers
Participating Frequently
February 2, 2009
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.
Participating Frequently
February 2, 2009
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.
Participating Frequently
February 2, 2009
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.
Participating Frequently
February 2, 2009
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.
kglad
Community Expert
Community Expert
January 30, 2009
p.s. you're missing end-param tags in your html code.
kglad
Community Expert
Community Expert
January 30, 2009
add the following to your param tags:

<param name="allowScriptAccess" value="always" />