Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Flash beginner confusion

  • 22-03-2005 1:47pm
    #1
    Closed Accounts Posts: 55 ✭✭


    I'm something of a novice when it comes to flash and i'd apreciate any help as I seem to have hit a dead end in my attempts to create a drop down menu.

    I've gotten it couched inside a moveclip with the two open/closed states working fine and the invisible buttons surrounding the open state to close on rollover working alright, my only problem is attaching action scripting to the open state buttons. I'm trying to attach action script to change the frame from the one that the drop menus is located on, ie:

    "on (release) {gotoAndStop(15);

    }" (i've also tried "{gotoAndStop("scene1",15))

    Is there some method i'm missing to force the "goto" command to affect the original "scene 1" timeline the drop menu/movie clip is based in rather than the mini timeline inside the movieclip itself?


Comments

  • Registered Users, Registered Users 2 Posts: 2,647 ✭✭✭impr0v


    Try this:
    on(release){
    	tellTarget(_parent){
    		gotoAndStop(15);
    	}
    }
    

    This will only work if the button it's applied to is one level below the main timeline, i.e. in a movieclip which is on the main timeline.


  • Closed Accounts Posts: 55 ✭✭ediz


    Aha perfect! Had exactly the desired result, much apreciated you've likely saved me untold time blundering through the help menu. :)


Advertisement