9 Guests, 2 Users
Shyfty, aldog
Welcome, Guest. Please login or register.
Did you miss your activation email?
February 06, 2012, 06:08:27 pm

Login with username, password and session length

Author Topic: flash AS2.0 script help  (Read 255 times)

Offline LC0g

  • Crow bar
  • *
  • Posts: 144
  • Justice! +11/-87
flash AS2.0 script help
« on: December 17, 2008, 10:51:06 pm »
Hi guys!

I wanted to complete something on flash.

you got the function called ''on''. for example, in a button:

on (release){
gotoAndPlay(2)
{

so here, when the button will be ''released'', the flash animation will go to frame 2 and play.

I want to make the ''release'' command to something like when the mouse gets over the button, it will go to frame 2 and play...

Do you know what it is?
thx very much!
LC0g

Offline Focused Moments

  • Whore
  • *
  • Posts: 1934
  • Justice! +31/-4
Re: flash AS2.0 script help
« Reply #1 on: December 24, 2008, 06:51:13 pm »
Hi guys!

I wanted to complete something on flash.

you got the function called ''on''. for example, in a button:

on (release){
gotoAndPlay(2)
{

so here, when the button will be ''released'', the flash animation will go to frame 2 and play.

I want to make the ''release'' command to something like when the mouse gets over the button, it will go to frame 2 and play...

Do you know what it is?
thx very much!

onover (instead of on)

google actionscript it'll get you where you need to go

Offline LC0g

  • Crow bar
  • *
  • Posts: 144
  • Justice! +11/-87
Re: flash AS2.0 script help
« Reply #2 on: December 25, 2008, 03:53:11 pm »
man thank you very much! Thanks for tip too man. Really  :)
LC0g