Monster Racer Rush
Select between 5 monster racers, upgrade your monster skill and win the competition!
4.18 / 5.00 3,534 ViewsBuild and Base
Build most powerful forces, unleash hordes of monster and control your soldiers!
3.80 / 5.00 4,200 Viewsmay help me do the following! I want to put 4 short flashes together and show them like this..
First whole flash preloaded, No problem. Then I would like the viewer to have a choice of
4 play buttons. Each button plays flash and finishes with a replay button. If viewer doesnt wish to see a replay they can exit back to the choice of 4 buttons page. Sorry to sound dumb but I am an artist and not an expert coder. Is this type of viewing called an interface?
I have seen a number of flashes displayed in this way and I am sure there is nothing really complicated involved. (I dont even know how to make a replay button). I havent been totally lazy, I have scanned back quite a few months of posts on this forum and have not found anything. Probably because you cant find something if you dont know what youre looking for.
Sensible answers not involving the words retard or idiot would be appreciated as I am already aware of this.
Most buttons start with the code;
on(release){
//code goes here
}
Meaning that when you release the button, something happens.
What you'd want to put in between to move between frames is;
_root.gotoAndPlay( "frame-number" );
If it's a stop-button;
stop();
if it's a play-button;
play();
At 6/8/09 09:10 AM, vdorod wrote: Sensible answers not involving the words retard or idiot would be appreciated as I am already aware of this.
If you are not aware of it already, you just burned yourself.
AS3 makes me shit myself.
Here's a tutorial;
Blan's Guide to Buttons
AS3 makes me shit myself.
At 6/8/09 09:18 AM, shikamaru-nara wrote: Most buttons start with the code;
on(release){
//code goes here
}
Meaning that when you release the button, something happens.
What you'd want to put in between to move between frames is;
_root.gotoAndPlay( "frame-number" );
If it's a stop-button;
stop();
if it's a play-button;
play();
At 6/8/09 09:10 AM, vdorod wrote: Sensible answers not involving the words retard or idiot would be appreciated as I am already aware of this.If you are not aware of it already, you just burned yourself.
What you are saying has not helped much or answered my question. I know basically what
event handlers and buttons do, but I need a tut giving me a bit more comprehensive info other
than if its a play button play etc etc. I am sure you very good at this sort of thing. But I am not.
Well... I'm pretty bad at explaining.
AS3 makes me shit myself.
At 6/8/09 09:22 AM, shikamaru-nara wrote: Here's a tutorial;
Blan's Guide to Buttons
Ok thanks Ill see if that can answer anything although I do find some of the tuts on ng a bit confusing.
If thats the good tutorial great but if anyone knows of better, please advise.
At 6/8/09 09:24 AM, vdorod wrote:At 6/8/09 09:18 AM, shikamaru-nara wrote: Most buttons start with the code;What you are saying has not helped much or answered my question. I know basically what
on(release){
//code goes here
}
Meaning that when you release the button, something happens.
What you'd want to put in between to move between frames is;
_root.gotoAndPlay( "frame-number" );
If it's a stop-button;
stop();
if it's a play-button;
play();
At 6/8/09 09:10 AM, vdorod wrote: Sensible answers not involving the words retard or idiot would be appreciated as I am already aware of this.If you are not aware of it already, you just burned yourself.
event handlers and buttons do, but I need a tut giving me a bit more comprehensive info other
than if its a play button play etc etc. I am sure you very good at this sort of thing. But I am not.
Actually, that's basically all you need. You would put stop(); directly on the frame with the buttons. On each button, you would put
on(release){
_root.gotoAndPlay(framewithmovieonit);
}
at the end of the video, you put another frame with stop();
for your replay code, put the exact same code as the first button, and for the button to go back, replace the framewithmovieonit to the framewithmenuonit.
no witty signature at this time.
That has explained things better thanks. Thefirst button you are referring to is what? (for the replay button).
You draw what you want to be a button, you turn it into a button, an write this code on its actions:
on(press) {//you can also use on(rollover) { or on(release) {
gotoAndStop(frame you want to go);
} ...
At 6/8/09 09:56 AM, vdorod wrote: That has explained things better thanks. Thefirst button you are referring to is what? (for the replay button).
The original button in the menu, the one that has on it gotoAndPlay(framewithmovieonit);, because the replay button takes you back to the start of the individual video.
no witty signature at this time.
At 6/8/09 10:43 AM, ChaoticTrashCan wrote:At 6/8/09 09:56 AM, vdorod wrote: That has explained things better thanks. Thefirst button you are referring to is what? (for the replay button).The original button in the menu, the one that has on it gotoAndPlay(framewithmovieonit);, because the replay button takes you back to the start of the individual video.
Ok thanks for your help. I think I should be able to work it all out now.
Thanks to everyone who replied. Great forum, amazing people!!
Anyone have a code for a button (like z or h) to be pressed to go to a certain frame?
At 6/3/11 10:56 PM, BlakeMo wrote:
: I have no sexual orientation
: ANYTHING AND EVERYTHING HAS POTENTIAL TO BE BLESSED BY MY PENETRATION