Question about Operating Systems
I am Anand from India I have a problem in flash and I am new to action scripts
I have created a map in flash. when I take mouse to select a city the background color changes and If I click it the color changes and immediately after releasing mouse it turn to previous color.
I want the following
If I click a city, the color should stay stable until I click it again.
If I click it once again, it should come to its original color
First Color -- Red
Mouse Over -- Blue
Click Once -- Green
Click Second -- Red
Please help me in this.
You're going to need some 'if then statements' linked to the color of the city. and some global procs for them so that they can tell the program what state they are in.
on mouse down-action x-
then city.rgb = (rrr2,ggg2,bbb2)
Posted on Nov 27, 2008
Tips for a great answer:
Mar 26, 2011 | Operating Systems
on Jan 13, 2010 | Operating Systems
Mar 18, 2011 | Operating Systems
Oct 25, 2010 | Operating Systems
Nov 23, 2009 | Microsoft Windows Vista Home Premium with...
Jul 10, 2009 | Microsoft Windows Server 2003 Enterprise...
May 23, 2009 | Microsoft Windows Vista Home Premium with...
Sep 12, 2008 | Microsoft Windows XP Professional With...
Jul 31, 2008 | Operating Systems
Jul 07, 2008 | Microsoft Windows XP Professional
Nov 27, 2016 | Operating Systems
74 people viewed this question
Usually answered in minutes!
Step 2: Please assign your manual to a product: