Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > General > Animation and Effects

Reply
 
Thread Tools Rate Thread Display Modes
Old 02-16-2001, 08:10 PM   #1
erikheerlein
Registered User
 
Join Date: Jan 2001
Posts: 35
Default

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
erikheerlein is offline   Reply With Quote
Old 02-17-2001, 12:28 AM   #2
Jesse
Administrator
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: Australia
Posts: 8,612
Talking

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.
Jesse is offline   Reply With Quote
Old 02-17-2001, 04:24 AM   #3
erikheerlein
Registered User
 
Join Date: Jan 2001
Posts: 35
Default

Thank you Jesse. That was very helpful.
erikheerlein is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

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


All times are GMT. The time now is 11:07 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.