[Laszlo-dev] supporting smooth "rollover" effects with runtime-loaded images (swf)
Henry Minsky
henry.minsky at gmail.com
Fri Jul 6 23:31:52 PDT 2007
My problem is that I have the individual frames all in different swf files
at the moment.
The compiler does a nice job of turning them into multiframe resources, but
what I need is for it to write those out as individual files, because I
can't afford the space to put them all into the app at compile time.
Hmm, so maybe
I should add an option to the command line compiler to compile the
multiframe resource declarations in a lzx file and then write them back out
to the filesystem. Or else maybe the swftools swfcombine utility will do the
right thing, need to look at that...
On 7/7/07, Max Carlson <max at openlaszlo.org> wrote:
>
> This is what multiframe resources are for.
>
> -----Original Message-----
> From: "Henry Minsky" <henry.minsky at gmail.com>
> To: "Max Carlson" <max at openlaszlo.org>; "OpenLaszlo development and bug
> reporting" <laszlo-dev at openlaszlo.org>
> Sent: 7/6/07 10:03 PM
> Subject: supporting smooth "rollover" effects with runtime-loaded images
> (swf)
>
> So I'm confused, in a SWF app, how do I get a smooth "rollover" effect
> when
> I move the mouse over a view
> which has runtime-loaded images? If I call setSource to change the image,
> I
> get a big blink (plus problems with spurious
> mouse events). Should I be having individual views for each image, and
> toggling their visibility?
>
>
>
> --
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com
>
>
--
Henry Minsky
Software Architect
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20070706/dac6cd93/attachment.html
More information about the Laszlo-dev
mailing list