all groups > flash data integration > june 2005 >
You're in the

flash data integration

group:

Basic Problems with data


Re: Basic Problems with data kadman
6/20/2005 12:00:00 AM
flash data integration: Not being an expert in either Flash or ColdFusion (but learning enough to get
by), I find that when I can avoid having to write ActionScript, I try to go
that route. From the example you cite, if there is no compelling reason for
you NOT to use a datagrid component in place of the listbox component, you
might consider that. The benefit, as I see it, is that there is a DataGrid
Column Editor available to enable you to format your results with a minimum of
Actionscripting on your part. A side benefit is that there seems to be more
properties in the datagrid object that allow for even more control and
flexibility, such as user-initiated ascending/descending column sorting,
draggable column re-sizing, etc.

If, however, you are wedded to the listbox control, you will have to get your
hands a little dirty with the Actionscript.

--kadman
Re: Basic Problems with data CarlSB
6/20/2005 12:00:00 AM
Thanks for that Kadman - the DCE is nice and does make my life a bit easier
indeed!

However, it's not quite what I am after. I had assumed there must be a
component for Flash that allows the storage of data (dataset or dataholder
perhaps) for filter purposes or indeed manipulation? If that's not the case
then it would just be easier to call multiple .cfcs I guess and hold them in
different WCSs, but it seems kind of clumsy doing the manipulatioon and
filtering server side.

If it is the dataset or dataholder, I can't for the life of me see how to make
either component just hold certain columns, so maybe I'm just assuming
something exists when it doesnt.
Basic Problems with data CarlSB
6/20/2005 7:00:45 AM
Hi all,

Sorry that this is such a basic question - I just can't seem to find the
answer or the way of doing it myself!

I'm pretty new to Flash but old to Cold Fusion. I've worked through using
..cfcs and Webserviceconnectors to import my data into the flash environment,
but I cant for the life of me work out how to filter it for output once it's
there.

Nothing special, just for eg making a list box (using the list component) that
just shows just one column of my data, rather than all the columns - stuff like
that.

Any help would be most gratefully appreciated; an example of what I need to do
with something as simple of that will probably solve 90% of my stumbling block!

Many thanks!
Re: Basic Problems with data CarlSB
6/21/2005 12:00:00 AM
I've actually solved this problem and finally worked out how to manipulate all
the data on the fly into numerous components now, so I'll shut this thread.

The easiest answer for anyone who is interested is that you need to download
and use the WCS Connection Wizard; this will then allow you to name columns in
a connected dataset object (since apparently you can't otherwise using .cfc
calls as Flash can't see them) so you can call the results 'on the fly' into
any Labels or Lists etc etc you fancy, as long as any controling components
also return the current line ID of the selection.
AddThis Social Bookmark Button