5 Replies Latest reply on Jul 12, 2010 6:31 AM by dafo_13

    No errors no warnings


      <?xml version="1.0" encoding="utf-8"?>
      <!-- BitmapGraphicExample.mxml -->
      <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
      import flash.display.Bitmap;
      import flash.display.BitmapData;

      public var bmd:BitmapData=new BitmapData(100,100,true,0xFFFFFF);

      private function moveCircle(event:MouseEvent):void
      {var i:uint = 0;

      <s:Button x="171" y="131" label="press" id="but" click="moveCircle(event)"/>

      so first i make this new bitmap of 100x100 size
      then when i click ze button i draw a red line in the middle of it
      ..or do i?


      all i see in the end is just a button which does nothing
      i know im doing somthing wrong.. just dont know what