The problem I get is with this code:

The flash movie pulls in the var "menutxt" from menu.cfm the code in
menu.cfm is:

<cfsetting enablecfoutputonly="yes">
<cfquery datasource="tb01" name="query_X">SELECT X, Y, X_url, Y_url FROM
X_table ORDER BY X</cfquery>
<cfcontent type="text/html">
<cfoutput query="query_X">
MenuText= <a href="#X_url#">#X#</a><cfif Y EQ "">
<cfelse><a href="#Y_url#"><img src="../gif/dot.gif" width="8" height="8"
alt="" border="0"></a></cfif><br>
</cfoutput>
<cfsetting enablecfoutputonly="yes">

The output "part" works as I get the value X outputted as a link, but after
the first row I get 

MenuText X
MenuText X
MenuText X (etc)

As the output loop appends it to the front of the output

Second problem I get is that the dot.gif image does not appear - but I guess
I will have to do a work around for that....

J

-----Original Message-----
From: dennis baldwin [mailto:[EMAIL PROTECTED]]
Sent: 01 March 2001 20:05
To: CF-Talk
Subject: RE: CF 'n' FLASH problem


We're currently workin' on a developer community for flash and CF and you
can check out some tutorials at http://www.flashcfm.com/tutorials/

as for you questions i'm not sure i understand what you are saying with
question 1.  can you be a little more specific?

for pulling images into flash you need to place these images in a .swf file
and then use the LoadMovie command.

-----Original Message-----
From: James Maltby [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 01, 2001 1:34 PM
To: CF-Talk
Subject: CF 'n' FLASH problem


OK - here goes - anyone got a solution to this?

Am pulling in a dynamic content page to a menu side bar in a flash.swf

I can get most of the fancy stuff to work - but I am having two problems:

1) If there is more than 1 output from the CFOUTPUT tag - I get the VARTXT=
variable output before every line of the menu
2) The page calls images - can these be pulled in from outside the flash
movie or what?

TIA

James

"You're a big man, but you're out of shape.  With me it's a full time job.
Now behave yourself."
                                 "Get Carter" 1964
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to