here ya go!

this takes values from a query above in the code, and if the values are
defined, it sends them to the url
string that calls the flash, and I have dynamic text fields that are
awaiting values in the event that there
are some.....

(ps. the code isnt like this on my cfm template, its all together to
preserve spacing and stuff, but I broke
it out and indented to show the flow of logic.)

hth

<cfif isDefined("userid") and len(#userid#)>

        <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
 
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflas
h.cab##version=5,0,0,0"
 WIDTH=281 HEIGHT=58>
         <PARAM NAME=movie VALUE="/flash_files/finalasuser.swf?username=
                <cfoutput>
                        <cfif Len(username) gt 28>
                                #Left(username,'28')#...
                        <cfelse>
                                #username#
                        </cfif> 
                </cfoutput>&companyname=
                <cfoutput>
                        <cfif len(comp) gt 30>
                                
                                #Left(comp,'29')#...
                        <cfelse>
                                #comp#
                        </cfif> 
                </cfoutput>"> 
                        <PARAM NAME=loop VALUE=false> 
                        <PARAM NAME=menu VALUE=false>
                        <PARAM NAME=quality VALUE=autohigh>
                        <PARAM NAME=bgcolor VALUE=##000000>
                        <EMBED
src="/flash_files/finalasuser.swf?username=
                        
                                <cfoutput>
                                        <cfif Len(username) gt 28>
                                                #Left(username,'28')#...
                                        <cfelse>
                                                #username#
                                        </cfif>
                                
                                </cfoutput>
                                &companyname=
                                <cfoutput>
                                        <cfif len(comp) gt 30>
                                                #Left(comp,'29')#...
                                        <cfelse>
                                                #comp#
                                        </cfif>
                                </cfoutput>" 
                                loop=false menu=false quality=autohigh
bgcolor=##000000  WIDTH=281 HEIGHT=58
TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_P
rod_Version=ShockwaveFlash"></EMBED>
        </OBJECT>
</cfif>

..tony

Tony Weeg
Senior Web Developer
Information System Design
Navtrak, Inc.
Fleet Management Solutions
www.navtrak.net
410.548.2337 

-----Original Message-----
From: Chad Gray [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, September 05, 2002 3:55 PM
To: CF-Talk
Subject: SOT: simple CF and Flash example


We are pretty new to flash.

Does anyone have a super simple example of taking a CFQUERY and passing
the data to a flash program for display?

We just want to do basically a CFOUTPUT inside of flash.  Some of
macromedia's examples are really confusing.


______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
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