1场景的跳转

on (release) {
gotoAndStop("场景",1); 或者gotoAndPlay("场景",1);
}

跳转到"场景"并停止或者播放第一帧

 

2影片的跳转

on (release) {
TellTarget("影片1")

 gotoAndStop(1);或者gotoAndPlay(1);
}

跳转到"影片"并停止或者播放第一帧

注:如在影片2里,而影片1在主场景中,则路径改成"../影片1"

 

3影片的跳转

gotoAndStop(1);或者gotoAndPlay(1);

跳转到影片的第一帧停止或者播放

_root.gotoAndStop(1);或者gotoAndPlay(1);

跳转到主场景影片的第一帧停止或者播放

 

综上,如果想跳到某个场景的某个影片的某一帧上,则

on (release) {
TellTarget("影片1")

 gotoAndStop("场景",1);或者gotoAndPlay("场景",1);
}

 

4外部调用

on (release) {
           loadMovieNum("service.swf", 1);
   }

 外部调用swf

loadVariablesNum("about.txt", 0);
外部调用数据

mySound=new Sound();
mySound.loadSound("music.mp3",true);
外部调用音乐

 

5全屏

 fscommand("fullscreen","true"); 

退出全屏:

 fscommand("fullscreen","false"); 

 

6关闭动画

 fscommand ("quit"); 

 

7其它

关于导出的影片在全屏放大时,背景也随之全屏放大的问题,实际上是把背景图打散(ctrl+B)后,导出的效果

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-23
  • 2021-07-13
  • 2021-10-08
  • 2022-12-23
  • 2021-05-31
猜你喜欢
  • 2022-12-23
  • 2021-12-26
  • 2022-02-10
  • 2022-12-23
  • 2021-07-03
  • 2022-12-23
  • 2021-11-25
相关资源
相似解决方案