Discussion:
externally loaded swf file doesn't behave correctly
(too old to reply)
murl
2007-09-26 19:31:16 UTC
Permalink
This one boggles me...hopefully I can explain this correctly.

I have a main movie which will load an external swf, a separate mp3
player I've built. In the main movie I'm using:
var mcl:MovieClipLoader = new MovieClipLoader();

mcl.loadClip("mp3Player.swf", swfHolder);

to load the mp3 player. The mp3 player loads fine where it's supposed
to be, and the music starts playing but unfortunately the player is
not working the same way it does when it's run by itself. The scrubber
is not moving and the play pause button is not switching to pause
correctly. Testing the mp3 player alone, all aspects of it work just
fine. Am I loading the external swf incorrectly? Why would the loaded
movie not behave the same as when it's tested by itself?
murl
2007-09-27 14:36:18 UTC
Permalink
Post by murl
This one boggles me...hopefully I can explain this correctly.
I have a main movie which will load an external swf, a separate mp3
var mcl:MovieClipLoader = new MovieClipLoader();
mcl.loadClip("mp3Player.swf", swfHolder);
to load the mp3 player. The mp3 player loads fine where it's supposed
to be, and the music starts playing but unfortunately the player is
not working the same way it does when it's run by itself. The scrubber
is not moving and the play pause button is not switching to pause
correctly. Testing the mp3 player alone, all aspects of it work just
fine. Am I loading the external swf incorrectly? Why would the loaded
movie not behave the same as when it's tested by itself?
the _lockRoot property seemed to do the trick on the holder movie I'm
using to load the external swf file into.

Loading...