Forum Topic: Actionsript not working

(57 views • 3 replies)

This topic is 1 page long.

<< < > >>
None

Aquarious2008

Reply To Post Reply & Quote

Posted at: 11/6/09 10:57 PM

Aquarious2008 LIGHT LEVEL 07

Sign-Up: 06/13/08

Posts: 19

Ok, I'm trying to make a scene selection thing for this flash Im currently working on. I set the actionscript on the button exactly like this: http://i280.photobucket.com/albums/kk174 /Aquarious2008/Untitled-2.jpg (just like the tutorial told me) but when I play the movie and push the button, either nothing happens, or it takes me to beginning of the scene that it's already on rather than the scene I want it to go to. So am I doing something wrong or is my version of flash wonky?


None

TheBoob

Reply To Post Reply & Quote

Posted at: 11/6/09 11:09 PM

TheBoob NEUTRAL LEVEL 12

Sign-Up: 04/12/02

Posts: 387

Its hard to say for sure, but one thing to definatly check, is when you put actions on a button, those actions only work for that keyframe (and the non keyframes after it). I see in the example it apears the button disapears after that kefyrame, but if you tried to click that button before it got to that frame (if its on the timeline) it would simply not do anything.

just make sure the code is on the button, and the button is on its own layer that spans the total distance you want the button visible.

Also, scenes do act funny when it comes to gotoAnd functions.


None

K-Guare

Reply To Post Reply & Quote

Posted at: 11/6/09 11:12 PM

K-Guare FAB LEVEL 17

Sign-Up: 05/23/08

Posts: 2,429

I gave up working with scenes a LONG time ago, they're so unreliable.
Just do it all on one timeline with frame labels, no difference.

dr. seuss
"unless someone like you cares a whole awful lot, nothing is going to get better. it's not."

BBS Signature

None

AMOE1st

Reply To Post Reply & Quote

Posted at: 11/7/09 01:49 AM

AMOE1st LIGHT LEVEL 03

Sign-Up: 01/09/07

Posts: 104

Scenes can still be used to make sure things are separate from each other, and you don't accidentally delete something you didn't intend to, by thinking it was just empty stuff after the end of your first "scene".

Frame Labels definetly help a lot here.


All times are Eastern Standard Time (GMT -5) | Current Time: 09:58 PM

<< Back

This topic is 1 page long.

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!