Rudi, I have taken the same approach as Ron and it works great. You can have liquid layouts that change based on an XML schema (or a webservice object, whatever data source you choose). You can then easily modify the layout dimensions, behaviors, themes, whatever by changing elements of the data source.
Jason Merrill Bank of America Learning & Organization Effectiveness - Technology Solutions >>-----Original Message----- >>From: [EMAIL PROTECTED] [mailto:flashcoders- >>[EMAIL PROTECTED] On Behalf Of Ron Wheeler >>Sent: Friday, September 22, 2006 2:15 AM >>To: Flashcoders mailing list >>Subject: Re: [Flashcoders] Runtime Skinning of a flash app. >> >>We skin by using an XML file to hold the parameters that control the >>appearance of the GUI. This is read by the application and it draws the >>on-screen elements using the information in the XML file. The >>information can set fonts, colors, sizes, indicate images, tell the GUI >>which movie clips to use for the various purposes that we have defined, >>etc. This is very flexible and allows us to easily create new themes >>without changing the application. >> >>Ron >> >> >>Rudi Yardley wrote: >>> I am trying to design a flash based application that will require >>> multiple themes based on a theme id that should be passed into the main >>> movie. The way the application needs to work is that we need to have >>> runtime or scriptable selection of theme based on an input variable >>> like: >>> >>> main.swf?themeid=12 >>> >>> Which will make all the controls in main.swf use the library link id >>> assets in theme_12.swf >>> >>> Problem is that if I loadmovie in the theme_12.swf I have no access to >>> its library items via link id - so I found that I can trick flash into >>> doing it via using an empty shared library object in main.swf's library >>> and place it on the stage there somewhere. Ok this is great I now have >>> access to theme_12.swf's assets but do I now have to do this for all 20 >>> themes??? Is there some way I can make the loading association >>> dynamically? Has anyone tried to do this or something similar before? >>> >>> Cheers, >>> >>> rudi >>> _______________________________________________ >>> 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 >>> >>> >>> >>> >>_______________________________________________ >>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 _______________________________________________ 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