[xray] Minimal connector-only code

Darren Cook darren at dcook.org
Mon Feb 6 04:13:31 EST 2006


> Here is a modified XrayConnect class that I tinkered with for use with the
> external connector. It's a singleton called by using the getInstance()

Thanks! It worked first time :-).

> method from anywhere in your application. The method needs to be passed a
> movie clip reference to load the connector in. 

I passed in "_root". Is that the best option normally?

> Looking at it again, it's probably the wrong place for the connector name,
> if that can be changed. It might be better to just give the connector a
> generic name ("XrayConnector.swf" perhaps?) ...

I think that is a good idea and I made that change, renaming the
connector swf to match.

Darren



More information about the xray mailing list