简体   繁体   English

使用actionscript as2预加载外部SWF文件

[英]preloading external swf files with actionscript as2

i'm relatively new with flash, so... 我相对较新,所以...

i've been looking into this for 2 days now, 我已经研究了2天了,
so i hope someone can help me out. 所以我希望有人可以帮助我。

i have several external swf files, each one can 我有几个外部SWF文件,每个可以
call any of them. 给他们打电话。

say i'm in home.swf and i clicked about.swf , i 说我在home.swf中,然后单击about.swf ,我
want to stay in home.swf whilst about.swf is being 希望在about.swf被留在home.swf
loaded so i don't have an empty screen. 加载,所以我没有空白的屏幕。 they are 他们是
both external swf files, hold by a main container. 这两个外部SWF文件均由主容器保存。

my actionscript is in 2.0 and i know it has something 我的动作脚本在2.0中,我知道它有一些东西
to do with "onLoadComplete" before “ onLoadComplete”有关
"loadMovie ("about.swf", "_root.content");" “ loadMovie(” about.swf“,” _root.content“);”
but i just don't know how to write this bit of code. 但是我只是不知道如何编写这段代码。

please please help me!!!! 请请帮助我! i really appreciate your time 我真的很感谢你的时间

If can help you have look to this site, it have a complete tutorial step by step to get the same result of your case. 如果可以帮助您浏览此站点,它会逐步提供完整的教程,以使您获得与案件相同的结果。

Click here to see a full tutorial 单击此处查看完整的教程

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM