Hi, I was asked by my boss the other day how the Flex application I'm building will support branding for multiple clients. So I've come up with an idea that I'd like to run past you out there to see if its a good idea or if there is a better way to do this.
So the idea is a client loads our system via their own unique URL, then when the system loads its in their colour scheme and loads their logo. Then each client will see the same layout of the system, but in their colours scheme with their logo. To get the colour scheme and logo to load I was thinking of creating CSS files and complining them into SWF's then part of the creationComplete function in the main.mxml file I'd make a remote call to the database and get the address of the style sheet (which is held in a database) for that client. I'd know which client it is by reading the URL (I know I can do this in ColdFusion, but can it be done in Flex?) Then in the result function of the remote call I'd pass the url of the stylesheet to the StyleManager.loadStyleDeclarations function. So that's my idea, a couple of things I'm not sure of, one can flex read the calling URL, and will I be able to make remote calls as the application is loading? What do you think of my idea is there a better way of doing this? Thanks Stephen

