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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Swapping swf files - is it possible?

Status
Not open for further replies.

TheDust

Programmer
Aug 12, 2002
217
US
I am trying to swap out one swf file for another dynamically, either through javascript or CSS. I don't believe there is anyway to do this in CSS... is the only way to do this by changing the innerHTML property of an empty div tag? I would like to think there is a better way, but just changing the "src" attribute of an embed tag just doesn't seem to work. Any ideas?
 
there is no real loss in changing the innerHTML of the div.
Simple and effective. I dont think there is any other way using script alone

on error goto hell
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top