Inserting data into Flash is really quite easy. 

1. Use the text tool to create a text area, setting text options to "input
text" and give the variable a name, say "firstname".

2. At the point in the (frame) timeline where you want the input text to be
dynamically populated, create an action script with the single line 
                loadVariablesNum("flashdata.cfm", 0);

3. Create a cfm template containing the following:

        <cfset fn = "Horatio">
        <cfoutput>
                &firstname=#URLEncodedFormat(fn)#       
        </cfoutput>

4. Publish the move, which will generate a .swf file and an html file.  

5. Watch it work.  

J
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 29, 2001 6:04 PM
To: CF-Talk
Subject: Dynamically inserting text into Flash via Cold Fusion


Does anyone know how to get a variable from CFSET or a query into a text box
in Flash.

Would like to be able to dynamically update the text in the Flash movie.

Have looked around and found nothing so far that does a decent job on
explaining this process.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
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