Groups | Blog | Home
all groups > flash (macromedia) > february 2004 >

flash (macromedia) : Button Woes


poopyman67
2/14/2004 9:06:56 PM
Ok, I know this might be kinda hard 2 explain, but I'll give it my best shot.
Heres the deal. I hae a movie clip that is placed in my flash movie. Inside
the [h]movie clip[/h] I have a[h]button[/h]. What I want to do is make the
[h]button[/h], when clicked, play frame 2 in my [h]flash movie[/h]. However,
as you might have guessed, it plays frame 2 of the [h]movie clip[/h], instead
of the actual movie. What command is ActionScript do you need to do this?? Thx
abeall
2/14/2004 9:57:52 PM
This is an issue of "scoping." In other words you need to specify a target
using "dot syntax." The main movie is refered to as _root, so your AS should
look something like this

_root.gotoAndPlay(2)

HT
cheers
poopyman67
2/15/2004 12:59:01 AM
thx abeall! btw, that current project is sick!!!! How did you do that?? Man,
that thing mustva taken you forever!! Is that just you, or did you have other
people helping you out?? That is sick man, I wish I knew how to do stuff like
that
AddThis Social Bookmark Button