;

PDA

Click to See Complete Forum and Search --> : My buttons are loose the will to live, Please save them


stuart1882
10-29-2007, 12:41 PM
hi all,

I have some buttons moving in from the side of the page and stop.

These buttons have the function to play specific labels inside a movieclip, in the movie clip there are 4 pages with content and labeled up.

Now as these buttons are moving accross the page u can click them and it does exactly what it's supposed to do by playing the movie click from the right label.

Now once the tween has finished and the buttons are in their final position they loose the will to live and stop working.

Any suggestions as it's winding me up a trick or treat.

EvolveDesigns
10-29-2007, 04:24 PM
are the button being motion tweened into their end position? if so, make sure the buttons still have their code when they reach the end of their tween

stuart1882
10-29-2007, 05:49 PM
Yeh, i've action scripted the buttons on the first frame.

Here's the code:

btn1.onRelease = function() {
whoarewecontent.gotoAndPlay ("whatwedo");
}

btn2.onRelease = function() {
whoarewecontent.gotoAndPlay ("whatwewant");
}