Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Flash beginner confusion

  • 22-03-2005 02: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,643 ✭✭✭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