Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 10-24-2009, 06:29 AM   #1
rajroy919
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

Raj
rajroy919 is offline   Reply With Quote
Old 10-24-2009, 07:00 AM   #2
rawmantick
Pipty rupees only!
 
rawmantick's Avatar
 
Join Date: Jul 2007
Location: Родина Мать
Posts: 1,730
Default

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.
__________________
Bang!
rawmantick 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 On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:35 AM.

///
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.