A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Flash Navigation design help?

  1. #1
    Junior Member
    Join Date
    Jul 2011
    Posts
    3

    Flash Navigation design help?

    Hello

    i would like to have some hints on how to build my navigation for my flash application to be run on the web. I use Flash CS5 on a mac and i have already flash experience but a bit rusty on everything!

    The Flash application would do the following
: After few intro splash screens 

    1) A screen is presented to viewers, they are asked to either to view movie 1 or movie 2


    2) They watch the movie they have selected (the movie is picked up from a website for example youtube or another streaming site but is displayed in the flash interface)

    
3) After the movie is completed, viewers are prompted with a selection of sentences that they will tick and the ticked sentences get recorded for later display


    4) Then they are send back to the video screen where they are displayed again 2 new videos; movie 3 or 4 and we repeat the process with new sentences. There are 10 movies to display, so 5 iterations.

    
5) Once viewers have finished the loop (5 times,) they are presented a screen with the sentence they selected during the 5 iterations . They will have the possibility to print or email the sentences displayed.

    

I was wondering how to tackle the navigation part with AS, what will be the best approach?

    Thanks for help

    Xav

  2. #2
    Prid - Outing Nig 13's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    1,864
    Perhaps make a movieclips on Frame 1 with all the videos, and on Frame 2, movieclip with all the questions. And then make a new layer which is as long as both of your frames, and on that frame, make 2 variables which will start at 1, for example movies = 1; and questions = 1; and then on your movieclips, use something like this:

    Actionscript Code:
    onClipEvent(enterFrame){
        gotoAndStop(_root.movies); // same with questions
    }

    And when finished watching movie, _root.movies++; and the same with the questions.

    For example, inside your questions movieclip, the button to go back to Frame 1, or the frame with the movies movieclip:

    Actionscript Code:
    on(press){
        if(_root.questions == 5){
            _root.gotoAndStop(3); // or frame for end of loop
        } else {
            _root.gotoAndStop(1); // go back to movies movieclips
            _root.movies++;
        }
    }

    Does this help?
    I am back, guys ... and finally 18 :P

    BRING BACK THE OLD DESIGN!! OR AT LEAST FIX THE AS TAGS

  3. #3
    Junior Member
    Join Date
    Jul 2011
    Posts
    3
    thanks for feedback, I did it using frames and labels but obviously the way you propose is more efficient will try it.

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