On Thursday, August 1, 2002, at 06:59 , Stacy Young wrote:
> In Flash:
> <flash:select id="cityselect">
>    <cfloop query="cities">
>    <flash:option>#city#
>    </cfloop>
> </ flash:select>

Well, the problem here is that your code is then UI-aware - consider CFCs 
in CFMX. Here you can write code that is UI-neutral and then 'connect' it 
to your UI of choice. In Flash, you drag a select box onto the stage and 
specify it's data provider to be your CFC invocation that returns a list 
of options. In HTML you write pretty much what you had in your HTML 
example above - call the CFC to get your list of options and then loop 
over the result to create your options.

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to