dcsimg
A Flash Developer Resource Site

Results 1 to 13 of 13

Thread: Someone Here Has To Know!

  1. #1

    Someone Here Has To Know!

    How to set a goto Scene action within a movie clip which then UNLOADS the movie clip and returns back to the main SCENE.


    My Logic should be right, but for some reason the MOVIE CLIP stays on top of the scene.


    HELPPPPPPPPPPPPPPPPPPP!

  2. #2
    Senior Member
    Join Date
    Jan 2001
    Posts
    191
    Can you post the code snippets? It may just be invalid referencing of the clips/timeline.

  3. #3
    Huygens to Titan PCRIDE's Avatar
    Join Date
    May 2002
    Location
    PLUTO
    Posts
    1,335
    like a onClipEvent unLoadMovie?


    soemthing like that, removing it self??
    All out of Honey Buffers, so i grabed a few Goose Heads

  4. #4
    No,

    It is an actual movie clip that has a "CLOSE" button on it, which should take the user back to FRAME 1 Of SCENE 1

    This is the code....

    on (press) {
    gotoAndStop("Scene 1", 1);
    }

    When I do this, it takes me back to FRAME 1 of the movie clip....

    I am using this for a US MAP, and have 50 states, and I need to keep everything in one SWF File!

    Thanks!

  5. #5
    Senior Member
    Join Date
    Jan 2001
    Posts
    191
    I would think that if you've got a movie clip loaded, and it's the one that's supposed to remove itself, then you'd have this code in the movieclip:

    on (press) {
    gotoAndStop("Scene 1", 1);
    removeMovieClip(this);
    }

    so clicking the button will jump back to scene 1, frame 1, then remove iteself. Hope that's what you were looking for...

  6. #6
    Negative...

    It works to some degree, but the 1st Frame of the Movie Clip still rests on top of the scene!

  7. #7
    Senior Member
    Join Date
    Jan 2001
    Posts
    191
    It sounds like you're using levels or something like that. Can you explain the project a little more, or post a simple test FLA? I'm having a hard time visuaizing what exactly si supposed to happen.

    Sorry, mild retardation combined with multiple personalities will do that to a person

  8. #8
    The file is to big to post on here, I can email it to you.

    It is a US MAP, with 50 states, when you rollover a state it plays a Movie Clip.

    Within that movie clip there is a button that returns the user to the US MAP....

    For some reason, the movie clip is not reading the MAIN SCENE,and only returns to the keyframes within itself...

    I can email you the FLA....

  9. #9
    Nebulus....

    Thanks for your help.....

    Someone suggested this.

    on (press) {
    _parent.gotoAndStop(1);
    }

    and it WORKED..... if you still want to see the file just to see the craziness I was describing email me : boakes@optonline.net

    Thanks Again!@

  10. #10
    Senior Member
    Join Date
    Jan 2001
    Posts
    191
    Ahhh, ok. I'd still like to see the file: pfriedl@nebulus.org

    Thanks!

  11. #11
    Huygens to Titan PCRIDE's Avatar
    Join Date
    May 2002
    Location
    PLUTO
    Posts
    1,335
    Don't use scenes, you can get away without scenes
    I emailed you so I can see it
    All out of Honey Buffers, so i grabed a few Goose Heads

  12. #12
    Senior Member
    Join Date
    Jan 2001
    Posts
    191
    Thanks for emailing it - nice map!

  13. #13
    Thanks, I had done one similar about 2 years ago, but the functionality was different.

    What you saw rests inside a web application and the dots on the states will call from a database depending on location.

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