[xray] Minimal connector-only code

John Grden neoriley at gmail.com
Thu Mar 16 10:09:18 EST 2006


ah excellent Darren!

I'll make the changes to the master and update.

Also, yeah, you don't need that FlashOut.as file or the import - that will
be pulled as well.

Thanks again Darren!

J

On 3/15/06, Darren Cook <darren at dcook.org> wrote:
>
> > But my question would be, why use it instead of XrayLoader?  The only
> > savings typing-wise is 1 argument, but you've now got extra kb added to
> your
> > file:
> >
> > import com.blitzagency.xray.util.XrayLoader;
> > XrayLoader.loadConnector("xray.swf", _level0, true);
>
> This didn't work for me before, but I just tried it now and it works, so
> it must have been something else I was doing wrong before.
>
> And in that case this is fine - I have no particular need for a
> singleton (at least at the moment).
>
>
> Whenever I use this (or the XrayConnect alternative) I get a warning:
> ...xray/util/XrayLoader.as:26: characters 0-6 : Warning import not used
>
> If I comment out line 26: "import com.blitzagency.xray.util.Flashout;"
> then everything still seems to work. Is that line required?
>
> Also I'd like to use mtasc -strict. It has been complaining about line
> 186 of XrayLoader.as:
>     private static function onLoadProgress(target_mc,
>         loadedBytes, totalBytes)
>
> Changing that to:
>     private static function onLoadProgress(target_mc:MovieClip,
>         loadedBytes:Number, totalBytes:Number)
>
> was the only fix needed, and now -strict works fine!
>
> Darren
>
> _______________________________________________
> xray mailing list
> xray at osflash.org
> http://osflash.org/mailman/listinfo/xray_osflash.org
>



--
John Grden - Blitz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/xray_osflash.org/attachments/20060316/9d134267/attachment.htm


More information about the xray mailing list