Am customizing a flash xml template for my client. In that template the author used jpg for background.
<menuItem page_title="HOME" swf="home.swf" xmlPath = "xml/home.xml" bgImage= "images/background/1.jpg"/>
I need the background to be a animated swf background. By replacing the "1.jpg" to "1.swf" will loads the swf, but shows only the first frame of the swf while background music playing. Can't get the animated background.
Please guide friends, its really urgent!
If you're using a Loader then you can try running the play() function on it,
var myloader:Loader = new Loader().
But if you don't have access to the code that loads 1.jpg then about all I can suggest is you make sure 1.swf has a frame script on frame 1 that tells it to play(); but I'm not sure if that's enough.
thank you for you replay "sinious", I tried your suggestion, but its not working:(
We'll need more information on your project and the code involved all around it, any screenshots that would be useful, etc. There isn't enough info here to answer you yet.