At mx:Tree the folders has a folder icon and a disclosure icon(grey arrow in default style). I can easily set different folder icons with iconFunction. How can I change the disclosure icons? (I want to set different icon to each folders).
Change flex disclosure icon
291 Views Asked by user1552545 At
2
There are 2 best solutions below
0
2zemec
On
Adobe has good example for your question (See "Using the setItemIcon() method" section from link below ) - http://help.adobe.com/en_US/Flex/4.0/UsingSDK/WS2db454920e96a9e51e63e3d11c0bf69084-7d80.html#WS2db454920e96a9e51e63e3d11c0bf66ce9-7fea or short documentation about setItemIcon()
Related Questions in APACHE-FLEX
- How to Run flash applications in any browsers with out adding manual extensions in 2023
- Error: Infra Phase complete, 0/0 resources updated in 02 seconds
- How to replace HTMLLoader to display PDF inside air application
- Air desktop application CSS file and image url
- Flex conditional statement: set VGroup height according to Label Text
- D365 - Azure Devops - Git Repo - How to check the history of a file which is stored in separate folders in the Main branch
- How to access data from row in Grid while selecting it so that further it can be used in Text Field below in Adobe Flex (ActionScript)?
- Actionscript: Access of possibly undefined property id
- Adobe flex in 2021
- How i can add cron entry without time using chef
- Equivalent of parent parentDocument from flex
- Captive runtime packaging issue (Failed to load the AIR Runtime) under Catalina 10.15.7 with ADT
- Getting error while running curl command via chef
- How can I create a context menu on the fly in a textArea in AS3/AIR?
- Flex SDK installer fails to download https://github.com/swfobject/swfobject/archive/2.2.zip
Related Questions in ACTIONSCRIPT
- [Actionscript]How to display the information inside an array of objects
- eval vs Function() return semantics
- create a quiz with actionscript 3
- How do I move Pac-Man smoothly in AS3?
- Issue setting domain memory
- proplem in in using load with enterframe event in flash & actionscript3
- Defer implementation of interface functions to child class
- How do I fix this Else-If error for my platformer?
- Layer Parenting, Make Child Layers Move Along With Parent Layer That's Being Moved by ActionScript 3.0?
- Action Script Trace
- How to return data type "Date" using AMFPHP
- For loop only sets last iteration
- I cant do an image gallery movie clip , my buttons doesnt work
- Scanning nextjs application by Sonarqube fails on github actions
- Assign custom field price as product price to specific user role in WooCommerce more than one
Related Questions in FLEX-MX
- Seemingly inconsistent behaviour when assigning dataProvider to Flex's PopUpMenuButton
- Unable to apply css style to Alert in flex
- Change flex disclosure icon
- Flex reset mx:TitleWindow close button skin
- Error:defalut skin class null :: while adding Spark List to Mx ViewStack
- How to customize flex tree icon programatically
- Is it possible to set specific border side color of GridItem in ActionScript?
- Programmatically create grid in flex
- Is there a way to get Image data when Image is not from the same domain?
- How to Handle Flex grid with selenium web driver?
- FLEX - Disable specific Tree nodes
- Embedded font in mx-AdvancedDataGridItemRenderer not working
- Reset videoDisplay
- How to get clip content to work on mx TabNavigator?
- Flash, actionscript, flex, add mx.controls.* component to flash.display.Sprite
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can set this using the
disclosureClosedIconanddisclosureOpenIconstyles. You can specify aTreeDisclosureClosedand aTreeDisclosureOpensymbol in an assets.swf (Flex 3 skin style).See the mx:Tree documentation for further details.