header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
krishna
Points:260
Posts:0

5/12/2010 4:25:30 AM

Title: Image


Hi All,

How to invisible icons dynamically, please help me ?

I have created a link tab dyanamically on the click of a linking tab, the dyanamicalyy created Link tab has an icon, now when try to diable this dyanamic link tab, it get disabled but the icon is still visible :-(
Can you plean help me to make the visibility of the icaon false



1
Michael
Points: 250
Posts:0
5/12/2010 5:26:28 AM



use style sheet for linkbar and set the property of icons. various styles of icons for a component using following styles in css:
up-icon
over-icon
down-icon
icon
disabled-icon
selected-down-icon
selected-up-icon
selected-over-icon
For your requirement you can set a transparent icon for disabled-icon style. This will make icon disappear when disabled.

.linkTabStyle{

	disabled-icon: Embed(source='myIcons.swf', symbol='transParentIcon');
}


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 3+1 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions