Hello Henry,
Thanks a lot for your reply, this really helped, now splash works for me. However, I have a problem - if I specify splash to be persistent, it stops being centered after the preload phase is done - i.e. it actually moves from the center to the lower left corner as it was centered on a smaller size canvas. Is it a bug? If so, I will log one to JIRA and will provide some examples.
|
> |
You can do this in a pretty straightforward manner however it is not supported by the system in the sense that you may get unexpected results. We do not really have any API for calling into an external swf. However if you can get a pointer to the movieclip you can call most actionscript commands directly without any special compiler magic. A view is backed by a movieclip, usually you can call view.getMCRef() to get a pointer to it, but that is not a guarantee. YOu would have to look at the LFC runtime library source and use the debugger to verify where the pointer to the clip is stored in your particular usage case. On 2/26/06, Michael Pliskin <[EMAIL PROTECTED]> wrote: Hello all, does anyone know something about this? What I need is to display some fancy flash movie as a splash screen, and I need to update a progress bar there using 'onpercentcreated' event. So I need to call some function defined inside the swf from Laszlo - is there a way to accomplish that? MP> Does anyone know if I can interact somehow with flash movies I use MP> in my Laszlo app as resources? I am particularly interested in MP> invoking the functions there... -- Best regards, Michael mailto:[EMAIL PROTECTED] _______________________________________________ Laszlo-user mailing list http://www.openlaszlo.org/mailman/listinfo/laszlo-user -- Henry Minsky Software Architect |
--
Best regards,
Michael mailto:[EMAIL PROTECTED]
_______________________________________________ Laszlo-user mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-user
