In general, you won't have luck directly using MX components in Flex,
because the frameworks classes that they build on are slightly
incompatible with the Flex versions.  We try to maintain backwards
compatibility between Flex frameworks versions, but fundamentally, Flash
layout is very different than Flex layout, so there are some
unresolvable differences between the core components.  

The component might need to be tweaked, but in any case, you need to
follow the directions for extracting the flex4flash.zip file to set up
Flash to use the Flex frameworks classes.  

However, the error you mention sounds more like either the SWC was not
exported correctly or else it was not placed somewhere in your Flex
libpath (which includes your application's directory).

-Roger

Roger Gonzalez
mailto:[EMAIL PROTECTED]
 

> -----Original Message-----
> From: [email protected] 
> [mailto:[EMAIL PROTECTED] On Behalf Of yhsphil
> Sent: Wednesday, June 08, 2005 12:38 AM
> To: [email protected]
> Subject: [flexcoders] How to use flash swc file in flex
> 
> Today, my boss asked me, why does this swc file doesn't work in flex 
> 
> same file format(swc),and AS2.0 flash component??
> 
> that file is,
> http://www.macromedia.com/devnet/mx/flash/articles/footer_comp
> onent.html
> 
> i can't explain exatly, and also wonder, is it possible to 
> use without 
> modifying flash swc to flex swc(sound silly) 
> 
> he just try
> <?xml version="1.0"?>
> <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"; 
> xmlns="*" >
>       
>       <FooterNav id="fn" />
> 
> </mx:Application>
> 
> it only said
> Don't know how to parse element "*:FooterNav". It is not a known type 
> or a property of mx.core.Application.
> 
> 
> 
> 
> ------------------------ Yahoo! Groups Sponsor 
> --------------------~--> 
> <!-- SpaceID=1705007207 loc=TM noad -->
> 
> --------------------------------------------------------------
> ------~-> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 


 
Yahoo! Groups Links

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

<*> 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