I ran into this error when I was trying to embed an swf into one of my classes like this:
[Embed(source='assets/aaa.swf',symbol='bbb')]
private var bbb:Class;
It gave no error in Flex Builder, but when I was about to build the application using standalone compiler and deploy to production, an error was thrown out:
unable to resolve 'assets/aaa.swf' for transcoding
The solution was easy: just to append a '/' in front of assets like this:
[Embed(source='/assets/aaa.swf',symbol='bbb')]
private var bbb:Class;
Damn unbelievable. I was wondering why the compiler in FB didn't complain in the first place.
分享到:
相关推荐
This book explores the important concepts in software testing and their implementation in Python 3 and shows you how to automate, organize, and execute unit tests for this language. This knowledge is ...
With this pragmatic book, administrators can review various tasks that often occur in the management of these systems, and learn how Python can provide a more efficient and less painful way to handle...
It is written with Closure Library, enabling you to build browser-independent applications without painful debugging ceremonies, which even have some limited fallback options for older browsers. ...
As management demands more from technology, complexity in infrastructure seems to grow exponentially, leaving many unable to keep up with the demands of such a fast-paced world. These ...
system from another is an architecture tailored to efficiently execute the tasks for which it was de- signed. A desktop computer and an automobile’s engine controller have markedly different ...
With this pragmatic book, administrators can review various tasks that often occur in the management of these systems, and learn how Python can provide a more efficient and less painful way to handle...
including improving the quality of bank capital through higher Core Tier I ratios, monitoring leverage as a proxy for asset bubbles, and creating better macro-prudential regulation to reduce systemic...
When your app needs user to pick one or more images from their device, it is still quite painful in Android. Without any customization, you first need to ask user whether he/she wants to take a ...
In a few years, it’s expected to be found in millions of cell phones and other mobile devices, making Android a major platform for application developers. Whether you’re a hobbyist or a ...
Development should be a creative and enjoyable experience, not something that is painful, and Laravel makes it enjoyable for the users. Laravel's directory structure is designed to be familiar to ...
The practicalities of these frameworks is often acquired by practitioners by reading source code, manuals, and posting questions on community forums, which tends to be a slow and a painful process....
The practicalities of these frameworks is often acquired by practitioners by reading source code, manuals, and posting questions on community forums, which tends to be a slow and a painful process....
It is going to be slow and painful economic recovery. Nothing is wrong with tax increases for the rich and cutting unnecessary government and public spending. In a time of crisis, the very rich ...
But although explicit typing is good for saving us from mistakes, it becomes painful when dealing with JSON and other areas that are, by nature, implicit about types. Take the Twitter API for ...