Hello Flash Folks,
I am trying to access stage.stageWidth property in order to be able
to give certain x,y values to my objects when they are created. So
when I went ahead tried to use stage.stageWidth by just tracing like
trace(stage.stageWidth);
this causing flash player 9 to throw an error to me:
TypeError: Error #1009: Cannot access a property or method of a null
object reference.
at ParticleManager$iinit()
at Moodbox2$iinit()
so what I am guessing is stage object is not instantiated when I am
trying to call it. Anyone know any workaround for this?
best,
ilteris
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com