File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ package appManager.animatedPages
22{//appManager.animatedPages.Intro
33 import flash.display.MovieClip ;
44 import flash.events.Event ;
5+ import stageManager.StageManager ;
6+ import contents.alert.Alert ;
57
68 [Event (name="imFinished" , type="flash.events.Event" )]
79 public class Intro extends MovieClip
@@ -13,12 +15,22 @@ package appManager.animatedPages
1315 stop ();
1416
1517 this . addFrameScript(this . totalFrames - 1 ,introIsOver);
18+ this . addFrameScript(Math . ceil ((this . totalFrames / 3 )* 2 ),controlStage);
1619 }
1720
18- private function introIsOver ()
21+ private function introIsOver (): void
1922 {
2023 this . stop ();
2124 this . dispatchEvent (new Event (EVENT_FINISHED ));
25+ controlStage();
26+ }
27+
28+ private function controlStage ():void
29+ {
30+ if (StageManager. isSatUp())
31+ {
32+ StageManager. controllStageSizes(null ,false ,true );
33+ }
2234 }
2335 }
2436}
You can’t perform that action at this time.
0 commit comments