> _global. BaseListBox.style.setStyle("themeColor", "0xff0000");
Thats wrong... theres a space before BaseListBox. As well, that will look
for a global variable containing a reference to the control.
This looks to change the global style object for the default "Halo" theme...
_global.style.setStyle("themeColor", 0xff0000);
Cheers,
Kevin
-----Original Message-----
From: Greg Johnson [mailto:[EMAIL PROTECTED]
Sent: Monday, April 18, 2005 2:26 PM
To: CF-Talk
Subject: Re: Need pointing in right direction for Flash Styles
nope. Still got green instead of red
dave wrote:
>ok so you are in flash ide
> you dont need to _root, you can use global styles instead
>
> _global. BaseListBox.style.setStyle("themeColor", "0xff0000");
>
>----------------------------------------
>From: Greg Johnson <[EMAIL PROTECTED]>
>Sent: Monday, April 18, 2005 3:38 PM
>To: CF-Talk <[email protected]>
>Subject: Re: Need pointing in right direction for Flash Styles
>
>We are making it so people can click on a county on a map, and a listbox
>will fade in where you can click house or senate and it will populate
>the listbox. Plus I knowtice that the text on the buttons shows even if
>the movie its in has a alpha of 0.
>
>dave wrote:
>
>
>
>>is this for a flash form or for flash?
>>
>>----------------------------------------
>>From: Greg Johnson
>>Sent: Monday, April 18, 2005 1:05 PM
>>To: CF-Talk
>>Subject: Re: Need pointing in right direction for Flash Styles
>>
>>I tried that, no color change
>>_root.BaseListBox.ListBox.styles.setStyle("themeColor",0xFF0000);
>>
>>dave wrote:
>>
>>
>>
>>
>>
>>>In flash to use a color instead of a halothem you use 0xffffff (use hex
value where ffffff is)
>>>
>>>----------------------------------------
>>>From: Greg Johnson
>>>Sent: Monday, April 18, 2005 11:41 AM
>>>To: CF-Talk
>>>Subject: Need pointing in right direction for Flash Styles
>>>
>>>Trying to create my own colors that I can set the same as flash's
>>>haloOrange etc. Can't seem to find where they are defined so I can even
>>>look at the ones that come with flash. Found the halotheme files etc,
>>>just nowhere do I see haloOrange etc. Any websites out there with good
>>>info on setting up your own UI component color style?
>>>
>>>Thanks
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>
>
>
--
Greg Johnson
Owner & Lead Technician
[EMAIL PROTECTED]
Techno-Fix-It
Filling the Gap Between the Store and the Repair Shop
----------------------
www.technofixit.com
Phone:(919)-371-1476
Fax:(919)-882-9804
P.O. Box 1094
Morrisville, N.C. 27560
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:203433
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54