View Single Post
  #3 (permalink)  
Old 09-20-2007, 05:53 AM
Karpagarajan Karpagarajan is offline
D-Web Analyst
 
Join Date: Mar 2007
Posts: 297
Karpagarajan is on a distinguished road
Thumbs up Re: Adobe Flex Tips & Tricks

Hi All,
Here is the tips to apply the swf skin for your flex applications. First you need to create your skin in the flash. Create symbols in the name of your skin objects.
Then you need to specify those objects name in the style sheet(CSS)
.playBtn {
upSkin: Embed(source="../assets/blueSky.swf", 'playNormal');
overSkin: Embed(source="../assets/blueSky.swf", 'playOver');
downSkin: Embed(source="../assets/blueSky.swf", 'playPressed');
}
Note that the playBtn is the name of the flex application object. Do the same thing for your applications. Then

apply the CSS to your flex application(main mxml file)
<mx:Style source="style/blueSky.css"/>
Now your application skin will be automatically changed.

Hope this will help you to apply the flash swf skinning objects to your flex application

thanks
__________________
Karpagarajan. R
Necessity is the mother of invention
Reply With Quote