|
-
Manipulating imported SWFs
(MX 2004)
I have a flash file that imports an external SWF.
More specifically, the main flash loads, then an image (another SWF) loads inside that file.
Is there a way to manipulate the image from within the first flash file?
For instance, the image is a movie clip with instance name "pano." Ideally, I'd like to call it like _root.panoLoader.panoGoesHere.pano and work with it that way, but this doesn't appear to be working. Am I doing something wrong?
I've right-clicked on the movie clip and said "Export for ActionScript" with the identifier "panoMainEntrance."
-
Senior Member
1.) how are you loading this external.swf? using container clips?..or levels?
2.) what is you want to be able to do it?
3.) inside this external.swf, is the "image" housed inside a movieClip as well? or is this image just by itself on the timeline?
if you want to be able to control the external.swf you need to put the containerClip instance name in the path.
you load your external.swf into a container.
on(press) {
_root.containerClip.loadMovie("external.swf");
}
then if you want to move that a movieClip inside the external.swf you need to use the ful path.
on (press) {
_root.containerClip.movieClip._x = 300;
}
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
|