> > > I don't have the method list of BitmapData.
from: http://script.com.ua/dev/materials.php?id=11
[...]
flash.display = {};
flash.display.BitmapData = ASconstructor(1100, 0);
var o = flash.display.BitmapData;
o.Channel = {};
o.Channel.RED = 1;
o.Channel.GREEN = 2;
o.Channel.BLUE = 4;
o.Channel.ALPHA = 8;
ASSetNative(o, 1100, "8loadBitmap", 40);
var o = flash.display.BitmapData.prototype;
ASSetNativeAccessor(o, 1100, "8width,8height,8rectangle,8transparent", 100);
ASSetNative(o, 1100,
"8getPixel,8setPixel,8fillRect,8copyPixels,8applyFilter,8scroll,8threshold,8draw,8pixelDissolve,8getPixel32,8setPixel32,8floodFill,8getColorBoundsRect,8perlinNoise,8colorTransform,8hitTest,8paletteMap,8merge,8noise,8copyChannel,8clone,8dispose,8generateFilterRect",
1);
[...]
hth,
mark
On 7/16/05, Nicolas Cannasse <[EMAIL PROTECTED]> wrote:
> > > I don't have the method list of BitmapData.
> > > If you have them, you can edit the file
> > > mtasc/std/flash/display/BitmapData.as
> > > Please write a tutorial explaining how to use it on Flash8 page on
> OSFlash
> > > website and send the changes you made to this class so I can update
> MTASC
> > > CVS.
> > >
> > > Nicolas
> >
> > Now I got it working. Just added the methods setPixel32(), setPixel() and
> > getPixel() to the intrinsic class. I made the mistake before to declare
> the
> > setPixel32 method as static.
> > But I have no clue what else could be in that class.
> >
> > -sascha
>
> getPixel32 maybe ? :)
>
> They don't show using for...in and ASSetPropFlags is not working is it ?
> What about the constructor ? Could you document how to use this class
> correcly ?
>
> Thanks,
> Nicolas
>
>
> _______________________________________________
> osflash mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
--
http://snafoo.org/
jabber: [EMAIL PROTECTED]
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org