Adobe Dreamweaver Forums



Last 10 THreads :         Re: Your techiques for removing specular from photos (Last Post : Don_Gough@adobeforums.com - Replies : 0 - Views : 1 )           »          Re: Colour differences on the web (Last Post : g_ballard@adobeforums.com - Replies : 0 - Views : 1 )           »          Re: Colour differences on the web (Last Post : Jim_Jordan@adobeforums.com - Replies : 0 - Views : 1 )           »          Re: Printing too dark in CS4 (Last Post : Tom_H_Mikkelsen@adobeforums.com - Replies : 0 - Views : 1 )           »          button rollover to keyframe help (Last Post : mrpetesurfs - Replies : 2 - Views : 3 )           »          How to turn IMAGE into MOVIECLIP??? (Last Post : Snufferson - Replies : 21 - Views : 22 )           »          What is the best way to get the minimum or maximum valuefrom an Array of numbers? (Last Post : ericbelair - Replies : 4 - Views : 5 )           »          Scaling .swf files to fit specific dimensions (Last Post : mrpetesurfs - Replies : 1 - Views : 2 )           »          Stop ALL Sounds (Last Post : mrpetesurfs - Replies : 1 - Views : 2 )           »          Stop looping??? (Last Post : mrpetesurfs - Replies : 2 - Views : 3 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Macromedia Software > Flex
 
Tags:



Reply
  #1 (permalink)  
Old 11-04-2008, 09:02 AM
ericbelair
 
Posts: n/a
Diggs:
Default Displaying Content in Flex - Best Practice

I'm curious as to people's thoughts for the best methods to display content in
Flex. In particular, I'm creating a UI and want one of the first panels that is
displayed to the user to display some simple instructions on how to use the UI.
Should I import HTML from an external file? Should I embed XML or HTML in the
SWF? Or, should I simply code the content into the SWF? I want the content to
be styled like the rest of my application - fonts, colors, etc.

Any suggestions would be greatly appreciated.

Thank you.



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-04-2008, 09:02 AM
_funkyboy
 
Posts: n/a
Diggs:
Default Re: Displaying Content in Flex - Best Practice

You can embed the content in the swf (unless you want it to change).
Then you can style it using standard css.
This way the resulting application is modular, and if you change the css in
the future, changes are reflected in all your styled components.

More here:

http://livedocs.adobe.com/flex/1/fle...mmon/html/wwhe
lp.htm?context=Using_Flex_Builder&file=brady510.ht m


Reply With Quote
  #3 (permalink)  
Old 11-04-2008, 09:02 AM
Greg Lafrance
 
Posts: n/a
Diggs:
Default Re: Displaying Content in Flex - Best Practice

Just put the text in a TextArea control, but ensure the backgroundColor is set
to the backgroundColor of its parent, borderStyle is set to "none", selectable
is set to "false", focusThickness is set to "0", and verticalScrollPolicy is
set to "off".

Define the instructions in the htmlText property.

Reply With Quote


Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 09:47 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Cheap Car Insurance - Compare Motor Insurance
Endsleigh Car Insurance Natwest Car Insurance
More Than Car Insurance Norwich Union Car Insurance
Prudential Car Insurance Zurich Car Insurance
Inactive Reminders By Mished.co.uk