Flash 9 assets need to be converted to SWCs and used as classes instead
of the Embed mechanism.  That should mean that the class should not be
in the source-path for your project.

 

________________________________

From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Firdosh Tangri
Sent: Monday, March 12, 2007 8:58 PM
To: [email protected]
Subject: [flexcomponents] Embedding Flash 9 Assets

 

I am trying to embed a flash 9 movieclip in flex 2 

I create a symbol called StarSymbol

give it this linkage id 

com.halo2.components.star.StarSymbol 

and here is my class in the appropriate directory structure

package com.halo2.components.star{

    import flash.display.MovieClip;
    
    public class StarSymbol extends MovieClip{
        
        public function StarSymbol(){ 
            super();
        }    
    }
}

when I publish i keep getting this error


**Warning** The linkage identifier
'com.halo2.components.star.StarSymbol'
 was already assigned to the symbol 'StarSymbol', and cannot be assigned
to 
 the symbol 'StarSymbol', since linkage identifiers must be unique.



cheers 
firdosh

 

Reply via email to