Thanks Brian,

Due to the effects framework update in Flex 2.0.1 there are two versions
of the Distortion effects available now. You can download the Flex 2.0.1
compatible version here: 
http://weblogs.macromedia.com/auhlmann/archives/DistortionEffects_Flex_2
_0_1.zip

 
Best,
Alex

         Alex Uhlmann 
Consultant (Rich Internet Applications)
Adobe Consulting
Westpoint, 4 Redheughs Rigg, 
South Gyle, Edinburgh, EH12 9DQ, UK
p: +44 (0) 131 338 6969
m: +44 (0) 7917 428 951
[EMAIL PROTECTED]
http://weblogs.macromedia.com/auhlmann

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of klumikaze
Sent: 05 January 2007 14:10
To: [email protected]
Subject: [flexcoders] Flex Builder 2.0.1 and problem with
DistortionEffects library, here's a fix



The new version of Flex Builder 2.0.1 seems to cause compatibility
issues with Alex 
Uhlmann's DistortionEffects library. 

For anybody having issues with this, I have found a solution. The
problem is on line 51 of 
Flip.as (com.adobe.ac.mxeffects.Flip).

It seems the TweenEffect class, which Flip extends, now uses
IEffectInstance instead of 
EffectInstance. If you change the following function to accept an
IEffectInstance and fix 
your import at the top of Flip.as, you should have a working version
again.

Change this:

override protected function initInstance( instance : EffectInstance ) :
void

To this:

override protected function initInstance( instance : IEffectInstance ) :
void

And this:

import mx.effects.EffectInstance

To this:

import mx.effects.IEffectInstance

Cheers!

Brian



 

Attachment: att25821.gif
Description: att25821.gif

Reply via email to