The Enchanted Cave 2
Delve into a strange cave with a seemingly endless supply of treasure, strategically choos
4.39 / 5.00 38,635 ViewsGhostbusters B.I.P.
COMPLETE edition of the interactive "choose next panel" comic
4.09 / 5.00 15,161 ViewsThing number 1:
I have a button with these actions:
on(press){
_root.bc.gotoAndPlay(nextFrame);
if((bc._currentframe == 30)){
gotoAndPlay(nextFrame);
}
}
When the button is pressed, the bc goes to and plays the next frame, and if it is on frame 30 the main timeline plays to the next frame.
Let me explain this more cleary.
bc is a gray movie clip that I am using for my background, and it has 31 frames. 30 of it is a shape tween. The last frame of it is black so, what I want it to do is when you click the button "play" the background goes black, and goes to the next frame, that is black. So it's like a basic, cool effect kind of. But I test my movie, and .... it doesn't work.
What I think the problem is that I'm not supposed to have If statements on buttons, am I correct?
second thing:
Does anybody know any good sites for sound effects? Because I need a sound effect like a bleep or a bloop maybe even a bleep bloop. I want it to where you hover your mouse cursor over the button is goes "beep" Like the buttons in thing thing arena.
So these are to things I am stuck on, and would appreciate any feedback what so ever
Thanks.
.
.
try this.
on(press){
_root.bc.gotoAndPlay(nextFrame);
if((bc._currentframe == 30)){
_root.bc.gotoAndPlay(nextFrame);
}
}
i think that would work. you can have if statements on buttons as well. that isn't a problem.
At 4/9/09 03:14 AM, fallinfrog wrote: try this.
on(press){
_root.bc.gotoAndPlay(nextFrame);
if((bc._currentframe == 30)){
_root.bc.gotoAndPlay(nextFrame);
}
}
i think that would work. you can have if statements on buttons as well. that isn't a problem.
Sorry, but It's not working.
.
ok. go to your main timeline and click on your bc movieclip once to select it.
then look at your properties panel below. there's a box for instance name.
name it bc.
if that isn't it, then im not sure. but try that.
At 4/9/09 03:16 AM, fallinfrog wrote: almost forgot.
Have you looked in the audio portal?
and theres this:
Sound FX
Sorry for double post.
Sweet, now I found a sound that's perfect :)
But um yeah the instance name I already had was "bc".
I hope there is another way of doing this :/
.
Nevermind, I found out how to do it.
I took the frames inside the bc movieclip, and placed it on the main timeline. :)
.