Be a Supporter!

Please point me to a tutorial that

  • 284 Views
  • 11 Replies
New Topic Respond to this Topic
vdorod
vdorod
  • Member since: Jul. 7, 2008
  • Offline.
Forum Stats
Member
Level 13
Blank Slate
Please point me to a tutorial that 2009-06-08 09:10:11 Reply

may 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.


BBS Signature
shikamaru-nara
shikamaru-nara
  • Member since: Jan. 17, 2007
  • Offline.
Forum Stats
Member
Level 07
Blank Slate
Response to Please point me to a tutorial that 2009-06-08 09:18:01 Reply

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.

shikamaru-nara
shikamaru-nara
  • Member since: Jan. 17, 2007
  • Offline.
Forum Stats
Member
Level 07
Blank Slate
Response to Please point me to a tutorial that 2009-06-08 09:22:29 Reply

Here's a tutorial;
Blan's Guide to Buttons


AS3 makes me shit myself.

vdorod
vdorod
  • Member since: Jul. 7, 2008
  • Offline.
Forum Stats
Member
Level 13
Blank Slate
Response to Please point me to a tutorial that 2009-06-08 09:24:03 Reply

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.


BBS Signature
shikamaru-nara
shikamaru-nara
  • Member since: Jan. 17, 2007
  • Offline.
Forum Stats
Member
Level 07
Blank Slate
Response to Please point me to a tutorial that 2009-06-08 09:26:24 Reply

Well... I'm pretty bad at explaining.


AS3 makes me shit myself.

vdorod
vdorod
  • Member since: Jul. 7, 2008
  • Offline.
Forum Stats
Member
Level 13
Blank Slate
Response to Please point me to a tutorial that 2009-06-08 09:32:54 Reply

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.


BBS Signature
ChaoticTrashCan
ChaoticTrashCan
  • Member since: Apr. 6, 2008
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to Please point me to a tutorial that 2009-06-08 09:49:38 Reply

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;
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.

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.

vdorod
vdorod
  • Member since: Jul. 7, 2008
  • Offline.
Forum Stats
Member
Level 13
Blank Slate
Response to Please point me to a tutorial that 2009-06-08 09:56:48 Reply

That has explained things better thanks. Thefirst button you are referring to is what? (for the replay button).


BBS Signature
javierm885778
javierm885778
  • Member since: Oct. 25, 2008
  • Offline.
Forum Stats
Member
Level 11
Blank Slate
Response to Please point me to a tutorial that 2009-06-08 09:59:01 Reply

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);
}

...

ChaoticTrashCan
ChaoticTrashCan
  • Member since: Apr. 6, 2008
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to Please point me to a tutorial that 2009-06-08 10:43:46 Reply

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.

vdorod
vdorod
  • Member since: Jul. 7, 2008
  • Offline.
Forum Stats
Member
Level 13
Blank Slate
Response to Please point me to a tutorial that 2009-06-08 11:01:32 Reply

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!!


BBS Signature
Rockyusa
Rockyusa
  • Member since: Dec. 29, 2008
  • Offline.
Forum Stats
Member
Level 15
Musician
Response to Please point me to a tutorial that 2009-06-08 11:18:53 Reply

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

BBS Signature