Thanks. your example worked fine. Now when I use this cfm
<cfquery name="qArtists" datasource="artgallery">
SELECT FirstName
FROM artists
WHERE ArtistID = 1
</cfquery>
<cfoutput query="qArtists">#qArtists.FirstName#</cfoutput>
all I get in the textfield is undefined
If I run the cfm by itself it returns the first name of the artist with the ID of 1 as it should.
Ah, ok. So - the way the demo is built requires you to have a list of key/value pairs. E.g. in your example for pushing back one artist's name you'd need to do something along the lines of:
<cfoutput query="qArtists">lastName=#qArtists.FirstName#</cfoutput>
and then change the AS code in the frame to refer to the lastName key.
But really: If you wanted to query multiple DB columns and/or multiple records and push back a more complex dataset, I'd go with creating an XML structure in CF and getting Flash to load/parse that XML.
Cheers
Kai