Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package {
- import flash.display.MovieClip;
- import flash.display.Stage;
- import flash.events.Event;
- public class Gallery9 extends MovieClip {
- private var _imageCarousel: ImageCarousel;
- public static var STAGE:Stage;
- //------------------------------
- public function Gallery9() {
- this.addEventListener(Event.ADDED_TO_STAGE, onAdd);
- STAGE=this.stage;
- _imageCarousel=new ImageCarousel();
- addChild(_imageCarousel);
- }
- //------------------------------
- private function onAdd(e: Event):void {
- x=0;
- y=0;
- width=STAGE.width;
- height=STAGE.height;
- //STAGE=this.stage;
- //_imageCarousel=new ImageCarousel();
- //addChild(_imageCarousel);
- //_imageCarousel.start();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement