swf in template that plays on a page at root level but not on sub
Greeting,
I
have a swf inserted template that plays fine when rendered on a page at root level but not
when rendered from a sub-directory. All the paths seem relative
to the root but I must be missing something somewhere. standalonenews.swf
is in the root and expressInstall.swf is in a subdirectory named
scripts.
<param name="wmode" value="transparent" /> <param name="swfversion" value="6.0.65.0" />
<!--This param tag prompts users with Flash Player 6.0 r65 and
higher to download the latest version of Flash Player. Delete it if you
don’t want users to see the prompt.--> <param name="expressinstall" value="/scripts/expressInstall.swf" /> <!--Next object tag is for non-IE browsers. So hide it from IE using IECC.--> <!--[if !IE]>--> <object type="application/x-shockwave-flash" data="/standalonenews.swf" width="280" height="300"> <!--<![endif]--> <param name="quality" value="high" />
<param name="wmode" value="transparent" /> <param name="swfversion" value="6.0.65.0" /> <param name="expressinstall" value="/scripts/expressInstall.swf" /> <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. --> <div> <h4>Content on this page requires a newer version of Adobe Flash Player.</h4> <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" align="right" /></a></p> </div>
The flash is actually rendering, right clicking on empty area returns "about flash" message. The content of the flash is xml driven, since the flash renders but the content does not, perhaps this is the source of the issue.
Maybe the Flash is looking for the xml file relative to the web page, i.e. the Flash expects the xml file to be in the same directory as the html document/umbraco page? I've had that problem with a Flash application.
hi guys having the same kind of problem my flash working on the home page and level 2 pages but not on level 3 pages and i have treid setting the base to the websites directory still not working any help
swf in template that plays on a page at root level but not on sub
Greeting,
I have a swf inserted template that plays fine when rendered on a page at root level but not when rendered from a sub-directory. All the paths seem relative to the root but I must be missing something somewhere. standalonenews.swf is in the root and expressInstall.swf is in a subdirectory named scripts.
Here's the source:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="FlashID" width="280" height="300" align="right" id="FlashID" title="News">
<param name="movie" value="/standalonenews.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="swfversion" value="6.0.65.0" />
<!--This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt.-->
<param name="expressinstall" value="/scripts/expressInstall.swf" />
<!--Next object tag is for non-IE browsers. So hide it from IE using IECC.-->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="/standalonenews.swf" width="280" height="300">
<!--<![endif]-->
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="swfversion" value="6.0.65.0" />
<param name="expressinstall" value="/scripts/expressInstall.swf" />
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" align="right" /></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
Any suggestions appreciated.
More info:
The flash is actually rendering, right clicking on empty area returns "about flash" message. The content of the flash is xml driven, since the flash renders but the content does not, perhaps this is the source of the issue.
Maybe the Flash is looking for the xml file relative to the web page, i.e. the Flash expects the xml file to be in the same directory as the html document/umbraco page? I've had that problem with a Flash application.
Regards,
Magnus
Hiya,
there is a 'base' parameter that can be used, for an example see here, some info from Adobe can be found here.
You can set it obviously to whatever relative path you want, the flash will treat this as its working directory.
Hope that helps,
Sascha
This worked perfectly! You rock.
Awesome :)
hi guys having the same kind of problem my flash working on the home page and level 2 pages but not on level 3 pages and i have treid setting the base to the websites directory still not working any help
is working on a reply...