flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cyrill Zadra <cyrill.za...@gmail.com>
Subject Re: Getting Mustella to work.
Date Sun, 26 Aug 2012 11:43:04 GMT

There is a pseudo selector test on mx:Button with custom states
"tests\Managers\StyleManager\AdvancedCSS\pseudoSelectors" and it looks for
me there's a bug in the sdk. If somebody can confirm that ..

The same test for spark button works seamless.


<?xml version="1.0"?>
<!-- styles/PseudoSelectorExample.mxml -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
@namespace mx "library://ns.adobe.com/flex/mx";
 mx|Button:SubmitState {
cornerRadius: 15;
<comp:TestMxButton id="button" label="Click Me 2" x="10" y="65" />

<?xml version="1.0" encoding="utf-8"?>
<!--  comp/TestMxButton.mxml -->
<mx:Button  xmlns:mx="http://www.adobe.com/2006/mxml"
width="120" height="50" currentState="SubmitState">
<mx:State name="SubmitState" >
<mx:SetProperty target="{this}" name="label" value="submit" />
<mx:State name="ClearState" >
<mx:SetProperty target="{this}" name="label" value="clear" />

I'll continue with "tests\Managers\StyleManager\AdvancedCSS\classSelectors"


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message