A Flash Developer Resource Site

+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Junior Member
    Join Date
    Aug 2012
    Posts
    4

    Navigations throughout labes

    Hi guys,

    this is probably the most silly question you have been ever asked.

    A couple of weeks ago I started to explore flash. A couple of days ago I decided to create a simple site but I have faced an issue described below.

    There were supposed to be a copule subpages which are controlled by a simple navigation bar. Everything is clear and quite simple - ActionScripts and buttons.

    There is only one problem. I would like to assign a script making the current subpage to leave the scene and the new one to enter it fe. If the "home subpage" is on the scene and I click on the "contact button" I want the home subpage to leave first and contact page to enter afterwards.

    How can I achieve such a s stuff with minimal effort? I could assign it manually. But if I had f.e. 20 buttons i would have to make 19 labels for each button which is 20x19 = 380 tweenings and labelling.

  2. #2
    Junior Member
    Join Date
    Aug 2012
    Posts
    4
    to show exactly what i mean i am providing you with a template found in the web at TM.com
    http://www.templatemonster.com/flash...tes/20855.html

    how to make such a navigation. once i have clicked a button the current one leaves the scene and the desired on enters it?

    what tutorials should i look for? how is such a behaviour called?

    cheers and thanks

  3. #3
    Prid - Outing Nig 13's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    1,770
    Have all your submenus in a MovieClip distributed in their own Frames (Frame 1 = submenu1, etc.), have that movieclip inside another movieclip, and there, create a Motion Tween of it leaving the screen and coming back, don't forget to give the movieclip an instance name as well. When it leaves the screen and is coming back, just use a code to make it go to another Frame...
    17 Years old boy, who loves the Computer Technology

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

  4. #4
    Junior Member
    Join Date
    Aug 2012
    Posts
    4
    Hi mate !

    Thanks 4 your reply.

    Is there any tutorial or file on the web I could easily take an example of?

    Even after your response I'm kinda confused :P

    Cheers again !
    Regards

  5. #5
    Prid - Outing Nig 13's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    1,770
    I dunno, there isn't a tutorial for everything, you know, you just have to use your knowledge and think of a way you can accomplish it

    DOWNLOAD EXAMPLE FILE
    17 Years old boy, who loves the Computer Technology

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

  6. #6
    Junior Member
    Join Date
    Aug 2012
    Posts
    4
    Thanks m8 !!!!!!!
    A virtual pint 4 you
    Kingd Regars and All The Best 4 Ya

  7. #7
    Prid - Outing Nig 13's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    1,770
    No problem
    17 Years old boy, who loves the Computer Technology

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

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