Heh, Could have saved myself some time by simply RTFM! Never mind, its
always useful to see how someone else architects things:
(From componentkit.pdf)
"Two mechanisms were evaluated for passing information from Macromedia
ColdFusion to Macromedia Flash. One involved passing variables in over the
URL to the Macromedia Flash object. The other involved using the Macromedia
Flash loadVariables command to have each component read information through
a separate HTTP request.
Depending on the browser and operating system, there may be a limit to the
number of characters that can be strung on the end of a SWF's URL, ranging
from 2K to 4K characters. Because of this limitation, our design uses the
Macromedia Flash loadVariables command to pull information from a separate
Macromedia ColdFusion file.
When a Component Kit component is instantiated, Macromedia ColdFusion holds
the parameter information in the Macromedia ColdFusion server scope, loads
the Macromedia Flash movie for the component, and passes a "callback" URL
into the Macromedia Flash movie. This callback URL, which points to
fetchdata.cfm, allows the instantiated Macromedia Flash movie to retrieve
its specific information using Macromedia Flash loadVariables."
-------------------------------------------------------
Rich Wild
Senior Web Designer
-------------------------------------------------------
e-mango.com ltd Tel: 01202 587 400
Lansdowne Place Fax: 01202 587 401
17 Holdenhurst Road
Bournemouth Mailto:[EMAIL PROTECTED]
BH8 8EW, UK http://www.e-mango.com
-------------------------------------------------------
This message may contain information which is legally
privileged and/or confidential. If you are not the
intended recipient, you are hereby notified that any
unauthorised disclosure, copying, distribution or use
of this information is strictly prohibited. Such
notification notwithstanding, any comments, opinions,
information or conclusions expressed in this message
are those of the originator, not of e-mango.com ltd,
unless otherwise explicitly and independently indicated
by an authorised representative of e-mango.com ltd.
-------------------------------------------------------
> -----Original Message-----
> From: Rich Wild [mailto:[EMAIL PROTECTED]]
> Sent: 15 May 2001 07:56
> To: CF-Talk
> Subject: RE: "Harpoon" Release is Final & Available
>
>
> From the looks of it (without going into too much detail),
> the flash movie
> uses the loadvariables command on a callback url which calls
> the variables
> from a unique server scoped variable created for that
> instance of the page
> call only.
>
> Put all variables into unique server scoped struct
>
> Call Flash Movie with a callback to:
>
> Seperate template that decides which component is being used
> and dumps the
> server variables in a format Flash can read using its
> loadVariables command.
>
> Dunno what it does from there cos I haven't got Flash 5 (I'll
> have to ask
> our Macatistas (design bods) here in the office) but
> basically Flash is
> reading the variables from a text file.
>
> That's my basic understanding anyway. Might have got little
> bits wrong.
>
> -------------------------------------------------------
> Rich Wild
> Senior Web Designer
>
> -------------------------------------------------------
> e-mango.com ltd Tel: 01202 587 400
> Lansdowne Place Fax: 01202 587 401
> 17 Holdenhurst Road
> Bournemouth Mailto:[EMAIL PROTECTED]
> BH8 8EW, UK http://www.e-mango.com
> -------------------------------------------------------
> This message may contain information which is legally
> privileged and/or confidential. If you are not the
> intended recipient, you are hereby notified that any
> unauthorised disclosure, copying, distribution or use
> of this information is strictly prohibited. Such
> notification notwithstanding, any comments, opinions,
> information or conclusions expressed in this message
> are those of the originator, not of e-mango.com ltd,
> unless otherwise explicitly and independently indicated
> by an authorised representative of e-mango.com ltd.
> -------------------------------------------------------
>
>
>
>
> > -----Original Message-----
> > From: Jon Hall [mailto:[EMAIL PROTECTED]]
> > Sent: 14 May 2001 18:47
> > To: CF-Talk
> > Subject: Re: "Harpoon" Release is Final & Available
> >
> >
> > Out of curiosity, how is data transferred now? Is it still xml?
> >
> > jon
> > ----- Original Message -----
> > From: "Steve Drucker" <[EMAIL PROTECTED]>
> > To: "CF-Talk" <[EMAIL PROTECTED]>
> > Sent: Monday, May 14, 2001 1:06 PM
> > Subject: RE: "Harpoon" Release is Final & Available
> >
> >
> > > It's gone...the Harpoon documentation details various best
> > practices for
> > > transferring information from ColdFusion to Flash.
> > >
> > > Using WDDX at this time, regrettably, is NOT a best practice.
> > >
> > > Regards,
> > > Steve Drucker
> > > CEO
> > > Fig Leaf Software
> > >
> > >
> > > -----Original Message-----
> > > From: Evan Lavidor [mailto:[EMAIL PROTECTED]]
> > > Sent: Monday, May 14, 2001 12:30 PM
> > > To: CF-Talk
> > > Subject: RE: "Harpoon" Release is Final & Available
> > >
> > >
> > > I seem to remember that in some of the early betas for
> > "Harpoon" there was
> > > an actionscript file for reading WDDX packets in Flash. Did this
> > disappear?
> > > Or did it simply become subsumed into some of the FLA's.
> > If the latter is
> > > true, could someone point me to the right place to find it?
> > If it's gone,
> > > is there a reason?
> > >
> > > Thanks,
> > >
> > > Evan
> > >
> > > > -----Original Message-----
> > > > From: Sam Coe [mailto:[EMAIL PROTECTED]]
> > > > Sent: Monday, May 14, 2001 10:29 AM
> > > > To: CF-Talk
> > > > Subject: "Harpoon" Release is Final & Available
> > > >
> > > >
> > > > We are happy to announce the availability of The
> Macromedia Flash
> > > > Component
> > > > Kit for ColdFusion. The kit, first announced in November
> > 2000 under the
> > > > code name 'Harpoon', is now available for download from
> > the ColdFusion
> > > > Developers Exchange.
> > > >
> > > > The Macromedia Flash Component Kit for ColdFusion is a
> > resource for
> > > > ColdFusion developers to quickly and easily add Macromedia Flash
> > > > elements to
> > > > their Web applications. ColdFusion developers can
> > immediately take
> > > > advantage of the design and delivery benefits of
> > Macromedia Flash and
> > > > Macromedia Flash Player without learning a new authoring
> > product. For
> > more
> > > > advanced developers, the Component Kit provides guidelines and
> > > > documentation
> > > > for creating and customizing new Macromedia Flash components for
> > > > ColdFusion
> > > > that can be shared with other developers.
> > > >
> > > > The Component Kit includes 4 prebuilt Macromedia Flash sample
> > components,
> > > > guidelines detailing how to use and customize components
> > and ColdFusion
> > > > custom tags that control the behavior of those components.
> > > >
> > > > The four Macromedia Flash sample components included with
> > the kit are:
> > > >
> > > > *Calendar
> > > > *Calculator
> > > > *Horizontal Menu
> > > > *Cascading Menu (for Microsoft Internet Explorer)
> > > >
> > > > The Component Kit is available for free download from
> the Allaire
> > > > Developers
> > > > Exchange for the Windows and UNIX platforms. To access the
> > > > components, type
> > > > "Macromedia Flash" into the Developers Exchange Search window
> > > > (http://devex.allaire.com/developer/gallery/index.cfm) or
> > visit the
> > > > following page to link directly to the kit:
> > > >
> > > > http://www.allaire.com/handlers/index.cfm?ID=20983
> > > >
> > > > The FAQ and license agreements are also available on this page.
> > > >
> > > > Best,
> > > > -Sam
> > > >
> > > >
> > > >
> > >
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists