开发者

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

开发者 https://www.devze.com 2023-01-19 14:20 出处:网络
I am using flex 4 and I want to custom the preloader, but I meet error of DownloadProgressBar. The code:

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

精彩评论

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