FlexTips: How to add Bitmap to UIComponent

Sunday, July 29th, 2007
FlexTips: How to add Bitmap to UIComponent

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

AddThis Feed Button

This is some text prior to the author information. You can change this text from the admin section of WP-Gravatar  I'm living in Bratislava, Slovakia. I'm Senior Flex, AIR Developer for my own company Flexets. Read more from this author


tagged under: .

ABOUT THIS AUTHOR

I'm living in Bratislava, Slovakia. I'm Senior Flex, AIR Developer for my own company Flexets.

Get a Trackback link

No Comments Yet

You can be the first to comment!

Live Preview

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="">

This site is using OpenAvatar based on
Images is enhanced with WordPress Lightbox JS by Zeo
Clicky Web Analytics