Hiya, I can't understand why the dimensions I've set in my app class aren't being implemented. If someone could have a look at my code and show me the error of my ways I'd be very happy :)
Cheers,
Ali

/////////////

package {
        import flash.events.*;
        import flash.display.Sprite;
        import flash.display.Shape;
        import flash.events.Event;
        import flash.net.URLLoader;
        import flash.net.URLRequest;
        import flash.events.IOErrorEvent;
        import com.adobe.serialization.json.JSON;
        import flash.display.StageScaleMode;
[SWF( backgroundColor='0xE3FF12', frameRate='30', width='100', height='100')]

public class MyApp extends Sprite {

                private var loader:URLLoader;
                private var request:URLRequest;
                private var objCount:Number;
        public function MyApp()
        {
                super();
trace("- - - stagewidth:"+stage.stageWidth+" height:"+stage.stageHeight);
                //tracing as stagewidth:820  height:808  ?
        }
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to