A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: motion after button press navigation

  1. #1
    Junior Member
    Join Date
    Aug 2011
    Posts
    4

    motion after button press navigation

    i want the main page to drop off after button press need some help to do it right

  2. #2
    Prid - Outing Nig 13's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    1,864
    drop off? Didn't really understand that, lol. Detailed explanation and/or FLA file would help alot
    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
    Aug 2011
    Posts
    4
    i meant a transition and it just keeps telling me that error 1046: type was not found
    stop();

    ///nav
    function gomenusub(evt:Event):void {
    gotoAndStop("menusub")
    }

    function goingredsub(evt:Event):void {
    gotoAndStop("ingredsub")
    }

    function gostoresub(evt:Event): void {
    gotoAndStop("storesub")
    }

    function gocontactsub(evt:Event): void {
    gotoAndStop("contactsub")
    }

    function gohome(evt:Event): void {
    gotoAndStop("home")
    }

    btnhome.addEventListener(MouseEvent.CLICK,gohome)

    btnmenu.addEventListener(MouseEvent.CLICK,gomenusu b)

    btncontact.addEventListener(MouseEvent.CLICK,gocon tactsub)

    btnstore.addEventListener(MouseEvent.CLICK,gostore sub)

    import fl.transitions.*;
    import fl.transitions.easing.*;

    TransitionManager.start(mctaco,{type:Fly, direction:Transition.IN, duration:2, easing:Strong.easeOut})

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