A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: simple question I think

  1. #1
    Member
    Join Date
    May 2002
    Posts
    63
    I am using the

    on(release){
    loadMovie("mySwf.swf", myMC);
    }

    to load a swf file into a MC on my main stage. The problem is when I click the button for it to load, everything dissapears on my main stage except for the movie I called.

    Why is this, and how can I fix it?

    Thanks.

  2. #2
    Junior Member
    Join Date
    May 2001
    Posts
    26
    U need to use tell target and/or levels to show properly that movie inside main movie.

    1.- create blank movie clip inside main movie and give a name to that blank movie using instance, for example suppose u name that blank movie "mytoy"


    2- on the button action use tell target "mytoy" on the action to especify where ur movie mySwf.swf will be show

    3.- maybe u need asign level 1, 2, 3

    also possible you need give properties to blank movie
    named mytoy

    (just an example)

    setProperty ("mytoy", _x, "-290");
    setProperty ("mytoy", _y, "-174");


    hope this is helpful for u...

    blanka, the cookies monster


    Originally posted by four3shane
    I am using the

    on(release){
    loadMovie("mySwf.swf", myMC);
    }

    to load a swf file into a MC on my main stage. The problem is when I click the button for it to load, everything dissapears on my main stage except for the movie I called.

    Why is this, and how can I fix it?

    Thanks.

  3. #3
    Senior Member
    Join Date
    Nov 2000
    Posts
    316
    you may want to do loadMovieNum and load it to a specific level... it may be 'on top' of other things...

  4. #4
    Member
    Join Date
    May 2002
    Posts
    63
    hey thanks for your help, I was using loadMovieNum instead of loadMovie. thanks again.

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