FXG and flex sdk
问题 I have flex sdk 4.6 installed and I want to compile AS3 class that uses FXG file for simple graphics. I have and fxg file called Speaker.fxg and I tried to import it like a package import Speaker; But when compiling it returns Error: null Also tried this [Embed(source='Speaker.fxg')] private var Speaker:Class; private var sp:Sprite = new Speaker(); and this [Embed(source='Speaker.fxg')] private var Speaker:Class; private var sp:Speaker = new Speaker(); and keep getting this error Error: no