Adobe Dreamweaver Forums



Last 10 THreads :         CS4 No Quiz Templates (Last Post : jessediaz - Replies : 4 - Views : 5 )           »          Director Stage when Publishing (Last Post : openspark - Replies : 1 - Views : 2 )           »          Compatible issue with ie6 (Last Post : JoeyD1978 - Replies : 1 - Views : 2 )           »          captions for photos (Last Post : Walt F. Schaefer - Replies : 1 - Views : 2 )           »          Uncatchable Error 2101 (Last Post : M4G1C14N - Replies : 1 - Views : 2 )           »          File Transfer (Last Post : aruvasavi - Replies : 2 - Views : 3 )           »          Objects "Framed" when moving layer (Last Post : VegasMirage@adobeforums.com - Replies : 2 - Views : 3 )           »          Creating images to look like original oil paintings? (Last Post : Ian_Courtney@adobeforums.com - Replies : 0 - Views : 1 )           »          Opening a file in navpane from toolbar (Last Post : ChrisRousset - Replies : 0 - Views : 1 )           »          Help importing PNG sequence (Last Post : []MULISH - Replies : 0 - Views : 1 )           »         


User Info Statistics
Go Back   Adobe Dreamweaver Forums > Macromedia Software > Flex
 
Tags:



Reply
  #1 (permalink)  
Old 11-03-2008, 04:36 AM
invisibleBlade
 
Posts: n/a
Diggs:
Default Multiple skins

Hi all,
I have been using flex for less than a week so apologies if I ask dumb
questions.
I am building an app that has several buttons which need to be styled in two
separate ways. I used the flash cs3 templates to create a swc file of one skin
and imported it and it worked fine, I then duplicated the instance in the Flash
library, set the linkage, edited the graphics and re exported the swc. After
importing the new skins I have set my css to read:
.button01{skin: Embed(skinClass="Button_skin");}
.red{skin: Embed(skinClass="Button_skin_red");}
and set the styleName properties of my buttons to match (button01 and red).
When I publish the project it works but the styles do not show up in design
view which is a real pain.

Is this a bug or have I done this the wrong way?
Does anyone know of any good, in depth tutorials on using multiple skins?

I am using FlexBuilder 3 and Flash CS4

Thanks in advance



Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 04:47 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk