Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Invoking Flash on Website problems.

Status
Not open for further replies.

Junkman01

Programmer
Mar 31, 2008
2
US
I am totally confused and any help is greatly appreciated. I would like to use a single swf file on all my pages, at the root level it works fine (i.e below is the code from my main index.php page) banner.swf loads its information from mySql and all the required files are in the root/flash folder.

<object classid="clsid:12312" codebase=" width="875" height="100" >
<param name="movie" value="flash/banner.swf" /><param name="allowScriptAccess" value="sameDomain" />
<param name="quality" value="high" /><param name="wmode" value="transparent" />
<embed src="flash/banner.swf" quality="high" wmode="transparent" pluginspage=" type="application/x-shockwave-flash" width="875" height="100"></embed>
</object>

If I try to call from a lower directory page (root/test/index.php)and change the src="="../flash/banner.swf[/color" it does not work nor does the direct URL src="="[/color" as the value above. I replace all instances of the path in the code.

Thanks in Advance.
 
Please ignore the and tags- guess they don't work or something else I'll need to learn.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top