| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Jan 2001
Posts: 35
|
Is it possible to perform a 'tween using Actionscript alone?
For instance, clicking on a button changes an MC's color from red to green over the time span of two seconds. I know how to change the property of an MC using Actionscript but I don't want the change to be instantaneous. I would like the change to happen over time like a traditional 'tween but without using the traditional method. [:] Erik Heerlein erik@erikheerlein.com |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2000
Location: Australia
Posts: 8,612
|
We have two tutorials on this issue:
http://www.actionscripts.org/tutoria...nt/index.shtml http://www.actionscripts.org/tutoria...pt/index.shtml You could probably adapt either of them to change the color using getRGB and setRGB. Cheers Jesse
__________________
Cheers Jesse Stratford ActionScript.org Cofounder Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org Please don't email or PM me Flash questions, that's what the Forums are for! ![]() Please don't rely on me reading my PMs either. Email me about important stuff. |
|
|
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Jan 2001
Posts: 35
|
Thank you Jesse. That was very helpful.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| I'm beginner in actionscript. I have questions. | helgso | ActionScript 1.0 (and below) | 7 | 06-16-2006 05:11 PM |
| Flash Actionscript Career Advice? | bdemil | General Chat | 3 | 06-15-2006 07:35 PM |
| Need Help! displaying external text files | Flash_Boi | ActionScript 2.0 | 7 | 03-30-2006 09:23 PM |
| actionscript tweeening with fade | mathq | ActionScript 1.0 (and below) | 1 | 08-24-2004 06:07 AM |
| Actionscript book | cheezisgoooood | ActionScript 1.0 (and below) | 2 | 02-07-2003 12:31 AM |