A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Navigating from Page to Scene 2 Key Frame 1

  1. #1
    Senior Member etuom's Avatar
    Join Date
    Sep 2006
    Location
    Minnesota
    Posts
    193

    Question Navigating from Page to Scene 2 Key Frame 1

    Hello everyone. My first post.

    I have been working with Koolmoves on and off for awhile now and my experience has been page by page websites. I am starting a new site that uses Scenes and Key Frames for each part of the site. Each navigation button has a go to and play with a stop at the end of the scene. This part all works very well. The problem I am having is that I need second page to navigate back to any one of the scenes in the first page without stopping at the first scene's stop command. Does anyone have a solution for this?

    Thanks, Eric
    Last edited by etuom; 09-21-2008 at 05:41 PM.

  2. #2
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    gotoAndPlay("SceneName");

    Or did you mean the option of Not stopping when you get to the stop command?

  3. #3
    Senior Member etuom's Avatar
    Join Date
    Sep 2006
    Location
    Minnesota
    Posts
    193
    Bret, Thanks for the reply. Currently I have a site with eight Scenes for the eight pages on the site. Each Scene(Home Scene, Galleries Scene, Links Scene, etc.) I can navigate to each one with the gotoAndPlay(SceneName).

    At one point I navigate to an URL in a different folder (Client Pages which are unique to each client). Once there I want the client to be able to navigate back to any one of the eight Scenes on the previous URL without getting hung up on the stop command on Scene 1. I need something that will go to a specific scene in a different URL than the one the client is at.

    Hope this helps define the problem.

    Thanks, Eric

  4. #4
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    That's a little trickier but can be done, you need to pass a variable back to the page in the URL, best bet is to use PHP instead of HTML and process the Variable and use it to set a value in the Flash.

    I realize this dosen't totally answer the question but I don't have the time to go into the kind of depth this would require at the moment.

    But basically in the embedding code there are I think three places where you need to put the value, lets assume it's the scene name.

    you make the link in the client area like so
    http://yourpage.php?scene=Scene3

    then in the flash you look for the variable scene and do a gotoAndPlay to that.

  5. #5
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    You might consider whether you really need to leave to go to the client area. Perphaps you could load that content into your movie, if it's not flash then maybe a new window. That would eliminate the more complex issues.

  6. #6
    Senior Member etuom's Avatar
    Join Date
    Sep 2006
    Location
    Minnesota
    Posts
    193
    Yes, a seperate window seems the best. The client will have thier own unique pages and it will be easier (at least for me) to manage themif they are seperate. Then thy can go back and forth without the need to log back in. Right now I have it set to open in a new browser with Javascript to close- I will do search for "popups". Any thoughts on popups vs. new browser window?

    Thanks for the help Bret. This is a great forum!

    Eric

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