[xray] other package names then .com
analogdesign
newsl at analogdesign.ch
Wed Jan 18 12:37:52 EST 2006
Hi there,
does this mean that I'm a "a poor bastard" with my .ch (Switzerland)? ;)
By the way thank you for the trick ;)
Best regards.
Cedric Madelaine (aka maddec)
analogdesign.ch
_____
De : xray-bounces at osflash.org [mailto:xray-bounces at osflash.org] De la part
de Allen, Christopher S.
Envoyé : mercredi, 18. janvier 2006 18:17
À : xray at osflash.org
Objet : [xray] other package names then .com
Hi everyone,
Today I was perplexed as to why my classes werent showing up with their
names in Xray. I had seen it work with other projects of mine, so I asked
John WTF is going on here? Well it turns out that I work for an educational
institution and my package structure here at work is edu.harvard.mgh.lcs,
and the edu extension is not setup by default for Xray to load classes in
that package.
So, basically if you are a poor bastard that works for a non profit, or edu,
or .net, or live in another country with a different extension, or whatever
else, you should add your package to the connector component in your
library. Simply select the little connector component on the stage and in
your properties inspector set the Class Packages parameters in the
Parameters tab. Of course this is if you have access to the Flash IDE and
arent using the connector only package.
I you are using the connector only package you can set the new packages with
code like this:
import com.blitzagency.xray.Xray;
Xray.addPackages("com", "edu", "net", "mx", "flash", "org");
I hope this helps those of you that havent been getting your intrinsic
class information correctly with Xray. John mentioned that he will be
adding .edu, .org, and .net to a future version soon.
-Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/xray_osflash.org/attachments/20060118/6ce2a6ea/attachment.htm
More information about the xray
mailing list