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

Philip Romanik promanik at laszlosystems.com
Wed Mar 12 10:28:58 PDT 2008


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