Be a Supporter!

help with buttons

  • 388 Views
  • 17 Replies
New Topic Respond to this Topic
ReklessCreati0n
ReklessCreati0n
  • Member since: Apr. 4, 2005
  • Offline.
Forum Stats
Member
Level 15
Animator
help with buttons 2005-04-16 18:29:49 Reply

I'm making a tutorial, and i need help with the buttons, I need buttons that go to scene 2, 3, and, 4, i have on(release)
_root.gotoAndPlay(Scene 2, 1)

i'm sure this is wrong, so if you would help me and tell me what i need, i would appreciate it, thank you.


A Girl in A Room Halloween Collaboration II -Join Now!-

BBS Signature
ReklessCreati0n
ReklessCreati0n
  • Member since: Apr. 4, 2005
  • Offline.
Forum Stats
Member
Level 15
Animator
Response to help with buttons 2005-04-16 19:38:32 Reply

help would be appreciated, please...


A Girl in A Room Halloween Collaboration II -Join Now!-

BBS Signature
ReNaeNae
ReNaeNae
  • Member since: Sep. 1, 2004
  • Offline.
Forum Stats
Supporter
Level 29
Blank Slate
Response to help with buttons 2005-04-16 19:46:55 Reply

...put quotes around the scene name: ("Scene 2", 1);

ReklessCreati0n
ReklessCreati0n
  • Member since: Apr. 4, 2005
  • Offline.
Forum Stats
Member
Level 15
Animator
Response to help with buttons 2005-04-16 19:49:16 Reply

ok, thanks a lot, i greatly appreciate it, good luck with your 5SOB RaNaeNae


A Girl in A Room Halloween Collaboration II -Join Now!-

BBS Signature
ReNaeNae
ReNaeNae
  • Member since: Sep. 1, 2004
  • Offline.
Forum Stats
Supporter
Level 29
Blank Slate
Response to help with buttons 2005-04-16 19:51:16 Reply

lol... thanks! I'm gonna need it!

ReklessCreati0n
ReklessCreati0n
  • Member since: Apr. 4, 2005
  • Offline.
Forum Stats
Member
Level 15
Animator
Response to help with buttons 2005-04-16 20:48:07 Reply

ok, now i need next frame, and prev frame, are these right?

on(release) {
nextFrame ;
}

on(release) {
prevFrame ;
}


A Girl in A Room Halloween Collaboration II -Join Now!-

BBS Signature
MrAltaco
MrAltaco
  • Member since: Jan. 10, 2005
  • Offline.
Forum Stats
Member
Level 12
Blank Slate
Response to help with buttons 2005-04-16 20:50:00 Reply

yep, im pretty sure those are right.


BBS Signature
ReklessCreati0n
ReklessCreati0n
  • Member since: Apr. 4, 2005
  • Offline.
Forum Stats
Member
Level 15
Animator
Response to help with buttons 2005-04-16 21:16:27 Reply

ok, nothing is working, i should put a stop function above each frame right, then have two buttons at the bottom that have the next frame action in them, but they don't work, none of my buttons are working at all, what is wrong, (i have mx 2004)

the functions that don't work are,

on (release) {
_root.gotoAndPlay("Scene 2",1);
}

on(release) {
nextFrame ;
}

on(release) {
prevFrame ;
}


A Girl in A Room Halloween Collaboration II -Join Now!-

BBS Signature
GeoffCLogan
GeoffCLogan
  • Member since: Apr. 25, 2004
  • Offline.
Forum Stats
Member
Level 11
Blank Slate
Response to help with buttons 2005-04-16 21:32:46 Reply

At 4/16/05 09:16 PM, anime_freak1000 wrote: ok, nothing is working, i should put a stop function above each frame right, then have two buttons at the bottom that have the next frame action in them, but they don't work, none of my buttons are working at all, what is wrong, (i have mx 2004)

the functions that don't work are,

on (release) {
_root.gotoAndPlay("Scene 2",1);
}

on(release) {
nextFrame ;
}

on(release) {
prevFrame ;
}

nextFrame() and prevFrame

You must always use () at the end no matter what.

Harpo-1
Harpo-1
  • Member since: Jan. 15, 2005
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to help with buttons 2005-04-16 21:36:05 Reply

Yeah for each they are like this:

on(release){
_root.gotoAndPlay("Scene 1" 1)
}

on(release){
_root.gotoAndPlay("Scene 3")
}

continue for scene 4

and

on(release){
_root.nextFrame();
}

on(release){
_root.prevFrame();
}


2b r not2b lawl

BBS Signature
ReklessCreati0n
ReklessCreati0n
  • Member since: Apr. 4, 2005
  • Offline.
Forum Stats
Member
Level 15
Animator
Response to help with buttons 2005-04-16 21:46:48 Reply

The goto buttons arn't working now, the prev scene and nextscene are though


A Girl in A Room Halloween Collaboration II -Join Now!-

BBS Signature
GeoffCLogan
GeoffCLogan
  • Member since: Apr. 25, 2004
  • Offline.
Forum Stats
Member
Level 11
Blank Slate
Response to help with buttons 2005-04-16 21:49:05 Reply

NO NO NO. Don't listen to the other guy's thing.

gotoAndPlay("Scene 1",1);
nextFrame();
prevFrame();

There must be a comma after "Scene".

ReklessCreati0n
ReklessCreati0n
  • Member since: Apr. 4, 2005
  • Offline.
Forum Stats
Member
Level 15
Animator
Response to help with buttons 2005-04-16 21:55:05 Reply

ok, this is really making me mad, nothing is happing, every time i put the action in, test the movie nothing happens i tried all of your possibilities, why isn't it working??


A Girl in A Room Halloween Collaboration II -Join Now!-

BBS Signature
ReklessCreati0n
ReklessCreati0n
  • Member since: Apr. 4, 2005
  • Offline.
Forum Stats
Member
Level 15
Animator
Response to help with buttons 2005-04-16 22:25:42 Reply

ok, finally i got it, thank you all who helped me, i hope you see my tut when it comes out.


A Girl in A Room Halloween Collaboration II -Join Now!-

BBS Signature
ReklessCreati0n
ReklessCreati0n
  • Member since: Apr. 4, 2005
  • Offline.
Forum Stats
Member
Level 15
Animator
Response to help with buttons 2005-04-16 23:23:43 Reply

this really isn't a button question, or maybe it is, how would i make a link from a flash, to flashkit.com??


A Girl in A Room Halloween Collaboration II -Join Now!-

BBS Signature
Taylor
Taylor
  • Member since: Aug. 19, 2003
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to help with buttons 2005-04-16 23:55:51 Reply

At 4/16/05 11:23 PM, anime_freak1000 wrote: this really isn't a button question, or maybe it is, how would i make a link from a flash, to flashkit.com??

on a button, put

on(release) {
getURL("http://www.flashkit.com");
}

ReklessCreati0n
ReklessCreati0n
  • Member since: Apr. 4, 2005
  • Offline.
Forum Stats
Member
Level 15
Animator
Response to help with buttons 2005-04-17 00:01:12 Reply

At 4/16/05 11:55 PM, PillowBiter wrote:
At 4/16/05 11:23 PM, anime_freak1000 wrote: this really isn't a button question, or maybe it is, how would i make a link from a flash, to flashkit.com??
on a button, put

on(release) {
getURL("http://www.flashkit.com");
}

thank you pillow,


A Girl in A Room Halloween Collaboration II -Join Now!-

BBS Signature
ReklessCreati0n
ReklessCreati0n
  • Member since: Apr. 4, 2005
  • Offline.
Forum Stats
Member
Level 15
Animator
Response to help with buttons 2005-04-17 00:35:07 Reply

what is the script to make a movie clip play and loop?


A Girl in A Room Halloween Collaboration II -Join Now!-

BBS Signature