[xray] other package names then .com
newsl at analogdesign.ch
Wed Jan 18 12:37:52 EST 2006
does this mean that I'm a "a poor bastard" with my .ch (Switzerland)? ;)
By the way thank you for the trick ;)
Cedric Madelaine (aka maddec)
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
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
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:
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the xray