-
I am trying to load a .swf into a movie clip instead of onto a level. you'd think this was simple, but I must be missing something
here is my script
on (release) {
loadMovie ("pkgzoom.swf", "image");
}
looks right, then why won't it work?
-
Welcome to flavour country
Do you get any error message when you preview the movie?
The only thing I can think of is the path to the movie clip is incorrect.
-
it seems like i might be getting this message about generator, that I don't understand
about the path. the mc that i'm loading into is in the main movie and the button is in another mc that is in the main movie and the .sfw is in the same folder as the main movie
-
try this:
1)place your movieclip on the stage where you want it, and give the instance the name 'image'.
2)code it like this:
on(release){
loadMovie("pkgzoom.swf", image);
}
OR
on(release){
image.loadMovie("pkgzoom.swf");
}
if your button is nested inside another MC, then you have to do this:
on(release){
_root.image.loadMovie("pkgzoom.swf");
}
hope that helps some.
S.
-
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
|