Welcome Guest, Not a member yet? Register   Sign In
Flash in inner pages...
#1

[eluser]Roy MJ[/eluser]
Does anyone know how to implement flash in inner pages too besides home page. The flash path becomes invalid when used in inner pages. The flash works fine in home page. Anyone had the same issue and solved it???

The script that calls flash is as follows:

Code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="459" height="314">
<param name="movie" value="&lt;?=base_url()?&gt;banner_creator.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
&lt;embed src="&lt;?=base_url();?&gt;banner_creator.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" style="background-color:#000000" width="459" height="314" wmode="transparent"&gt;&lt;/embed>
&lt;/object&gt;


Does anyone know what path should be used in the xml file that calls the images..

Say my flash images are in a folder named flashimages inside public html.
From homepage i could get the flash by putting &lt;?=base_url()?&gt;flashimages.

This works fine. But when i put the flash in the inner pages the images are not loading.
I tried putting
../flashimages/01.png ,
../../flashimages/01.png,
../../../flashimages/01.png and so on.

But nothing seems to work. Anyone have an idea of what im doing wrong..???
#2

[eluser]Georgi Budinov[/eluser]
Try putting base tag with your base_url() and images should be loaded just with flashimages/01.png
#3

[eluser]Roy MJ[/eluser]
When images are loaded using flashimages/01.png it will work in the home page. But when the url changes to mydomain.com/index.php/ it wont work.
#4

[eluser]Georgi Budinov[/eluser]
http://www.w3schools.com/TAGS/tag_base.asp
#5

[eluser]Roy MJ[/eluser]
Ive done flash in home page for many websites. But first time im using flash in an inner page and its not working. Have you used flash in an inner page????
#6

[eluser]Roy MJ[/eluser]
Yeah i have rewritten the url. Even though not through base tag , but through .htaccess file.
#7

[eluser]Roy MJ[/eluser]
God.. thanks buddyy..........Thanks a lot... Was working over time for figuring out this..
It works........ as u said i used the base tag... Thanks a lot
#8

[eluser]Georgi Budinov[/eluser]
Yes base tag is very useful ... .htaccess is another thing Smile
#9

[eluser]Roy MJ[/eluser]
Thanks a lot.. 3 days i was behind this damn thing.. :p.. thanks a lot..




Theme © iAndrew 2016 - Forum software by © MyBB