Re: [silvafug] New in Flex
- View SourceWelcome, Jimmy. Nice to have you on board.
On Mon, Jun 30, 2008 at 12:11 PM, Jimmy Hu <tchu1979@...> wrote:
> Hi All,
> I am a JS, ajax & java developer currently. Flex is awesome.
> ActionScript 3 is well designed even though it still has some
> performance issues. I have started learning this since early this
> year. I would like to see how you guys doing and also share my
> experience of learning it.
- View Source
I am writing a custom component that overlays points on a map. I am trying to use the flash.display.Bitmap class to do this, but am not able to see it in my flex 3 app when I run. I am fairly new to Flex and AS3, so I could be doing something stupid
Here’s my AS3 –
public class Overlay extends Sprite
private var bmData:BitmapData;
private var bm:Bitmap;
public function Overlay()
Thanks in advance,
- View SourceHey Mike...a) your instance of the class Overlay must be added last to the display list in order for it to be at the top (think highest z index).b) are you sure you want to use bitmaps for this? Might want to try using shapes instead.On Jul 1, 2008, at 6:58 PM, Mike Eynon wrote: