Using Flex View
PSD layers to Flex with clean and clear code becomes simple. Translate your PSD layers to Flex with advanced support for text, images and shapes.
Flex SDK 4.5+
.Example Image Element
1 | <s:Image source="@Embed(source='../skins/eportkit_example_125/index_button_bg.png')" id="index_button_bg" x="927" y="1316" width="143" height="51" /> |
Example Text Element
1 2 3 4 | <s:RichText fontSize="72" textAlign="left" fontWeight="bold" color="0xFFFFFF" id="page_title" x="98" y="136" width="888" height="188" > <s:content><![CDATA[Toronto’s award winning creative agency]]></s:content> </s:RichText> |
Example Shape Element
1 2 3 4 5 | <s:Rect id="thumbnail" x="132" y="1258" width="165" height="165" > <s:fill> <s:SolidColor id="thumbnail_color" color="0xECECEC" /> </s:fill> </s:Rect> |
Customize the Flex View to include additional information with the PSD layer such as effects, advanced text rendering and more.
Example Layer Effects
1 2 3 4 5 6 7 | <s:RichText fontSize="72" textAlign="left" fontWeight="bold" color="0xFFFFFF" id="page_title" x="98" y="136" width="888" height="188" > <s:content><![CDATA[Toronto’s award winning creative agency]]></s:content> <s:filters> <s:DropShadowFilter distance="5" color="0x000000" angle="30" alpha="0.75" blurX="1" blurY="1" /> </s:filters> </s:RichText> |