Are there any best practices when it comes to styling Flex applications ? I would like to give the html page designer as much flexibility as possible.
Any tips, pointers?
Are there any best practices when it comes to styling Flex applications ? I would like to give the html page designer as much flexibility as possible.
Any tips, pointers?
Not quite sure I get your question, but here goes...
There is a basic templated html page that gets generated by Flex Builder. Is that the one that the HTML designer is going to get his/her hands on? If yes, then just make sure that between you the Flex app has enough real estate to be usable but is small enough to fit in with whatever else s/he wants to put on the page. Oh yeah, and watch out for an HTML design which will use the browser BACK button because you'll lose all your Flash state as the swf will get unloaded and reloaded with the page. In most regards this problem is no different to embedding any other asset in a web page.
If you are talking about the UI design of your flex app itself, then that's a different story. The Flex app is not HTML, it's Flash, so the "pages" of your flex application will have a different set of capabilities and therefore a different set of design optimisations to a regular HTML page. In that case make sure that your designer hasn't got a bad table-based hangover from regular HTML. Make sure s/he thinks more like a desktop application UI designer or an animator and less like a static web page designer. That goes for both the layout and the user's gestures.
HTH