If you're using the SWC, then just create a new Xray object

var xray:Xray = new Xray();

If you're using Flex2:

var xray:Flex2Xray = new Flex2Xray();

Check this wiki page for more basic details and let me know if this helps.

This is a very alpha version of the inspector classes, but it does work
basically.

http://code.google.com/p/osflash-xray/wiki/Flex2_SWC_notes

On 8/1/07, Rostislav Siryk <[EMAIL PROTECTED]> wrote:
>
> > Is it possible to use Xray with a AS3 project in Flex Builder 2? This
> > is a non-flex project. I was trying to get it to work using the
> > Xray-Flex2 swc, but am getting strange errors and am not sure if it is
> > Xray, or my code.
>
> What kind of errors do you get exactly? There's collision possible
> with older classes from com.blitzagency.* package which you could
> install with, for example papervision3d.
>
> SWC contains these classes too, so this might be the possible cause of
> errors.
>
> BTW, what you mean under the "non-flex project"?
>
>
> ----
> Rost
>
> _______________________________________________
> osflash mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>



-- 
[  JPG  ]
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to