[Laszlo-user] unload resource
André Bargull
a.bargull at intensis.de
Fri Sep 7 12:42:24 PDT 2007
It does work for me with the nightly builds, tested SWF7/8 and DHTML in
FF2.
On what configuration (OpenLaszlo-Version, Runtime-Target, Browser) does
it fail for you?
There was an issue with unload in DHTML, but this is now fixed, see
"http://www.openlaszlo.org/jira/browse/LPP-4261".
André
> LzView.unload() does not work. Try the code below:
>
>
> <canvas debug="true">
>
> <dataset name="ds">
>
> <image src="cd_cover.jpg"/>
>
> </dataset>
>
> <simplelayout/>
>
> <view name="v" datapath="ds:/image/@src">
>
> <method name="applyData" args="d">
>
> this.setSource(d);
>
> </method>
>
> </view>
>
> <button>OK
>
> <method event="onclick">
>
> parent.v.unload();
>
> </method>
>
> </button>
>
> </canvas>
>
>
>
> taocore
--
Official OpenLaszlo-Committer ^_^
More information about the Laszlo-user
mailing list