This content has been marked as final. Show 3 replies
You've defined the onRelease functions ok, it seems. But, I don't see how your moving from one button to the next. Are the buttons defined as MovieClip Objects or as Buttons? Are the "buttons" contained in another MovieClip Object or are they on the Main Timeline?
The movieClip in on the main timeline. The buttons are inside the movieClip
coding to move along the time line ever 3 seconds. The buttons are defined
MC as buttons. Depending upon which button is visible, I want
to be able to click that button and have the script in the main timeline to
which button I'm using.
Here is a link to the web site which is under development - the movieClip
on the right hand side under Partners.
> You've defined the onRelease functions ok, it seems. But, I don't see how
> moving from one button to the next. Are the buttons defined as MovieClip
> Objects or as Buttons? Are the "buttons" contained in another MovieClip
> or are they on the Main Timeline?
From looking at your site, it seems that the buttons are accually defined as buttons and not as MoviClip instances. They seem to be already responsponding to click events which is why the text change occurs.
Now, though current trends in ActionScript programming advise against placing code on buttons, since you seem to have already written extensive code here, my suggestion would be to place the action code into the function that is causing the text to change. Granted you would have to repeat that code on each one of the buttons. Which would be avoided if all the code was placed in one place.