LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 




 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-28-2003, 05:16 PM
cftranslate cftranslate is offline
Registered User
 
Join Date: Feb 2003
Posts: 3
Rep Power: 0
cftranslate is on a distinguished road
getRGB to get color of any object (not last setRGB color)

What is the code to retrieve an object color. It seems that getRGB returns the last color set with setRGB

var colorover=new Color(myobject);
colorover.setRGB(0xFF0000);

color2 = colorover.getRGB();

color2 returns FF0000
-----------------------------------------------------

var colorover=new Color(myobject);
color2 = colorover.getRGB();

color2 returns black or nothing (?)

I want it to return the color of myobject

Thanks
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kenny Bellew Sound Object Tutorial jumpingJack Sound and Music 23 05-03-2011 07:37 AM
removing color object rocketscience Flash MX ActionScript 3 08-30-2005 08:58 PM
Dynamic Referencing with Color Object markhat Flash MX ActionScript 3 02-04-2004 10:29 PM
Need flash to get RGB values of colored movie object climbingsolo Flash 5 Actionscript 0 08-08-2002 10:21 AM
color object lex Flash 5 Actionscript 4 09-21-2001 03:56 PM




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