PDA

View Full Version : Change Yep...


Ace1DW1
04-25-2002, 12:38 AM
Hay, how do I make it so that if i click on a button it changes into a animation like.... explode! or something

on(click)
sound splat.wav
explode
}
or someting :)

Its for a duck hunt game.. i have the death part i just want it now to when i click the duck it makes a sound and change into a splatter...

ummmmm

i dont know much more to say

just that the duck is flying across the screen....and when you click the duck it changes into a animation in the same spot and explodes.......
Thanks Bye

ai_falcon
04-25-2002, 02:43 AM
ok make the duck a button. Step 2. Create a blank movie clip. Step 3. put a stop action on the first frame of your movie clip. Step 4. Create your splate animation after the first frame. Step 5.say no to drugs (he he) Step 6. Drag the your movie lcip on to the stage. Step 7. put the following acion into your movie clip

onClipEvent (load) {
startDrag("", true);
}

Step 8. give your movie clip and instance name (ex. explode) now put the following action into your movie clip.
Awww crap i scrwed up ask someone else how do do the "if" stuff. cause i dont know how too. but this is what is supposto happen. if your "explode" clip is tuching a duck then it will go to and play frame 2 of the "explode" clip...


:)