Re: [Flashcoders] (From a PDF?) Getting bitmap data successfully

2010-12-02 Thread wdb
You should be able to use ImageMagick to get the image.
See:
http://bytes.com/topic/php/answers/867585-convert-pdf-image-imagemagick-ghostscript
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] flash for Android: resources?

2010-04-22 Thread wdb
On Thu, 22 Apr 2010 16:46:37 -0400, Matt S. mattsp...@gmail.com wrote:
 I'm guessing some of y'all have already dove into the world of
 developing Flash for Android, I'm wondering if there are
 sites/books/resources you can recommend to get started?

Don't you mean the upcoming iPhone support in Flash CS5? I don't think
Flash for Android is available, right??
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Re: is it ever ideal to NOT use weak references?

2010-02-07 Thread wdb
Yes, I am doing the same because the trouble weak event listeners can
cause.

 function loadImage():void
 {
  var loader:URLLoader = new URLLoader();
  loader.addEventListener(Event.COMPLETE, onComplete, false, 0,
true);
  loader.load(new URLRequest(url));
 }
 function onComplete(event:Event):void
 {
  trace(event);
 }
 
 Guess what never fires?  If you guessed onComplete, you win the prize.
 
 Now imagine that it defaulted to true and you wrote the same thing
leaving
 off 
 the false, 0, true.  You would have no idea why it didn't work.
 
 It didn't work because the loader was cleaned up by GC as soon as the 
 loadImage() function reached the end.
 
 Generally, I only use weak listeners with Timers and enter frame
 listeners. 
 Everything else I use strong listeners and write a remove listener for
 them when 
 they're expected to unload or be garbage collected at some point.
 ___
 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