I'm changing my project from Flex 3.5 platform to Flex 4.0. I am able to delete all compile time errors with all I am leaving 1000 Alerts and on all styles
I have used all MX components because my project was in Flex 3.5. And I can not change the controls because it will disrupt their look and field. Some of those genres, which I have applied to control, are now disconnected. Please suggest an alternative solution for them in Flex 4.
Properties:
Button -> Color to fill, fillApha
Canvas -> Direct Limits
Combo Box -> Border
Textaria -> Background Color, Background Alpha, ThemeCore, CornerDes
Text Input -> Background Color, Background Alpha, Topic
All these properties are not allowed in MXML components and they are also warning in CSS files. I have also included the namespace at the beginning of the CSS file:
@ namespace "http://www.adobe.com/2006/mxml";
@ Nameshorn MX "Library: //ns.adobe.com/flex/mx";
@namespace fx "Library: //ns.adobe.com/flex/spark";
@ Nameshorn Flexib "http://code.google.com/p/flexlib/";
MX | Checkboxes. Shadowchalk {upIcon: Embed (source = "property /images/CL_collapse_close.png"); Over icon: embed (source = "property / image / CL_collapse_close.png"); Down Icon: Embed (source = "property / image / CL_collapse_close.png"); SelectUpIcon: Embed (source = "property / image / CL_collapse_open.png"); Selected over icon: embed (source = "property / image / CL_collapse_open.png"); Selecteddown icon: Embed (source = "property / image / CL_collapse_open.png"); Padding lift: 0; Padding right: 0; Paddingoptop: 0; Paddingbottom: 0; }
.....
Please guide me how I can get the same UI with Flex 4 in Spark Theme.
Thanks, Nitika
for button and then you can specify them in a CSS file or FX: style tag.
Failure: 0.8, 0.8, 0.65, 0.65; Fill Caller: # B9D6FF, # 99C2FF, #B9D6FF, # 99C2FF; Skin: Class Reference ("mx.skins.halo.ButtonSkin");
Can you change the canvas: the borderline? S: Border Container has the border property that can be set in MXML.
The above suggestions for textArea and TextInput (with the setting of the skin on the halo skin), otherwise you will get a spark skin by default and you will have to create a custom skin.
Comments
Post a Comment