In the debugger enter

Debug.showInternalProperties = true

then you will see the internals of objects.  You can click on any  
object printed in blue to inspect it.

On 2006-05-08, at 16:03 EDT, DL wrote:

> On 29 Apr 2006 at 11:36, P T Withington wrote:
>
>> Here's the output from a debugger session
>> exploring flash.external.ExternalInterface.addCallback:
>>
>> lzx> flash
>> «Object#130| {external: [object Object], net: [object Object], geom:
>> [object Object], filters: [object Object], display: [object Object],
>> text: [object Object]}»
>> lzx> Debug.inspect(«Object#130| {external: [object Object], ...»)
>> {external: [object Object], net: [object Object], geom: [object
>> Object], filters: [object Object], display: [object Object], text:
>> [object Object]} {
> ______________________________________________
>
> In general ExternalInterface is now working, apart from a few  
> quirks below.
> How do I explore API .. in debugger session as you did above?
>
> I have this test lzapp (compiled Flash 8) ..
>
> ____________________
>
> <canvas width="400" height="400" proxied="false" debug="true">
> <script>
> flash.external.ExternalInterface.addCallback("testing", null,   
> function () {
> Debug.write("Hello");
> Debug.inspect(canvas);
> });
>
> LzBrowser.loadJS('document.getElementById("lzapp").testing()');
>
> </script>
> </canvas>
> ____________________
>
> but I see no reference to flash.external.ExternalInterface.addCallback
> to inspect API functions in debugger.
>
> ...
>
> There is another demo zip posted here .. calling internal function  
> from HTML wrapper.
>
> http://www.laszlosystems.com/developers/community/forums/ 
> showthread.php?s=d2b5ed22f644d7d72b3c24461534f528&threadid=6138
>
> Note: .. If I run this demo .. testextint.zip .. then in debugger  
> type in
> Debug.inspect(canvas) to eval .. the passing of script from HTML  
> link then stops
> working.   "undefined"
>
> DL
>


_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to