[flexcoders] Re: roll-over-color CSS property

2006-06-05 Thread klumikaze



Ok, essentially what I've done is taken the AeonGraphical sample,
brought it in to Flash, changed the look of the buttons and some other
elements, and made use of the AeonGraphical.css in my project.

The buttons are a blue color, and I can set the up state color fine,
but the roll-over-color is set to a custom color, but it is always
black. I'll try what you mentioned for setting the style, that could work.

Thanks again,

Brian

--- In flexcoders@yahoogroups.com, Matt Horn [EMAIL PROTECTED] wrote:

 Does something like this work? (works in the latest build for Flex 2)...
 
 ?xml version=1.0?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml 
 mx:Script![CDATA[
  public function changeMyStyle1(e:Event):void {
   e.currentTarget.setStyle(textRollOverColor,0x33CCFF);
  }
 ]]/mx:Script
 mx:Button label=Click Me id=b1 click=changeMyStyle1(event) /
 /mx:Application
 
 You mention that you are skinning your app and it doesn't work when
 using default buttons. Maybe if you explained a little more about what's
 going on...
 
 Matt Horn
 Flex docs
 
  -Original Message-
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of klumikaze
  Sent: Saturday, June 03, 2006 8:10 AM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: roll-over-color CSS property
  
  Sorry, meant F2B3... I've checked all through the API docs 
  and the changes from B2 to B3, etc as well.
  
  Thoughts?
  
  Thanks,
  
  Brian
  
  --- In flexcoders@yahoogroups.com, Karl Johnson karl.johnson@
  wrote:
  
   1.5? textRollOverColor is the style.
   
   Make sure to check the API docs whenever you are not sure of what 
   style or property or method to use, very helpful!
   http://livedocs.macromedia.com/flex/15/asdocs_en/index.html
   
   Karl Johnson
   
   
   -Original Message-
   From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] 
   On Behalf Of klumikaze
   Sent: Friday, June 02, 2006 3:21 PM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] roll-over-color CSS property
   
   Maybe I'm missing something, but I'm skinning my 
  application, and when 
   trying to use default buttons, I can't change the text 
  color on a roll 
   over. I assume it's the roll-over-color property, I've looked for 
   other options but haven't found anything.
   
   Anybody else having issues with this?
   
   Thanks,
   
   Brian
   
   
   
   
   
   
    Yahoo! Groups Sponsor 
   ~-- Protect your PC from spy ware with 
  award winning anti spy technology.
   It's free.
   http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM
   
  ~-
   
   
   --
   Flexcoders Mailing List
   FAQ: 
  http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
   Search Archives:
   http://www.mail-archive.com/flexcoders%40yahoogroups.com
   Yahoo! Groups Links
  
  
  
  
  
  
  
   Yahoo! Groups Sponsor 
  ~-- Protect your PC from spy ware with 
  award winning anti spy technology. It's free.
  http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM
  --
  --~- 
  
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives: 
  http://www.mail-archive.com/flexcoders%40yahoogroups.com
  Yahoo! Groups Links
  
  
  
  
  
  
 













--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  












[flexcoders] Re: roll-over-color CSS property

2006-06-03 Thread klumikaze



Sorry, meant F2B3... I've checked all through the API docs and the
changes from B2 to B3, etc as well.

Thoughts?

Thanks,

Brian

--- In flexcoders@yahoogroups.com, Karl Johnson [EMAIL PROTECTED]
wrote:

 1.5? textRollOverColor is the style.
 
 Make sure to check the API docs whenever you are not sure of what style
 or property or method to use, very helpful!
 http://livedocs.macromedia.com/flex/15/asdocs_en/index.html
 
 Karl Johnson
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of klumikaze
 Sent: Friday, June 02, 2006 3:21 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] roll-over-color CSS property
 
 Maybe I'm missing something, but I'm skinning my application, and when
 trying to use default buttons, I can't change the text color on a roll
 over. I assume it's the roll-over-color property, I've looked for other
 options but haven't found anything.
 
 Anybody else having issues with this?
 
 Thanks,
 
 Brian
 
 
 
 
 
 
  Yahoo! Groups Sponsor ~--
 Protect your PC from spy ware with award winning anti spy technology.
 It's free.
 http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM
 ~- 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links











--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  












RE: [flexcoders] Re: roll-over-color CSS property

2006-06-03 Thread Matt Horn



Does something like this work? (works in the latest build for Flex 2)...

?xml version=1.0?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml 
mx:Script![CDATA[
 public function changeMyStyle1(e:Event):void {
  e.currentTarget.setStyle(textRollOverColor,0x33CCFF);
 }
]]/mx:Script
mx:Button label=Click Me id=b1 click=changeMyStyle1(event) /
/mx:Application

You mention that you are skinning your app and it doesn't work when
using default buttons. Maybe if you explained a little more about what's
going on...

Matt Horn
Flex docs

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of klumikaze
 Sent: Saturday, June 03, 2006 8:10 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: roll-over-color CSS property
 
 Sorry, meant F2B3... I've checked all through the API docs 
 and the changes from B2 to B3, etc as well.
 
 Thoughts?
 
 Thanks,
 
 Brian
 
 --- In flexcoders@yahoogroups.com, Karl Johnson [EMAIL PROTECTED]
 wrote:
 
  1.5? textRollOverColor is the style.
  
  Make sure to check the API docs whenever you are not sure of what 
  style or property or method to use, very helpful!
  http://livedocs.macromedia.com/flex/15/asdocs_en/index.html
  
  Karl Johnson
  
  
  -Original Message-
  From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] 
  On Behalf Of klumikaze
  Sent: Friday, June 02, 2006 3:21 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] roll-over-color CSS property
  
  Maybe I'm missing something, but I'm skinning my 
 application, and when 
  trying to use default buttons, I can't change the text 
 color on a roll 
  over. I assume it's the roll-over-color property, I've looked for 
  other options but haven't found anything.
  
  Anybody else having issues with this?
  
  Thanks,
  
  Brian
  
  
  
  
  
  
   Yahoo! Groups Sponsor 
  ~-- Protect your PC from spy ware with 
 award winning anti spy technology.
  It's free.
  http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM
  
 ~-
  
  
  --
  Flexcoders Mailing List
  FAQ: 
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives:
  http://www.mail-archive.com/flexcoders%40yahoogroups.com
  Yahoo! Groups Links
 
 
 
 
 
 
 
  Yahoo! Groups Sponsor 
 ~-- Protect your PC from spy ware with 
 award winning anti spy technology. It's free.
 http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM
 --
 --~- 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links
 
 
 
 
 
 
 






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.