[Laszlo-dev] attribute 'type' on LzDataset in swf9

P T Withington ptw at openlaszlo.org
Wed Mar 12 12:22:46 PDT 2008


Yeah, sound like you just need to had the var declaration to me.

On 2008-03-12, at 13:28 EDT, Philip Romanik wrote:

> Hi Tucker,
>
> There is no setter for 'type' in LzDataset. Without it, swf9 gives a  
> runtime error when it is specified, ie:
>
>  <dataset name="myData" type="http" src="data.xml"/>
>
> The error generated is:
>
> ReferenceError: Error #1056: Cannot create property type  
> on .LzDataset.
>
> This comes from LzNode.__LZapplyArgs -> LzNode.addProperty
>
> This error goes away by adding a setter. It also went away if I just  
> added,
>
> 	var type = null;
>
> to LzDataset.
>
>
> Thanks!
>
> Phil
>



More information about the Laszlo-dev mailing list