>"http://www.preventcancer.org/bodyfun/main_game/save_game.cfm";
>save_game_o.sendAndLoad(composite,null,"GET");
I don't know as it won't pop out a page to display the information if
I use either loadVars (sendAndLoad) or LoadVariables. However if I
do getURL, which pops out a page, I see the proper querystring and CF
outputs the expected data.
At 4:42 PM -0500 3/25/04, Daniel Kessler wrote:
>Is it something like this format? Can you type something like this URL into
>your browser to get it to work?
>http://www.preventcancer.org/bodyfun/main_game/save_game.cfm?id=1&high_score=100
yes.
>Also have you tried to output the variables on your CF page to make sure
>they are being seen before you do any processing? Like:
><cfoutput>
>#url.id# #url.high_score# #url.high_score_related_info# etc....
></cfoutput>
I have with getURL and it looked fine, but not with sendAndLoad
because it suppresses (it seems to me) the page output or rather I
get it's redirected, supposedly to the flash app.
I can get this to work with loadVariables, but not loadVars, which
has sendAndLoad. The reason that I want sendAndLoad to work is that
it's more flexible and I can track it's progress better.
Also to return variable data to Flash, do I do:
<cfquery name="return_saved_game" datasource="cs-site">
SELECT * FROM bodyfun_save_game
WHERE identifier = #url.id#
</cfquery>
<cfoutput>
saved_game=#return_saved_game.saved_game#
</cfoutput>
Should I expect that'll return a variable saved_game to the flash app?
Wasn't much about this in the archives and the cf-flash list seemed
lonely. Don'tya-all do alot of Flash too?
--
Daniel Kessler
Department of Public and Community Health
University of Maryland
Suite 2387 Valley Drive
College Park, MD 20742-2611
301-405-2545 Phone
www.phi.umd.edu
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

