|
-
Loading a SWF and keeping interactivity
I have this problem when I load a swf via this script.
on(release){
_root.SWF_stage.loadMovie(MySWF.swf", 1);
}
I loose all the interactivity because the the path is now
_root.SWF_stage.thingsOnImportedSWF.....
is there a way I can import a SWF onto the stage, where I want it, and keep the interactivity? I mean, without re-pathing everything on the to be imported SWF?
Many Thanks
Mark
-
Is this even possible? I have found so many tutorial on this but they don't talk about loading a dynamic SWF with attached sounds and drag n drop
they only refer to static images ect.
I have tried this
--------------------------------------------
_root.createEmptyMovieClip("blank_mc", 1);
with (blank_mc){
_x=60;
_y=40;
}
loadMovie("MY.swf", blank_mc);
and
---------------------------------------------------------------
_root.button.onRelease = function (){
_root.loadMovie("MY.swf", Blank_mc.getNextHighestDepth());
}
They all DO import the SWF but the swf is lifeless. I can bring back the
drag and drop is I re path the sub SWF but I cant get the sounds to play.
--------------------------------------------------------
_root.Blank_mc.word0.onPress = function() {
startDrag(word0); sound0 = new Sound();
sound0.attachSound("I"); sound0.start();
};
_root.Blank_mc.word0.onRelease = function() {
stopDrag();
for(var x=0;x!=10;x++){
if (_root.Blank_mc.word0.hitTest(_root["drop"+x]))
soundSeq[x] = sound0;
}
};
Please, Any help would be soo much appreciated
Mark
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|