-
making a simple button
i am really new to flash and i want to make a button tht when clicked makes the show jump to another slide and play a few slides there. when i tried to script it the button would not work. i tried to follow the tutorial on this site but ti was to old and i couldnt follow. can you post some script or point to a newer tutorial?
-
create any kind of button symbol and put code on it like this
on(release) {
_parent.target_mc.gotoAndPlay(frame);
}
Note: suppose the button and target mc is in the same mc
Check my site for more tutorials
http://www.elearnage.com/elearn
-
i got most of that right i did just not know what to put onto that spot that says
_parent. target_mc . Could you explain this to me or link to somewhere thta does?
-
Flashkit Veteran
_parent means the parent movieclip, also known as the movieclip that is holding the the one that has these actions on it, and target_mc is the instance name of your mc that you are targeting in the same level of the timeline as the button.
-
just one more question. (btw thanks a lot so far) when i have my button clicked on it says "no instance name assigned" or somehting like that. what does that mean and how would i go about naming my instnace.
-
click on the mc u need to give an instance then go to the properties window then type the instance where it says instance name
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|