Apply MXML skinClass at Runtime to Application Container in Flash Builder 4.6
Applying MXML skinclass at runtime increases your application attractiveness in the great way. In this tutorial I’m three files Gradient.mxml, VerticalSkin.mxml and EllipseSkin.mxml.
Before Login
After Login
Step 1: To create new application New ->Flex project.
Step 2: Then create skin class to the main application by right click on main application name then New -> MXML Skin.
Now i’m applying skinclasses to the application container using skinClass property like skinClass=”ElipseSkin”. To apply skinclass at runtime i’m using action script code with script block in mxml application like one in the below code.
this.setStyle(‘skinClass’, Class(VerticalSkin));
Here is the application and two skin class code.
Gradient.mxml application code here
VerticalSkin.mxml skinClass code is here
Ellipse.mxml skinClass code is here
Download Premium Only Scripts & 80+ Demo scripts Instantly at just 1.95 USD per month + 10% discount to all Exclusive Scripts
If you want any of my script need to be customized according to your business requirement,
Please feel free to contact me [at] muni2explore[at]gmail.com
Note: But it will be charged based on your customization requirement