Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 10-24-2009, 06:29 AM   #1
Registered User
Join Date: Oct 2009
Posts: 47
Default changing color

hi,i am new to action script 3.0
i need the code(in action script 3.0) regarding the below mentioned logic

i have drawn a shape of the car and i have converted that into movie clip,now what i need is ,whenever i click on that car , the color of the car should change,

the color of the car should change when ever i clicked on that can any one help me .. thank you

rajroy919 is offline   Reply With Quote
Old 10-24-2009, 07:00 AM   #2
Pipty rupees only!
rawmantick's Avatar
Join Date: Jul 2007
Location: Germany
Posts: 1,730

Raj, you can create a set of car symbols where the only difference between them will be the color. When clicking, simple select another random symbol, instantiate it, remove the previous car and add the new one.
rawmantick is offline   Reply With Quote

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 On
HTML code is Off

Forum Jump

All times are GMT. The time now is 06:33 PM.

Follow actionscriptorg on Twitter


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