A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: unload movie

  1. #1
    Junior Member
    Join Date
    Nov 2007
    Posts
    4

    unload movie

    I'm loading an mc into a host mc which is fine but how do I

    1. target the timeline of the host mc

    and

    2. unload the mc from the host mc using a button on the loaded in mc

    tried unloadmovie script to no avail

    cheers for any help.

  2. #2
    Senior Member
    Join Date
    Aug 2004
    Location
    plymouth-uk
    Posts
    313
    what code you using post up , as you need to to know what level it was loaded and all that. Is the butto code within the loaded mc or on the mainTime line etc
    eg

    mcname.loadMovieNum("swfname.swf",1)

    on (press) {
    unloadMovie ("_root.mcname.swfname.swf");
    }

    or

    on (press) {
    ("_root.mcname.unloadMovieNum ("1");
    }

    beleive something like this might help?
    NOW! look whats happened! I told you to watch this space and now its gone.

  3. #3
    Senior Member
    Join Date
    Aug 2004
    Location
    plymouth-uk
    Posts
    313
    sorry

    1) do you mean the loaded movie targeting the host movie?

    if so with in the loaded movie try _root.gotoAndStop(1) me thinks
    NOW! look whats happened! I told you to watch this space and now its gone.

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