I am trying to implement some state transitions and I need to use an 
EffectTargetFilter.  The problem is that if I define the filter in 
MXML, even if it is the exact code from the help documentation, I 
get a compiler error: "Could not resolve <mx:EffectTargetFilter> to 
a component implementation" (on the lines that define the 
EffectTargetFilter).

The following is the example code from the help documentation (Flex 
2 Developer's Guide > Flex Programming Topics > Using Transitions > 
Filtering effects):

    <mx:transitions>
        <mx:Transition fromState="*" toState="*">
            <mx:Sequence id="t1" targets="{[p1,p2,p3]}">            
                <mx:Blur id="myBlur">
                    <mx:customFilter>
                        <mx:EffectTargetFilter 
filterProperties="['width','x']"/>
                    </mx:customFilter>
                </mx:Blur>
                <mx:Parallel>
                    <mx:Move duration="400"/>
                    <mx:Resize duration="400"/>
                </mx:Parallel>    
                <mx:Blur id="myUnBlur">            
                    <mx:customFilter>
                        <mx:EffectTargetFilter 
filterProperties="['width','x']"/>
                    </mx:customFilter>
                </mx:Blur>
            </mx:Sequence>
        </mx:Transition>
    </mx:transitions>

Has anyone successfully defined an EffectTargetFilter in MXML?

Justin







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to