00:00
00:00
Newgrounds Background Image Theme

lbkush just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

Troubles with Actions on Buttons

860 Views | 2 Replies
New Topic Respond to this Topic

Troubles with Actions on Buttons 2002-05-08 02:06:46


Hey having a lil' problem here. Im trying to put actions on the hit state of a button like for I.E. getURL. But the whole actions menu is greyed out. Im using Flash 5. It's not letting me put actions on any button state. Someone PlZ Help Meh!

Troubles with Actions on Buttons

Response to Troubles with Actions on Buttons 2002-05-16 06:46:24


At 5/8/02 02:06 AM, spookyboy wrote: Hey having a lil' problem here. Im trying to put actions on the hit state of a button like for I.E. getURL. But the whole actions menu is greyed out. Im using Flash 5. It's not letting me put actions on any button state. Someone PlZ Help Meh!

What do you want it to do? getUrl?

Response to Troubles with Actions on Buttons 2002-05-16 17:50:40


At 5/8/02 02:06 AM, spookyboy wrote: Hey having a lil' problem here. Im trying to put actions on the hit state of a button

the whole thing with the hit state... why would you put actions on the hit state? the button's hit state is inside the button, and it's the frame where you put the stuff you want to actually be clickable (for the button). you put the actions on the actual button.

say your button's on the main timeline - right click it, and click Actions from the menu that comes up. your actions window will pop up. enter your actions there... for instance -

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

that's what your getUrl action will look like. if you click on the "on (release) {" line, you will see in the actions window you can change it so instead of when you release the button it performs the actions you've assigned, it performs them when you drag over the button, roll out of the button, press a keyboard key, etc.

hope that helps


BBS Signature