Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

Flash beginner confusion

  • 22-03-2005 01: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