Thanks, Matt! You were right on; it was the same problem as Andrew's. Thankfully Manish gave us a workaround. Thanks for your response :)
Lawrence --- In [email protected], Matt Chotin <[EMAIL PROTECTED]> wrote: > I think this is probably the same problem that Andrew mailed about yesterday > with cursor depth. That doesn't mean I know what's going on :-) > > > > Matt > > > > _____ > > From: lm7e [mailto:[EMAIL PROTECTED] > Sent: Friday, February 25, 2005 8:10 AM > To: [email protected] > Subject: [flexcoders] Re: Interesting Loader/DividedBox behavior > > > > > Hello All, > > I think I will try posting my question again. See below... Maybe > someone from Macromedia can tell me if this is the behavior I have > to live with or if I am doing something wrong... Please help. > > Lawrence > > --- In [email protected], "lm7e" <[EMAIL PROTECTED]> > wrote: > > > > In attempting to utilize the RSL feature, I am designing an > > application that is composed of a wrapper app that in turn loads > > different subsystem apps. This works fine. The interesting > behavior > > I have seen is that a subsystem app I have written contains a > > DividedBox and when it is loaded, the cursor does not show the > > proper "move" indicator (->| |<-) that it should when hovering > over > > the divider; the cursor disappears. If I open the subsystem app > > separately, the behavior is correct. Any ideas??? Workarounds??? > You > > can find code that demonstrates this strangeness below. > > > > Thank you in advance, > > Lawrence > > > > ---- loaderApp.mxml ---- > > <?xml version="1.0" encoding="iso-8859-1"?> > > <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml > <http://www.macromedia.com/2003/mxml> " > > width="100%" height="100%" xmlns="*"> > > > > <mx:XML id="theMenuDataProvider"> > > <menu label="Test"> > > <menuitem label="Test App" > > data="testApp.mxml.swf" /> > > </menu> > > </mx:XML> > > > > <mx:Script> > > var app : String; > > > > function loadSubsystem(event : Object) { > > app = event.menuItem.attributes.data; > > } > > </mx:Script> > > > > <mx:MenuBar width="100%" id="theMenuBar" > > change="loadSubsystem(event)"> > > <mx:dataProvider>{theMenuDataProvider} > > </mx:dataProvider> > > </mx:MenuBar> > > > > <mx:HBox width="100%" height="100%"> > > <mx:Loader id="applet" source="{app}" > > scaleContent="false" width="100%" height="100%" /> > > </mx:HBox> > > > > </mx:Application> > > > > ---- testApp.mxml ---- > > <?xml version="1.0" encoding="iso-8859-1"?> > > <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml > <http://www.macromedia.com/2003/mxml> " > > width="100%" height="100%"> > > <mx:Script> > > function getPreferredHeight() { > > if (_parent != undefined) { > > return _parent.layoutHeight; > > } else { > > return super.getPreferredHeight(); > > } > > } > > function getPreferredWidth() { > > if (_parent != undefined) { > > return _parent.layoutWidth; > > } else { > > return super.getPreferredWidth(); > > } > > } > > </mx:Script> > > <mx:Panel width="100%" height="100%"> > > <mx:DividedBox direction="horizontal" height="100%" > > width="100%"> > > <mx:Tree id="theTree" width="30%" > > height="100%"> > > <mx:dataProvider> > > <mx:XML> > > <node > > label="Something"> > > <node > > label="Here" isBranch="true"> > > </node> > > <node > > label="There" isBranch="true"> > > </node> > > <node > > label="Anywhere"> > > > > <node label="Huh?" /> > > > > <node label="What?" /> > > > > <node label="Where?" /> > > </node> > > </node> > > </mx:XML> > > </mx:dataProvider> > > </mx:Tree> > > <mx:VBox height="100%" width="70%"> > > <mx:TabNavigator height="100%" > > width="100%"> > > <mx:Canvas label="Isn't" > > height="100%" width="100%" /> > > <mx:Canvas label="This" > > height="100%" width="100%" /> > > <mx:Canvas > > label="Interesting?" height="100%" width="100%" /> > > </mx:TabNavigator> > > </mx:VBox> > > </mx:DividedBox> > > </mx:Panel> > > </mx:Application> > > > > > > > > > Yahoo! Groups Sponsor > > > > ADVERTISEMENT > > <http://us.ard.yahoo.com/SIG=1292i3ul9/M=298184.6018725.7038619.30011 76/D=gr > oups/S=1705007207:HM/EXP=1109434352/A=2593423/R=0/SIG=11el9gslf/*http :/www.n > etflix.com/Default?mqso=60190075> click here > > > > <http://us.adserver.yahoo.com/l? M=298184.6018725.7038619.3001176/D=groups/S= > :HM/A=2593423/rand=925395254> > > > > _____ > > Yahoo! Groups Links > > * To visit your group on the web, go to: > http://groups.yahoo.com/group/flexcoders/ > <http://groups.yahoo.com/group/flexcoders/> > > * To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED] subject=Unsubscribe> > > * Your use of Yahoo! Groups is subject to the Yahoo! > <http://docs.yahoo.com/info/terms/> Terms of Service.

