doh - thats the function that I use before I try and draw an object - same point tho
On Fri, Feb 29, 2008 at 1:05 AM, Jason Van Cleave <[EMAIL PROTECTED]> wrote: > 1. check out describetype > > http://livedocs.adobe.com/flex/201/langref/flash/utils/package.html#describeType()<http://livedocs.adobe.com/flex/201/langref/flash/utils/package.html#describeType%28%29> > > 3. check for a width and height property of the bitmapdata to be greater > than 0 before using it > > Heres a function i use but i also check if its too big to display > > private function isValid(disp:DisplayObject):Boolean > { > var isValid:Boolean=false; > if(disp.width>0 && disp.width<2880 && disp.height>0 && > disp.height<2880) > { > isValid=true; > } > trace(this, "isValid", isValid); > return isValid; > > } > > > > On Thu, Feb 28, 2008 at 1:00 PM, Stuart (FunkDaWeb) <[EMAIL PROTECTED]> > wrote: > > > 1 - In AS3 is it possible to add a class to a dynamically loaded image? > > (like right clicking and viewing properties if it was in the library) If so > > can anyone point me to an example of how to go about it? > > > > 2 - Is there a simple way to convert text to a shape (break apart) using > > actionscript? (not using double break apart in flash) > > > > 3 - Does anyone have an idea how to fix this error... ArgumentError: > > Error #2015: Invalid BitmapData. > > > > Yours > > Stuart Moir > > _______________________________________________ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders