[flexcoders] Re: Possible to edit and recompile Flex framework?

2007-02-01 Thread zzwi89
Hi, I have a sample online. Very scaled down, but replicates the error and where it would occur in my application. http://seanrea.net/ModuleTest/ModuleTest.html Clicking on the two buttons will switch between children of a viewstack. If you click on '2', you should get the HistoryManager error.

Re: [flexcoders] Re: Possible to edit and recompile Flex framework?

2007-02-01 Thread Bjorn Schultheiss
Here's a message from Alex Harai. I think the same applies for your history manager issue This error occurs for two reasons: One is that somehow, the DragManager or DragManagerImpl is not linked into the movie. The other, and more common reason is that more than one module is using the

Re: [flexcoders] Re: Possible to edit and recompile Flex framework?

2007-02-01 Thread Michael Schmalle
Hi This is way out in left field. But it looks like you are loading the modules into the same ApplicationDomain and since the HistoryManager is a singleton based in each domain. Try including a tabnavigator in your shell application just for the hell of it. Left me know. Make sure to

Re: [flexcoders] Re: Possible to edit and recompile Flex framework?

2007-02-01 Thread Michael Schmalle
Bjorn, I forgot about that but that is basically what I said without the addChild() part. so the static intializer will do the trick alone. Peace, Mike On 2/1/07, Bjorn Schultheiss [EMAIL PROTECTED] wrote: Here's a message from Alex Harai. I think the same applies for your history manager

Re: [flexcoders] Re: Possible to edit and recompile Flex framework?

2007-02-01 Thread Bjorn Schultheiss
yeah i noticed you were saying the same ;) On 02/02/2007, at 9:43 AM, Michael Schmalle wrote: Bjorn, I forgot about that but that is basically what I said without the addChild() part. so the static intializer will do the trick alone.

[flexcoders] Re: Possible to edit and recompile Flex framework?

2007-02-01 Thread zzwi89
Hot damn, way out in left field but I'll be damned if it didn't work! Simply calling this upon initialize worked: private function init():void { this.addChild(new TabNavigator()); this.removeChildAt(this.numChildren-1); } --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL

[flexcoders] Re: Possible to edit and recompile Flex framework?

2007-02-01 Thread zzwi89
Hot damn, way out in left field but I'll be damned if it didn't work! Simply calling this upon initialize worked: private function init():void { this.addChild(new TabNavigator()); this.removeChildAt(this.numChildren-1); } --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL

Re: [flexcoders] Re: Possible to edit and recompile Flex framework?

2007-02-01 Thread Michael Schmalle
Hi, Now rereading something I had read a while ago that Bjorn pointed out is importing and creating a dependency should fix it. import mx.managers.HistoryManager; private var historyManagerDependency:HistoryManager; Peace, Mike On 2/1/07, zzwi89 [EMAIL PROTECTED] wrote: Hot damn, way