Mitch,
This just goes to show that _lockroot is evil . I take it
you have
no control over the SWF that you are loading in, and that's
why you
HAVE to use _lockroot. If this isn't the case, perhaps you
should
remove any references to _root that the loaded SWF is using
and thus
eliminate the need to use _lockroot.
Anyway, my guess is that _lockroot causes some issues with
cross-scripting access, thus blocking Xray from gaining
access to the
loaded SWF. Not sure of this though. John, any other ideas?
I'm sure it would be helpful for us if you could send a
simple zipped
example recreating this problem.
-Chris
On 3/6/07, Mitch Coopet <mitch code42.com> wrote:
> Hi,
>
> First off great tool. Its very helpful and even more
appreciated
> given the diminishing number of development tools for
the AS2 world.
>
> Now the fun part - I have an AS2 project and have been
using XRAY
> extensively for my runtime debugging tool. I recently
had to take a
> dynamically loaded swf and set its _lockroot=true to
get it to behave
> correctly.
>
> XRAY was able to inspect the dynamically loaded swf
just fine when
> its _lockroot wasn't set. The moment I set
_lockroot=true, XRAY no
> longer let me browse its child movieclips in the
explorer tree. When
> I click the movieclip reference in the explorer tree
and click 'go'
> it simply doesn't show any children. The interesting
thing is that
> it does show the attributes in the property inspector
pane.
>
> In the screenshot below, the I have selected 'libapp'
which is the
> container movieclip for the dynamically loaded swf.
>
> If _lockroot isn't set, then this item expands just
fine. If
> _lockroot is set, it does exactly what you see below -
no expansion
> and no child elements. Again, you can see in the
property inspector
> that the details are actually available.
>
>
>
> Thanks for working on this tool and I was also
wondering if there is
> anyway breakpoint concepts can be introduced in a
future version of
> Xray?
>
> - Mitch
>
> /**
> * Mitch Coopet
> * codefortytwo software
> *
> * 12 South 6th St, #1242
> * Minneapolis, MN 55402
> * Office: 612.333.4242
> * Fax: 612.605.8557
> * AIM: mcoopet
> * www.code42.com
> */
>
>
>
>
>
> _______________________________________________
> xray mailing list
> xray osflash.org
>
http://osflash.org/mailman/listinfo/xray_osflash.org
>
>
>
_______________________________________________
xray mailing list
xray osflash.org
http://osflash.org/mailman/listinfo/xray_osflash.org
|