[xray] Minimal connector-only code

Karina Steffens karina at neo-archaic.net
Mon Feb 6 06:08:55 EST 2006


> Thanks! It worked first time :-).

Excellent! :)

> 
> > 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?

Yes, _root is as good a place as any to load the connector, I think.
Anywhere where you can create a new movie clip would work just as well.

> 
> > 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.

I think it makes sense to do so, especially if you're using this with
multiple projects. The original connector can keep it's own name and
versioning, and copies inside projects can be given the generic name. 
Any objections to this from John & Allen?

Karina




More information about the xray mailing list