Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
Shelady #1
Change the color of LinkBar when mouseDown.
Hi,
When inserting a LinkBar, by default when you click on a link, it turns the
background of that item blue. I want it yellow. Which property should I change
to get the appropriate results?
Thanks
She
Shelady Guest
-
How to change the color of the LinkBar background.
Hi, I am using link bar and by default when I click on the links it shows the blue color in the link background. I want to change this blue color to... -
Can't change gradient color
My gradient will only allow me to change colors - defaults to a white to black fill. Everything else in my project is changeable to whatever color I... -
Change colour of another vector sprite on mousedown
Hi folks, Wandered if anyone could shed any light on something please? Im creating a colouring book and it works fine but one thing is puzzling... -
how to change color of <hr noshade> with CSS ??
Hi, how can the color of an <hr> line be changed with CSS? Thank you, thank you, thank you. -
Color Change
hi; quick question: how can i chang the Background Color of the Current Record in a Continuous Form. thanks in advance; -
Greg Lafrance #2
Re: Change the color of LinkBar when mouseDown.
You may need to do something different for individual LinkBars.
<?xml version="1.0"?>
<!-- controls\bar\LBarSimple.mxml -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:LinkBar id="lb" borderStyle="solid"
mouseDown="StyleManager.getStyleDeclaration('LinkB ar').setStyle('backgroundColor
','#ffccee')"
itemClick="navigateToURL(new URLRequest('http://www.adobe.com/' +
String(event.label).toLowerCase()), '_blank');">
<mx:dataProvider>
<mx:String>Flash</mx:String>
<mx:String>Director</mx:String>
<mx:String>Dreamweaver</mx:String>
<mx:String>ColdFusion</mx:String>
</mx:dataProvider>
</mx:LinkBar>
</mx:Application>
Greg Lafrance Guest
-
Shelady #3
Re: Change the color of LinkBar when mouseDown.
I tried this code but it is changing the whole link bar color when I click on
one item. I want when I click on a link, only the background of "that link"
changes from default blue to yellow.
Any idea!!!!!
She
Shelady Guest
-
Greg Lafrance #4
Re: Change the color of LinkBar when mouseDown.
selectionColor seems to do it.
<?xml version="1.0"?>
<!-- controls\bar\LBarSimple.mxml -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:LinkBar id="lb" borderStyle="solid"
selectionColor="#ffccee"
itemClick="navigateToURL(new URLRequest('http://www.adobe.com/' +
String(event.label).toLowerCase()), '_blank');">
<mx:dataProvider>
<mx:String>Flash</mx:String>
<mx:String>Director</mx:String>
<mx:String>Dreamweaver</mx:String>
<mx:String>ColdFusion</mx:String>
</mx:dataProvider>
</mx:LinkBar>
</mx:Application>
Greg Lafrance Guest
-
Shelady #5
Re: Change the color of LinkBar when mouseDown.
Thank you sir. Thank you so much for helping me out.
She
Shelady Guest



Reply With Quote

