A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: loadMovie(a) into main movie but a is smaller than the main movie, help

  1. #1
    Junior Member
    Join Date
    Jan 2001
    Posts
    24

    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]

  2. #2
    Senior Member
    Join Date
    Oct 2000
    Posts
    181
    not sure... but try 51.5 instead of "51.5" (expression)

  3. #3
    Junior Member
    Join Date
    Jan 2001
    Posts
    24
    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
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center