[xray] XRay in Flex?
Muzak
p.ginneberge at telenet.be
Sun Jun 11 07:17:20 EDT 2006
Flex 2 is AS3 only.
You'll have to migrate to AS3.
regards,
Muzak
----- Original Message -----
From: "John Grden" <neoriley at gmail.com>
To: <xray at osflash.org>
Sent: Saturday, June 10, 2006 11:10 PM
Subject: Re: [xray] XRay in Flex?
> Hey Sebastiann, do you know if this would work for Flex2?
>
> Since you're example is compiling as2 code, I'm just wondering if that's
> possible in Flex2? I had htought that you couldn't have both, but maybe i'm
> wrong?
>
> what do you think?
>
> JG
>
> On 11/29/05, Sebastiaan Holtrop <s.holtrop at tfe.nl> wrote:
>>
>> I've got Xray working in Flex 1.5. Here's how:
>>
>> - Dowload the source code.
>> - Copy the sourcecode to the user_classes directory (or any other dir that
>> you've specified as your actionscript-classpath in the flex-config.xml)
>> - Add this to the mx:application tag:
>> initialize="initializeApplication();"
>> - and create an mx:Script block that defines the initializeApplication
>> method; like this:
>>
>> <mx:Script>
>> <![CDATA[
>> import com.blitzagency.xray.Xray;
>>
>> private function initializeApplication():Void {
>> Xray.init();
>> Xray.initConnections();
>> }
>> ]]>
>> </mx:Script>
>>
>> That's it! Don't forget to turn off the 'recursive searchs' since
>> Macromedia's components create a lot of movieclips so your browser and
>> xray keep running.
>>
>> I'm sure an can get it to work as an swc component but i'll need more time
>> for that...
>>
More information about the xray
mailing list