PDA

View Full Version : HTML And Flash


shanerhoden
07-30-2007, 07:37 AM
I have a SWF embedded within a HTML file. The SWF file imports another SWF file. Both SWF files are in the same folder. When I play the Movie in Flash Player, it works fine, but when I open the same SWF file in a HTML document it will not pull in the other SWF file. The HTML file just displays normal SWF.

Hope that makes since...

panel
07-31-2007, 01:10 PM
All paths are relative to html document containing swf (not to loaded swf file).
example structure
index.html
Flash/app1.swf
Flash/app2.swf

Lets say app1 is embeded on index.html
if you wanna load app2 you have to load if from Flash/app2.swf (path realtive to html page)