hy503
January 4th, 2005, 03:11 PM
Hi,
I have a webpage with a flash button (player.swf),each time clicked, will load and play a different word sound swf file(i.e. unknown.swf), which will be specified at run time.
I read through the tutorial at
http://www.kirupa.com/developer/flash5/loadmovie.htm (http://www.kirupa.com/developer/flash5/loadmovie.htm)
http://www.kirupa.com/developer/mx/loading.htm
but the swf (http://www.kirupa.com/developer/flash5/animation/loadm.swf (http://www.kirupa.com/developer/flash5/animation/loadm.swf), loaded.swf...) in the tutorial are static, not dynamic.
Question:
If I want to dynamically load an different external swf to the main swf movie, how can I change the code? I guess I should some how create a variable like "loadme" in player.swf, and in the html code of the webpage, I'll pass the name of the external swf to "loadme", like player.swf?loadme=unknown.swf.
anyone has a clue?
Thanks,
tom
I have a webpage with a flash button (player.swf),each time clicked, will load and play a different word sound swf file(i.e. unknown.swf), which will be specified at run time.
I read through the tutorial at
http://www.kirupa.com/developer/flash5/loadmovie.htm (http://www.kirupa.com/developer/flash5/loadmovie.htm)
http://www.kirupa.com/developer/mx/loading.htm
but the swf (http://www.kirupa.com/developer/flash5/animation/loadm.swf (http://www.kirupa.com/developer/flash5/animation/loadm.swf), loaded.swf...) in the tutorial are static, not dynamic.
Question:
If I want to dynamically load an different external swf to the main swf movie, how can I change the code? I guess I should some how create a variable like "loadme" in player.swf, and in the html code of the webpage, I'll pass the name of the external swf to "loadme", like player.swf?loadme=unknown.swf.
anyone has a clue?
Thanks,
tom