| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Senior Member
Join Date: Jun 2003
Posts: 2,091
|
I was thinking of a code for a slider that on mouse would come to the button from which ever postition it was in before. Would this code work? Is there an easier way to do this? (I thought of this code by myself too
)ActionScript Code:
|
|
|
|
|
|
#2 |
|
flashing vampire
Join Date: Dec 2001
Location: nowhere
Posts: 1,406
|
with this code your slider could move only once when mouse over event is occured, if you need continuous action try enterFrame event.
![]() Regards~ |
|
|
|
|
|
|
|
|
#3 |
|
I make out with chicks
Join Date: Oct 2002
Location: NYC
Posts: 1,586
|
ActionScript Code:
I fixed some of your syntax for you ![]()
__________________
www.perpetuated.com |
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Jun 2003
Posts: 2,091
|
will that work continuously?? I need it to work continuously to work.
|
|
|
|
|
|
#5 |
|
Canadian Flasher
Join Date: May 2002
Location: T dot O dot
Posts: 1,651
|
it will continiously work as long as your mouse is over that object
|
|
|
|
|
|
#6 |
|
I make out with chicks
Join Date: Oct 2002
Location: NYC
Posts: 1,586
|
No it won't.
This will however. ActionScript Code:
But with that code, it's going to keep moving back and forth, if you want it to move, then stop the following will work: ActionScript Code:
Something like that, I'm lazy so it's not perfect. But, that should give you some direction. Good luck.
__________________
www.perpetuated.com |
|
|
|
|
|
#7 |
|
Canadian Flasher
Join Date: May 2002
Location: T dot O dot
Posts: 1,651
|
o fudge me........!!! i suck
|
|
|
|
|
|
#8 |
|
Senior Member
Join Date: Jun 2003
Posts: 2,091
|
How about an 'if, else if' statement? Like this:
ActionScript Code:
I think I'm getting alot better at actionscript after getting that book. I'm only on page 500 because I've been really busy, but I've already learned so much! |
|
|
|
|
|
#9 |
|
Senior Member
Join Date: Apr 2003
Location: VT, usa
Posts: 231
|
not to mention this service
soup |
|
|
|
|
|
#10 |
|
Senior Member
Join Date: Jun 2003
Posts: 2,091
|
lol, I haven't been on much.
I've been really busy figuring stuff out. Golf, job, and this other forum I SMOD at just went through some tough times. Oh well, I'll be on more once this passes. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|