Aidan,
You might take a look at current issue of CFDJ. Ben Forta has a walk through
on making a cool Flash dynamic form with side by side list boxes, contents
in one changing depending upon selection in the other using cfc's etc(cool).
Not sure what you mean, yes an instance of a dynamic text box has to be
given a named instance, also following example from Forta article includes
to get the form initialised, with an example in this case of passing the
gateway as url variable, you need to pass the url variable to Cold Fusion as
follows, btw "Flash MX Designer`s Actionscript Reference" arrived in my post
during the week, best Flash book I`ve seen so far, 1054pgs plus cd, lots of
great stuff:
#include "NetServices.as"
#include "DataGlue.as"
//Init stuff
if (inited == undefined) {
inited = true;
// Set change handler for first combobox
dept_cb.setChangeHandler("employeesrefresh");
//The part you may be interested in
//Configure connection to Cold Fusion
var gwURL = "http://localhost:8500/flashservices/gateway";
NetServices.setDefaultGatewayURL(gwurl);
gw = NetServices.CreategatewayConnection();
employeeService = gw.getService("cfflash.employees",this);
//Invoke the GetDepartments method
employeeService.GetDepartments();
It needs to 2 files at the top to initialise and the gateway passed as
above, the rest is talking to the component.
rgds
Colm
Colm Brazel MA
CB Publications
www.cbweb.net <http://www.cbweb.net>
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
-----Original Message-----
From: Aidan Whitehall [mailto:[EMAIL PROTECTED]]
Sent: 30 November 2002 14:59
To: [EMAIL PROTECTED]
Subject: [ cf-dev ] Calling all lost Saturday souls...
Shit... I'm going out of my tiny mind trying to do the most basic thing
in Flash. I've downloaded several tutorials on how to do the dynamic
Flash text-thang that Taz put up on Friday and each one of them seems to
miss something out.
If you want to pass a URL variable into the flash movie, do you
- add a named dynamic text box in the Flash movie
- write a line of AS to tell the movie to output someVar in the text
box... anyone tell me what you put?
- rename the .html file Flash publishes to .cfm
- append "?someVar=#URL.someVar#" to both ".swf" references in the .cfm
file
- escape the # signs
Have I missed anything else?
It only took me the entire morning to figure out that Ctrl-Refresh
doesn't *actually* reload the .swf file in IE and that you've got to
delete the cache contents if you edit and republish... *sob* *sob*
Maybe a beer will help...
--
Aidan Whitehall <[EMAIL PROTECTED]>
Macromedia ColdFusion Developer
Fairbanks Environmental +44 (0)1695 51775
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]