-
loading a smaller movie into a main movie, carring over setProperty variables
I have created a movie, which is loading external movies into it when a user selects a topic. the external movies that are being loaded, are smaller than the main movie so the _y cordinate is going to be 51.5 instead of 0 thus placing the movie right where I want it on the release of the button prior to the loadmovie.
Now all my actionscript is fine up until the release on the button. When they release the button, the movie is loaded into the place I want but only for a brief moment then it smaps back to 0 on the _y axis. Could someone tell me how to carry over my setProperty variable so the movie stays in place. here is the script for the button so you can see where I am.
on (release) {
loadMovieNum ("section4.swf", 1 );
setProperty ("_level1", _y, "51.5");
stop ();
}
I know I need to freeze this variable somehow, just...how.
[Edited by uberflash on 01-11-2001 at 02:24 AM]
-
not sure... but try 51.5 instead of "51.5" (expression)
-
Originally posted by Mars Spider
not sure... but try 51.5 instead of "51.5" (expression)
Nope tried that a few hours ago.
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
|