开发者

actionscript: DownloadProgressBar and Flex 4 can't find resource bundle

I am using flex 4 and I want to custom the preloader, but I meet error of DownloadProgressBar. The code:

    public class MyPreLoader extends DownloadProgressBar
{
    var progress:ProgressBar = new ProgressBar();

Or substitude ProgressBar to Label will produce the same error:

Error: Could not f开发者_Python百科ind compiled resource bundle 'collections' for locale 'en_US'.

Anyone has implemented the custom preloader? I am almost missing here.


Resolved by adding:

[ResourceBundle("")] tag in the source!

Hope this can help others.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜