我想在我的 Flash SWF 文件中将http://www.flash-mx.com/images/image1.jpg图像显示为缩略图框。为此,我在我的 Flash 电影中使用了一个 Loader 控件,并将其命名为my_thumb
,然后将代码编写为:
_parent.my_thumb.contentPath = "http://www.flash-mx.com/images/image1.jpg";
但是在我的闪存代码中添加上述行后,我收到以下错误。
---------------------------
Flash Player
---------------------------
A script in this movie is causing Flash Player to run slowly.
If it continues to run, your computer may become unresponsive.
Do you want to abort the script?
---------------------------
Yes No
---------------------------
如果我从我的代码中删除上面的行,那么它工作正常,没有问题。
我无法弄清楚为什么会发生这种情况。我是 Flash 的初学者,对这类错误不太了解。
请检查!
谢谢