Oh, just change that call to

new lz.dummy(canvas)

LZX class names which are defined by <class>  are no longer put into
the global namespace, they are put as properties onto the "lz"
object now.



On Tue, Jun 24, 2008 at 1:36 AM, ono keiji <[EMAIL PROTECTED]> wrote:
> oops, i forgot my attaches.
>
> ono
>
>
> ono keiji さんは書きました:
>>
>> Attachment files works fine on v3.4.0 and v4.0.12, but they dose not work
>> on current that i have built from trunk.
>> The debug message is "ERROR @imptest.lzx#13: call to undefined function
>> 'dummy' ".
>> I guess the <import> tag dose not work correctly.
>> Are there anyone recognized it ?
>> If there are not anyone, i will file it to jira.
>>
>> ono
>>
>>
>>
>
>
> --
> ------------------------------------------
> (株)ネットエイト
> 小野圭二
> [EMAIL PROTECTED]
> 東京都江戸川区瑞江1-45-11
> TEL 03(3676)6599
> URL http://www.net8.co.jp
> ------------------------------------------
>
> <library>
>    <class name="dummy" extends="view">
>        <view x="100" y="100" width="100" height="100" bgcolor="green"/>
>    </class>
> </library>
> <canvas proxied="false" debug="true">
>        <import name="lib_test" href="dummy.lzx" stage="defer"/>
>
>        <button text="Load Library">
>                <handler name="onclick">
>                        var myDel = new LzDelegate(this, "doLibLoaded",
> lib_test, "onload");
>                        lib_test.load();
>                        Debug.write("Loading library...");
>                </handler>
>
>                <method name="doLibLoaded">
>                        Debug.write("Library loaded!");
>                        new dummy(canvas);
>                </method>
>        </button>
> </canvas>
>



-- 
Henry Minsky
Software Architect
[EMAIL PROTECTED]

Reply via email to