1 msgIE Bug with scaleMode
16 msgFlash Tracer / FF2
4 msgCritical bug in IE
4 msgexport images from flash
1 msgFileReference question
3 msgflv sometimes playing sound only
1 msgNetStream problem
1 msgFLVPlayback redraw problems with Firefox and op...
1 msgproblem + workaround:mx.core.View.createEmptyMo...

limits to AS2 levels of OOP class inheritance?
\ Newsdee (8 Jan 2007)
. \ Ron Wheeler (8 Jan 2007)
. \ T. Michael Keesey (8 Jan 2007)
. \ baskar subramanian (8 Jan 2007)
. . \ Newsdee (8 Jan 2007)
. . . \ Newsdee (10 Jan 2007)
. . . . \ Newsdee (10 Jan 2007)
. . . . . \ Dani Bacon (14 Feb 2007)
. . . . . . \ Newsdee (14 Feb 2007)
. . . . . . . \ Steven Sacks | BLITZ (15 Feb 2007)
. . . . . . . . \ Dani Bacon (15 Feb 2007)
. . . . . . . . . \ Steven Sacks | BLITZ (15 Feb 2007)

1 msgJOB - Lead Flash Developer - Boston - Full-time
4 msgJSFL writing a (Unicode) encoded text file
4 msgcontrol the scroll of a scrollPane component V2
3 msgIs UIEventDispatcher class functioning?
4 msgProblem with BitmapData
3 msgTutorial on the flash mx.* classes?
1 msgBug in IE using Scalemode
3 msgattachMovie fails with runtime shared asset
5 msgMultiLanguage Character support
3 msgCapturing FMS video streams from multiple cameras
Subject:Re: limits to AS2 levels of OOP class inheritance?
Group:Flashcoders
From:Newsdee
Date:10 Jan 2007


 
Update... tried adding a get function, but it still doesn't work. Here's my
code:

In Game.as:
private static var mainGame:Game;
static function getGame():Game {
if(mainGame == undefined) {
mainGame = new Game();
}
return mainGame;
}

In Collider.as:
var walls_mc:MovieClip = Game.getGame().level.walls_mc;


It looks like a Flash bug to me at this point... but how can I work around
it?



On 1/10/07, Newsdee <newsdee> wrote:
>
> Here's how mainGame is defined. Maybe I need to make mainGame private and
> use a get function?
>
>
_______________________________________________
Flashcoders
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


© 2004-2008 readlist.com