check out components and data grid.

some fantastic resources working and sort with table data and recordsets 
here....
http://www.flash-db.com/Components/?swfID=21&sComType=Custom

also check out
flashcomponents.net

good luck
jay miller

Joshua Miller wrote:

>Thanks Jason, I'll check it out!
>
>I think I'm going to add a feature request ... Wouldn't be proper for
>HTML to be able to do something like this and FLASH not have the power.
>
>One other thing that would be cool is a "table object" for outputting
>data into table format without using HTML inside of Flash. You can
>simulate data fields with movie clips, but it's unnecessarily
>complicated.
>
>I'm sure there's a feature request for Flash on Macromedia.com :)
>
>Joshua Miller
>Head Programmer / IT Manager
>Garrison Enterprises Inc.
>www.garrisonenterprises.net
>[EMAIL PROTECTED]
>(704) 569-9044 ext. 254
> 
>************************************************************************
>*************
>Any views expressed in this message are those of the individual sender,
>except where the sender states them to be the views of 
>Garrison Enterprises Inc.
> 
>This e-mail is intended only for the individual or entity to which it is
>addressed and contains information that is private and confidential. If
>you are not the intended recipient you are hereby notified that any
>dissemination, distribution or copying is strictly prohibited. If you 
>have received this e-mail in error please delete it immediately and
>advise us by return e-mail to [EMAIL PROTECTED]
>************************************************************************
>*************
>
>
>-----Original Message-----
>From: Jason Miller [mailto:[EMAIL PROTECTED]] 
>Sent: Wednesday, January 08, 2003 11:47 PM
>To: CF-Talk
>Subject: Re: CF / Flash Question
>
>
>Well I bet it can be done using the GetURL or some send and Load objects
>- I was just playing around with it. There 1 work around I had found -
>it is here... Basically - you can use the chromeless window concept or a
>frame concept
>- but bottom line is your sending variables through javascript and html
>to get the upload to work. 
>
>If you do it graphically well - no one would know the difference.
>
>http://www.flashcfm.com/tutorial_search.cfm?keyword=file%20upload
><http://www.flashcfm.com/tutorial_search.cfm?keyword=file%20upload> 
>
>Funny thing about your code below is - you mentioned you never got a
>error or a failed.. just figured I would share - you are forcing a
>success=true or false on the .cfm page strings.. in flash 6 player you
>don't need to do this - flash 6 player provides success true or false.
>
>Good luck - I know I have seen this done in all falsh SOMEWHERE - I
>would love to use it and modify it so will keep searching - but the
>above link provides a definate working sample to make life easier.
>
>jay miller
>
>Christian Cantrell wrote:
>
>
>I think Matt is right on this one.  I don't think it can be done other  
>
>than to pop up a small browser instance and use an HTML form.  Browsers
>
>
>place a lot of security restrictions around file inputs (and rightfully
>
>
>so), so I think you may just have to play by the browser's rules.
>
>
>
>You can always ask for a URL, then have the server download the file,  
>
>or ask the user to paste the contents of the file into a text field if  
>
>the file is known to be all text, but these are not particularly  
>
>attractive solutions.
>
>
>
>Sounds like a Flash feature request to me.
>
>
>
>Christian
>
>
>
>On Wednesday, January 8, 2003, at 05:30 PM, Joshua Miller wrote:
>
>
>
>  
>
>Actually, what I'm trying to do is simulate the FILE input field to
>
>Upload a file against a CFML page. Strangely, I've tried and tried and
>
>the CF page doesn't fail or error, it just doesn't upload the file.
>
>
>
>It acts like the contentType isn't being set or as if it doesn't
>
>recognize the fact that I'm trying to UPLOAD a file.
>
>
>
>
>
>
>
>Again, here's the FLASH:
>
>======================================
>
>function respond(){
>
> goToAndPlay("My Scene",1);
>
> stop();
>
>}
>
>
>
>function upload(){
>
> dtsVars = new LoadVars();
>
> dtsVars.myfile="c:\test.txt";
>
> dtsVars.onLoad=respond;
>
> dtsVars.contentType="multipart/form-data";
>
> dtsVars.sendAndLoad( "http://192.168.0.2/upload.cfm";
><http://192.168.0.2/upload.cfm> ,dtsVars,"POST");
>
>}
>
>
>
>upload();
>
>stop();
>
>
>
>
>
>
>
>Here's the CFML to process the upload:
>
>======================================
>
><cfif isdefined("myfile")>
>
>       <cffile action="UPLOAD" filefield="myfile" destination="d:\"
>
>nameconflict="MAKEUNIQUE">
>
>       <cfoutput>&start=1&myfile=#myfile#&success=true</cfoutput>
>
><cfelse>
>
>       <cfoutput>&start=1&myfile=failed&success=false</cfoutput>
>
></cfif>
>
>
>
>
>
>Anyone have any clues? I'm going to try Matt's idea with the chromeless
>
>window if I can't actually use ActionScript.
>
>
>
>Does anyone from Macromedia have a suggestion? Can you upload files to
>
>CF from FLASH ???
>
>
>
>
>
>Joshua Miller
>
>Head Programmer / IT Manager
>
>Garrison Enterprises Inc.
>
>www.garrisonenterprises.net <http://www.garrisonenterprises.net> 
>
>[EMAIL PROTECTED]
><mailto:[EMAIL PROTECTED]> 
>
>(704) 569-9044 ext. 254
>
>
>
>*********************************************************************** 
>
>*
>
>*************
>
>Any views expressed in this message are those of the individual sender,
>
>except where the sender states them to be the views of
>
>Garrison Enterprises Inc.
>
>
>
>This e-mail is intended only for the individual or entity to which it  
>
>is
>
>addressed and contains information that is private and confidential. If
>
>you are not the intended recipient you are hereby notified that any
>
>dissemination, distribution or copying is strictly prohibited. If you
>
>have received this e-mail in error please delete it immediately and
>
>advise us by return e-mail to  [EMAIL PROTECTED]
><mailto:[EMAIL PROTECTED]> 
>
>*********************************************************************** 
>
>*
>
>*************
>
>
>
>
>
>-----Original Message-----
>
>From: Jason Miller [ mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>]
>
>Sent: Wednesday, January 08, 2003 8:25 PM
>
>To: CF-Talk
>
>Subject: Re: CF / Flash Question
>
>
>
>
>
>Simulate input field?
>
>Why don't you just use the dynamic text field - check the borders.
>
>
>
>set it's property to dtsVars.myfile - so it pops in "c:\test.txt" so it
>
>looks like you are actually submitting the form....
>
>
>
>perhaps I am missing what you intend.
>
>Also on teh SendAndLoad - you don't need both urls.... it would look
>
>like
>
>dtsVars.sendAndLoad( "http://192.168.0.2/upload.cfm";
><http://192.168.0.2/upload.cfm> ,dtsVars,"POST");
>
>
>
>Lastly - to check it the send and load was a success you would do -
>
>dtsVars.onLoad = function(success){
>
>
>
>        if(success){
>
>            // whatever you want flash to do if send and load was
>
>successful like
>
>           goToAndPlay("My Scene",1);
>
>        }
>
>
>
>Hope I actually answered your question :)
>
>
>
>jason miller
>
>
>
>Joshua Miller wrote:
>
>
>
>    
>
>Anyone know if something like this is possible with FlashMX ?
>
>
>
>function respond(){
>
>goToAndPlay("My Scene",1);
>
>stop();
>
>}
>
>
>
>function upload(){
>
>dtsVars = new LoadVars();
>
>dtsVars.myfile="c:\test.txt";
>
>dtsVars.onLoad = respond;
>
>dtsVars.contentType = "multipart/form-data";
>
>dtsVars.sendAndLoad( "http://192.168.0.2/upload.cfm";
><http://192.168.0.2/upload.cfm> ,dtsVars,"POST
>
> <http://192.168.0.2/upload.cfm> <http://192.168.0.2/upload.cfm> ");
>
>}
>
>
>
>upload();
>
>stop();
>
>
>
>It shure would be nice to have the ability to simulate the <input
>
>type="file"> field within Flash.
>
>
>
>Is there another way to send file uploads from Flash? Can I embed an
>
>HTML form in Flash???
>
>
>
>Joshua Miller
>
>Head Programmer / IT Manager
>
>Garrison Enterprises Inc.
>
>www.garrisonenterprises.net <http://www.garrisonenterprises.net>
><http://www.garrisonenterprises.net/>
><http://www.garrisonenterprises.net/>
>
>[EMAIL PROTECTED]
><mailto:[EMAIL PROTECTED]> 
>
>(704) 569-9044 ext. 254
>
>
>
>********************************************************************** 
>
>*
>
>*
>
>*************
>
>Any views expressed in this message are those of the individual  
>
>sender,
>
>except where the sender states them to be the views of
>
>Garrison Enterprises Inc.
>
>
>
>This e-mail is intended only for the individual or entity to which it
>
>is addressed and contains information that is private and  
>
>confidential.
>
>      
>
>If you are not the intended recipient you are hereby notified that any
>
>dissemination, distribution or copying is strictly prohibited. If you
>
>have received this e-mail in error please delete it immediately and
>
>advise us by return e-mail to
>
> <mailto:[EMAIL PROTECTED]>
><mailto:[EMAIL PROTECTED]>
>
>[EMAIL PROTECTED]
><mailto:[EMAIL PROTECTED]> 
>
>********************************************************************** 
>
>*
>
>*
>
>*************
>
>
>
>
>
>
>
>      
>
>
>
>    
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to