SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Feb 2004
    Location
    carolina
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Angry Hellllllllp Meeeeeee!

    I'm having trouble making my page in flash have an intro and outro sequence and still go to the page that the user selected. Here's an example.

    Ok, all pages usually have an intro sequence right. But some sites I see have pages that have an intro and outro then comes the intro of the page you selected. How is this done without making a transition of each page to each page? If that makes any since.

    I know how to make the timeline jump to different frames to get to different pages (just disappear with no outro) but how do you make the movie clip play out then at the end of it know what menu item the user selected then go to that page and play it's intro.

    I've tried putting a variable on the main timeline then on each button doing an onRelease variable= XYZ. Then having an if statement on the last frame of the movie clip saying if variable=XYZ gotoandstop on XYZ but it's not working for some reason.

    If anybody has the solution to this problem I would greatly appreciate it if they could help me with this problem. Thanks

    -mediacre8tor

  2. #2
    SitePoint Enthusiast
    Join Date
    Feb 2004
    Location
    Canada
    Posts
    42
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think I understand what your trying to do, if you want the user to click another section then it plays the outro of the last section, then goes to the new section?

    You have to do the following:

    Say you have 4 sections (pages) you have to make a variable called sectionFrame (or whatever), when you load up the site, set sectionFrame = (whatever frame your on to start)

    When they click on another section, on the menu button set sectionFrame = (whatever frame the next section will be) then from there play your outro.

    then, on the last frame of your outro gotoAndPlay(sectionFrame), that will take you to the new section.

    Hope that helps a bit.

  3. #3
    SitePoint Member
    Join Date
    Feb 2004
    Location
    carolina
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    YES! That is exactly what I needed to know. Thank you!

    mediacre8tor


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •