[Laszlo-user] Saving a View to PNG and posting it to the server
Henry Minsky
hminsky at laszlosystems.com
Thu May 22 08:20:48 PDT 2008
There are some docs on the adobe site regarding flash 8 bitmap API
http://www.adobe.com/devnet/flash/articles/image_api_05.html
I haven't tried any of these APIs though.
You cannot use "import" in the swf compiler for swf8 in laszlo, you must
fully qualify class names
from the swf API libraries e.g.,
k= new flash.display.BitmapData(100,100, true, 0xffffff)
You can get the movieclip for an LzView by asking for view.getMCRef()
Good luck trying out the BitmapData API! Tell us what you discover!
On Thu, May 22, 2008 at 11:02 AM, Tiago Cardoso <tiago.cardoso at gmail.com>
wrote:
> Hello,
>
> Does anyone know how to create a bitmap of a <View/> (like png) to memory
> and then how to upload it ?
>
> Any help would be great.
>
> Thanks in advance.
> Take care,
>
> Tiago Cardoso
>
--
Henry Minsky
Software Architect
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-user/attachments/20080522/d1663611/attachment.html
More information about the Laszlo-user
mailing list