But even if I do something as simple as: <?xml version="1.0" encoding="utf-8"?> <ApplicationSecure xmlns="*" xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" > <mx:Button x="284" y="202" label="Button"/> </ApplicationSecure>
And try to go to Design Mode in Flex Builder, I get an error of: An Unknown Item is declared in the root of your MXML. HELP :( Thanks, Sean. --- In [email protected], "Andrew Trice" <[EMAIL PROTECTED]> wrote: > > You don't need AddChild, that is only used within view states. When > extending an object, you can just add new elements. So, just add > <mx:Label /> instead of <mx:AddChild><mx:Label /></mx:AddChild> > > > > > > > > _____________________________________ > > Andrew Trice > > Cynergy Systems, Inc. > > http://www.cynergysystems.com > > > > Blog: http://www.cynergysystems.com/blogs/page/andrewtrice > > Email: [EMAIL PROTECTED] > > Office: 866-CYNERGY > > > > ________________________________ > > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of helihobby > Sent: Monday, January 29, 2007 5:46 PM > To: [email protected] > Subject: [flexcoders] Re: Is it possible to Inheirt from an MX > Application inside of an MX Application ? > > > > Thanks for the reply ... > Tried what you said but it seems like Flex will not allow you to > inherit from your application. > > If I try and do something like: > > <?xml version="1.0" encoding="utf-8"?> > <h:ApplicationSecure xmlns:h="*" > xmlns:mx="http://www.adobe.com/2006/mxml > <http://www.adobe.com/2006/mxml> " > > > <mx:AddChild position="lastChild"> > <mx:Label text="Work"/> > </mx:AddChild> > > </h:ApplicationSecure> > > OR also tried with no luck: > > <?xml version="1.0" encoding="utf-8"?> > <ApplicationSecure xmlns:h="*" > xmlns:mx="http://www.adobe.com/2006/mxml > <http://www.adobe.com/2006/mxml> " > > > <mx:AddChild position="lastChild"> > <mx:Label text="Work"/> > </mx:AddChild> > > </ApplicationSecure> > > Flex Builder will not allow you to go to Design Mode > complaining "Error in line 2" > > Any idea ... > > :( > > Regards, > > Sean. > > --- In [email protected] <mailto:flexcoders% 40yahoogroups.com> > , "helihobby" <helihobby@> wrote: > > > > Is it possible to Inheirt from an MX Application inside of an MX > > Application ? > > > > > > > > We wish to make two MX applications. > > > > One called: > > > > ApplicationSecure ( file name is ApplicationSecure ) > > > > and One called: > > > > ApplicationMain ( file name is ApplicationMain ) > > > > > > > > > > ApplicationSecure header looks normal such as: > > > > <?xml version="1.0" encoding="utf-8"?> > > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml > <http://www.adobe.com/2006/mxml> " > > layout="absolute" creationComplete="authenticate()" > > creationPolicy="all" > > xmlns:cc="dynaLib.common.components.*" > > > > > <mx:Script> > > <
