-
telltarget question
is there any way of telltargeting a movie that has been loaded in a movieclip (not level)???
thanks in advance
-
Registered User
if you loaded "external.swf" in a movieClip called emptyMC, which is on the stage, to controll external.swf, you adress do the emptyMC:
for example, if you want to stop external:
_root.emptyMC.stop();
or, with tellTarget:
tellTarget(_root.emptyMC){
stop();
}
-
Registered User
sorry, I made a mistake...
in external.swf, if you have a mc called ball moving, you use the following code to stop it:
_root.emptyMC.ball.stop();
or, with tellTarget:
tellTarget(_root.ball.emptyMC){
stop();
}
but if you want to change it's size, you'll do this:
_root.emptyMC._xscale = x;
_root.emptyMC._yscale = y;
...
-
Registered User
before you tell me that I haven't been of much help, I thought of something else:
the problem is that instead of a ball you wanted to stop, you might have 99 ball... i.e., you might want to stop the movie, not just one object
so, when you create the mc which will be loaded, create it inside a movieClip. like that you'll be able to control the loaded movie clip, and all the others inside it
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
|