Hello flexoders :) I created an "MyMC" MovieClip with timeline inside an .FLA, and exported it in SWC with class name "MyMC".
Then I include it in my CSS file : .myMC { skin : ClassReference( "MyMC" ); } I compile CSS into SFW using ANT and <library-path> to include the .SWC file. Okay, now I have my flash MovieClip compiled into my runtime CSS file. The problem is I don't now how to use that asset inside my Flex project and be able to access its timeline. I tried many things such as <mx:UIComponent styleName="myMC" /> or <flash:UIMovieClip styleName="myMC" /> without success. I know my skin works because if I put in CSS Button{skin : ClassReference( "MyMC" );} all buttons are skinned using my custom MovieClip. If I provide the library path to the compiler, I can use my MovieClip like this : <local:MyMC /> but I need to include it into skin file, because this component need to be different for each skin. Am I doing something wrong here ? Any help is appreciated :)