Hey people! I'm trying to make something stright forward in here with Flex but somehow I'm running itno frustration instead of work. What I'm trying to do is most simple thing:
public class foo extends UIComponent { [Embed("source='assets/ResizeArrow.swf'")] private var pointerSource:Class; } Looks like there no place for any error, but there is. Current lines give me folowing errror: 'source='assets/ResizeArrow.swf'' does not have a recognized extension, and a mimeType was not provided Unable to transcode source='assets/ResizeArrow.swf' In current project there is folder named "assets" and there is file named " ResizeArrow.swf", whats a problem? Could it be that problem is because this class is placed in classPath Build path, not in project root? If so, where is Embed commands root, where does it start to look for files? Since Flex was complaining about lack of mimeType I added one and got most frustrating error message there can be: source='assets/ResizeArrow.swf', mimeType='application/x-shockwave-flash '' does not have a recognized extension, and a mimeType was not provided That is so great! One more question. Many samples in help docs use [Bindable] for Class variable, is that obligatory? Anyways I tried to add that with no luck. Couuld it be that flex gone crazy, or is it just me? Janis