ActionScript 3.0 :: Data Capture Form With Remote ASP Server?
Aug 17, 2009
I'm making a small flash app that's going to have a data capture form at the end. The problem is that it's going to be hosted on someone else's server and we need to capture the data ourselves. Our server is ASP and I really need the data from the form to be sent to us where it will be written to a database. - Is this possible at all? I've been looking into URLLoader and URLVariables but our tests aren't working so far.
Here is the AS3 code I'm using in the flash file..
ActionScript Code:
Code:
contact_name.text = contact_email.text = contact_subject.text =
contact_message.text = message_status.text = "";
send_button.addEventListener(MouseEvent.CLICK, submit);
[Code].....
View 1 Replies
Similar Posts:
Jul 8, 2006
Thus far I've learned how to create a contact form withfields for name, e-mail, phone number, and comments to include abutton for send and a button for clear. My question is what do I donext to capture and send the data to me via e-mail? I'm told Icould do it with PHP in my SQL I haven't a clue as to where to
View 2 Replies
May 8, 2006
I am trying to have a PHP page load some variables into aFlash banner ad that will be running on 8 different websites...I need to have one central location for the PHP page andallow 8 other domains access this data...I am finding that when everything is on one server... noissues... data reads just fine...But when the PHP page is on one server and the SWF file onanother... the data never gets through...I am assuming this is some issue with security within
View 1 Replies
Feb 22, 2010
I am trying to access a FTP server that allows anonymous access to the data files stored on the server.. they are stored as txt files... I want to display some of the files in a flash CS4 Movie... It is also on a HTTP server directory...
I have accomplished it within the CS4 Flash development application using the HTTP Server but when I publish the document it gives me a blank stage the data that shows in the Test Movie swf is not showing when the SWF is on its own... I am thinking it has something to do with crossdomain security that is built in... is there a way I can accomplish this? I prefer the FTP access but will use the HTTP access...
Here is the AS3 I am using...
import flash.net.URLLoader;
import flash.net.URLRequest;
import flash.events.Event;
[Code].....
View 13 Replies
Dec 20, 2006
I am in the process of creating a flash site for friend of mine. He wants to be able to have a guest list for his events in DC. I have created form boxes and have given them all "instance names". But I have absoultely NO clue how to have the text entered by people trying to get on the guest list sent to my server so we can all read it.
I have a book on Flash but it really doest explain how to do it at all. I'm guessing I need to do some actionscript?
[Code]....
View 8 Replies
Oct 19, 2009
I am trying to create a simple form using Actionscript 3 that will collect data from a form, then pass that data to an asp file. I have attached the following code to the submit button,but this is not working.I'm not sure if I have to add anything else and I don't understand why this is not working. I'm trying to load all the variable info into one variable called email form.
submit_btn.onRelease = function() {
var emailform:text;
emailform.email_txt = email_txt.text;[code]......
View 1 Replies
Oct 14, 2010
The instructions for installation only cover installation on "localhost". I'm wondering if I could use the development server for a small scale website depolyment with restricted traffic, from a commercial server, such as goDaddy?And if so, what''s the method? Do I download the package from Adobe to my local hard drive and install over the network, or copy the package to the server and install it online?
View 1 Replies
Apr 29, 2010
how can we create a application that can capture screen in the form of video with voice or sound.how can it possible in flex their is no problem if we take help from java,red5 or fms or any other tool of adobe.
View 1 Replies
Mar 19, 2007
I'm trying to make a small email capture form, but I'm having trouble getting Flash to pass the email address to the server. I've since given up trying to use getURL and I'm simply trying to trace the variable instead. The form consists of a text box w/ instance name "email_txt" and a button w/ instance name "btnSignUp." the actionscript is placed on the button.
Here's PHP Code:
on(release) {
trace("email_txt says: " + email_txt);
// getURL stuff here
}
My trace statement reads:
Code:
email_txt says: undefined
View 5 Replies
Sep 27, 2010
I'm using the RTMFP protocol to publish and play video and audio, but i'm with a little problem. I installed the FMS 4 Development Server in a Windows Server machine located in our local network and it works perfectly. In order to deploy our application, we have a remote server with a fresh install of the Ubuntu 10.04 Server, and the FMS 4 installed in this server. In other server we have the Java and Flex application, which will be used in the client browser.
The problem is that when trying to change the NetConnection url to the remote FMS server, which is the Ubuntu server, the netconnection can't connect to it. When changing to the RTMP protocol it connects, but with the RTMFP don't. I can't find any information in the log files or anything else.
View 9 Replies
Jan 4, 2011
I am writing a game where positions of an object are being exchanged between the two flash clients through a java server. The secnario goes simply like this:
PlayerA ---> Server : "Position X + Position Y+
"
Server ---> PlayerB: "Position X + Position Y+
"
and it works both ways of course.the problem here is that on my computer where i use "localhost" everything is fine and the data is exchanged seamlessly .. when I loaded the server on a remote host the message received strangely turns into something like "Position X + NaN" (i.e. the y position is wrongly parsed by the server), what is weird even more, is that sometimes, the message gets parsed correctly..the server is wrote in java and it is exactly the same source code that works on my machine that fails over the internet
View 1 Replies
Nov 28, 2009
am sending one user object from java to flex using remote object,now i want to get each item from that array to display in text boxes...how can i do this ?
userInfo=event.result as Array;
<mx:FormItem label="FirstName" fontWeight="bold" width="325" required="true">[code].....
View 1 Replies
Jun 21, 2009
what I'm looking for is a tutorial on how to save a MC directly to my server. So let me explain this. The user will click on a button inside my flash application and it will save the MC straight into a folder on my server (as a jpeg), so it can be accessed later on.Is this even possible?
View 1 Replies
Sep 11, 2010
I created a for loop to assign properties to my buttons all at once. The thing I can't figure out how to do is capture what button was clicked in the past. Basically, [code]...
My dilema is setting up my code so it remembers what the previous button was so I can add code to do something to that.
View 3 Replies
Jun 2, 2009
i have an ongoing project something like this [URL], same concept, upload image and the template sits above the uploaded image then save to the server. The problem is it only saves the template and without the uploaded image. So how can i save the template with the uploaded image? something like a screenshot on a specified width and height? Im still exploring actionscript specially as3.
Code:
var jpgSource:BitmapData = new BitmapData (container_mc.width , container_mc.height);
jpgSource.draw(container_mc);
[Code]....
image_mc is the container for the uploaded image since i want to edit the image then save the image with the template as my border or something like a picture frame (container_mc). Yeah i know you've seen this code in some tutorial, i just want to tweak it so that i can learn to manipulate the actionscript.
View 5 Replies
Sep 24, 2010
I have to take a snapshots form my webcam every 5 minutes. Now my script is whit a button and its working but my file have to take the picture alone and then again whitout button to send them? I saw something on the net but when I try to do it its not working.
View 1 Replies
Nov 17, 2009
I have made a very simple RSS display that pulls a XML twitter feed from twitter.com. My problem is that it works locally, but will not work on the server. I have tried adding a crossdomain.xml file, adding allowDomain() method and setting the embed param's allowScriptAccess to always. Still It will not work through a browser.
View 0 Replies
Feb 9, 2009
My client can't store the .swf file on the same server as the referencing html file.I tried using an absolute URL in the html to load the .swf file from a different server, but it doesn't seem to be working, (just a blank page, no errors or anything).I'm using swfobject 2 generator to generate the html page. Works fine if both swf and html are in the same directory, doesn't work when they're not.[code]
View 5 Replies
May 4, 2007
How to store the data text in Access databases using flash form and to search into the database. It is possible to work without server because I don't want to put this flash file on the net. how to make databases and to connect with flash and to have possibility to search the database, but to work database in the local computer.
View 1 Replies
Nov 24, 2009
I have few queries on Flash Media Server:
My Requirements 1. First requirement is to broadcast a live event through a website. So I need to develop an application to capture the event using a cam (I don't want to use Media Encoder) and I need to create a player for the web site.2. Second requirement is, in a webpage need to display the same live streaming event, also need to display another 8 live videos (which capture the webcam of 8 different users). Basically can I do multiple streaming how can I handle
Questions:a. Can I use Flash Media Server to meet the above requirements?b. I have a dedicated server for FMS and I have webhost for hosting the website. Since FMS and the web hosting are different server, will FMS communicate with the hosting server?c. What is the minimum config for the hosting server? Is it better to go for some Unmetered Servers?
View 1 Replies
Dec 1, 2011
I am developing video conference application in flash with FMS4.5 and integrating StageVideo API for rendering video on hardware and it's working very nice but, I am not able to capture picture from StageVideo.
View 5 Replies
Oct 24, 2011
I'm currently working on a project - an online education system, and I need to make it possible for studs to introduce themselves in a 30 sec audioclip. I need to implement it with Adobe Flash. The problem is that I have no idea how the Flash + Red5 duo work together. There aren't that many helpful recourses online, at least for me since I'm a beginner at Flash. (I do mostly PHP stuff.)
1) When you connect to the server, how do you make it record audio from flash client? 2) After 30 secs, how do you stop recording and save file in a specific folder on a server?
View 4 Replies
Feb 25, 2008
Is there a way to capture the info that a user types into an input field locally if I'm somewhere that doesn't have internet access?
It is a sort of kiosk that will not have internet access and I need to capture the name and email addresses of the users.
View 2 Replies
Apr 28, 2010
I m working in flex3.0 and i just want to know that how can i call a function from fms server to my AS3.0 (Client Side) code.i tried the syntax client.call(methodname,null,null); but my flex code throw exception unable to call the method.here can i use clientobject.call (methodname,null,null) and is there some special way to declare that method at client side.
View 3 Replies
Feb 9, 2012
I am working on a project that requires the stage (and everything on it) to be captured, converted to a bitmap and then that data to be posted to another domain. I have looked at the .getPixel method but that creates a ridiculously long string and more often than not, will crash the swf in the browser. How I could possibly approach this. Oh, I need to do this in AS2 too.
View 1 Replies
Mar 12, 2011
I'm implementing an Augmented Reality application for android using Flash. In order to get the application working on my Android Phone (nexus One) the Phone Camera must be activated as well. So I need 2 layers one for the background which is the feed of my phone camera and an other one on top of it which is the view from away3d in this case.So setting up a BitmapData object to hold the information of the most recent webcam still-frame I can make this work.
If I use papervision3D library and FLARToolkit we setting up the BitmapData using the following part of the code found from this video tutorial:
//import libraries
import org.libspark.flartoolkit.core.raster.rgb.FLARRgbRaster_BitmapData;
import org.libspark.flartoolkit.detector.FLARSingleMarkerDetector;
[code]....
View 1 Replies
Jan 14, 2008
I have an Access Database (doesn't need to be Access, I can phpAdmin or mysql, whatever will work) that has a list of names. I want the user to open a Flash form and have the names load up into seperate input boxes for each name. The user can then change the names, move them, whatever, and then save the record. I want it to just overwrite the record. I donlt want create a new record. I cannot, for the life of me, figure this out. I have tried to find some tutorials but nothing makes sense. Is ASP a good way to go? I have been struggling with this for a week now.
View 3 Replies
Jul 26, 2006
I currently have a Flash app that gets populated by parsing data from an external XML file. However, I need to get the XML data into a (JSP) session and can't neccesarily have an external XML file--any suggestions? Can I put the XML string into a hidden input field in a form on the HTML? Can Flash communicate with that HTML? Or are one of the below methods recommended:
* FlashVars
* Flash Remoting
* Web services
* JavaScript - call JS function
* fscommand
* ExternalInterface
View 1 Replies
Jun 12, 2009
make a Flash contact form and send the data in an email without using a PHP script? My server does not support PHP... How would I go about sending an email from flash using a different language?
View 5 Replies
Jul 25, 2007
I want to create a flash form and be able to collect the dataoffline. The company I work for has a e-newsletter, and we wouldlike to set a lab top up (outdoors w/ no interenet connection) atan event and have the people sign up for the newsletter on thisflash form and collect the data in some kind of database (excel orwhatever). We had used paper in the past, but taking the names andemail addresses from the paper is time consuming and sometimes very
View 1 Replies