FlexTips: How to add Bitmap to UIComponent
July 29th, 2007 at 04:12pm Administrator
If you're new here, you may want to subscribe to my RSS feed. If you like my site, consider linking back. I prefer text "Free Flash Tutorials" to http://www.franto.com
Thanks for visiting my site! If you need anything just contacting through Contact page
I didn’t know it, but here is solution. Best UIComponent for Bitmap is mx:Image
(no surprise), You can just write:
<mx :Image creationComplete=”(event.currentTarget as Image).source = new Bitmap( bitmapData)”/>
So for mx:Image except source=”path” you can add reference to Bitmap as well.
Enjoy
»Related posts:
- Bitmap handling in Maelstrom
- Adobe Image Foundation Toolkit Technology Preview
- FlexTips - mx:Text vs. mx:TextArea
- FlexTips - XMLSocket connect() after disconnect from server
- FlexTips - Stop displaying Focus
- Merge 2 transparent BitmapDatas
- FlexTips: Problem with masks and scalable Flash
- Flash 8 - image antialiasing problem
- AirPress = AIR + Wordpress
- FlexTips
- Flex sites
- Flex collections
- Favourite links
- Maelstrom BlenMode still working
- New RIA aggregator - Planet RIA
- FlexTips: Tween in AS3.0 project
- AsDoc with Flex Library Project
- Who steals your Flash movies?
- AS3: Parsing .3ds file 2 - Rotating cubes
- Pownce invitations







