|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
button in MC not working
I have created a mc titled "quicklink" wihtin this mc I have placed a button.
All I want the button to do is to jump to a current frame label in the root timeline. I know the MC is throwing me for a loop as far as how to get the code on the button to send the playback head to a frame label on the root timeline. Here is what I have tried so far: on(release) { _parent.gotoAndPlay("scene1","pg2"); } I've also placed the _parent in front of scene 1 (_parent.scene1) to no avail I thought I would use the "_parent" synatax since the button is inside of a movie clip. I know this is probably simple but I am stuck, Thanks in advance |
|
#2
|
|||
|
|||
|
Ok I feel foolish now. I got it to work using:
on(release) { _root.gotoAndPlay("pg2"); } apperantly I didn't need to include the name of the scene in the params. and used root instead of _parent to send it to the main timeline. (just one of those days) Works like a champ now. |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > button in MC not working |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|