Change color of Combo Boxes

  • dkardell
  • Newbie
  • Newbie
  • dkardell
  • Posts: 11

Post 3+ Months Ago

How do you go about chaning the properties (colors) of a combo box component and text?

Thanks!

Dan
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • IceCold
  • Guru
  • Guru
  • User avatar
  • Posts: 1254
  • Loc: Ro

Post 3+ Months Ago

Code: [ Select ]
var my_color:Color = new Color(comboBox);
var myColorTransform = new Object();
myColorTransform = { ra: '100', rb: '200', ga: '50', gb: '112', ba: '12', bb: '90', aa: '50', ab: '70'};
my_color.setTransform(myColorTransform);
  1. var my_color:Color = new Color(comboBox);
  2. var myColorTransform = new Object();
  3. myColorTransform = { ra: '100', rb: '200', ga: '50', gb: '112', ba: '12', bb: '90', aa: '50', ab: '70'};
  4. my_color.setTransform(myColorTransform);

Read the help for setTransform to understand what ra, rb, .... means

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 20 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.