Php :: Integration Between HTML Form To Flex Application
Mar 18, 2011
I have an integration problem between an HTML and a Flex application. I have a Flex application that exists on a domain, let's say [URL]. The application requires the user to login from a user, password input built in Flex - The user information is stored in a database that the Flex application query through php. Now I want to build an external login from a html form. This form is a part of a site on let's say the domain [URL]. I want to be able to fill in the user information on the 'otherdomain', send him/her to 'onedomain' with POST variables and make the Flex application use the credentials and login the user in the application.
How can I implement this in a secure way? I don't want to e.g. store the username and password plainly in flashvars. I can login the user before the Flex application. So it would be possible to e.g. login the user, get perhaps some token from the server that could be passed to the flex application, and then check that the token is right according to the server from a Flex call.
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:
I am working on Flex 4 and I want to use reports with my Flex project. Is there any way to do the same? I mean any report library provided by Flex or any 3rd party application integration?
I've got a flex app that is basically completed it uses Zend AMF to connect/supply data.My app does have a login screen which seems to work fine. Now I'd like to add another login form on my site that would allows users to enter in username/password. When submitted form should pass the data to the flex app and bypass the application's login.
I have a flex application that has a home button. I need to reset the application when this button is clicked. I can't use navigateToURL or ExternalInterface.call("window.location.reload"); as its not acceptable to reload the swf file.
i'am developing a flex media player that will be include in a simple html file. my project plane is:
1-loading a xml file (using HTTPService) 2-find the sound address in the xml (Using E4x) 3-load the sound 4- ...
when i run it with adobe flash builder or generate a release version, it works fine. but when i use the flash file in my html file it's xml loading process doesn't work!
after some try , i realized that if the swf file be in the flash builder workspace directory, it work , else it doesn't work.
note that my OS is Microsoft Windows 7 32-bit
what is the different between the workspace directory and usual directories?
How do I embedded a HTML-enabled javascript editor on top of Flex web application? FCKEditor is not free but any free editor with basic toolbar will do?
I have an html file which I want to use every time I debug my flex application. I don't want an new html file to be generated every time. How can I do this?
I want to show a local html file into my application but I could't find to do that.
I used <mx:HTML> component with using its location property but it is not working when I try to do it with a local file which is in applicationdirectory.
EDIT: Here is my code :
<fx:Script> <![CDATA[ private function init():void {
I'm currently learning to make facebook apps with Flex from here:[URL] I've done step 6 in "Upload the application to your web server" section which is to upload the Flex files in bin-debug folder via FTP and run it, but the facebook apps just doesn't show on the webserver I use. here is where I uploaded the files:[URL]I can't locate the problem, is it because the webhosting or what?
I need to get a contact us form in a flash site to send an email to me when someone submits it. I bought a template ([URL}..and it has an area for contact us, but the form doesnt actually work. The template seemed easy enough to be able to get to that page, took some searching in there, so i just need to somehow add some action script that can send me the info.
I have a html/flash site now, [URL]. i access email from my site itself by giving the userid and pwd text box which i copied from the actual website hosting my email access. i copied the entire <form...></form> tag to my page and thus was able to put the name and pwd in my home page only and access the email in a separate window. now i have redesigned my webpage using only flash. i would like to know how i can implement the same using flash. as i have not much experience using action scripting i am a bit stuck about how you pass the hidden form variables. the below is the the exact form syntax:
I want to specify a string value in the HTML containing my Flash created using Flex 3. This value is a URL that is used by the Flex code and I want another dev to be able to update it. How do I do this? I'm using Flex Builder 3.
I am trying to send data filled out in a form in my flash movie to send mail using CFMAIL. In my form that is in Flash I have variables set. Then when the button is pressed loadVariables("sendMail.cfm", "POST");
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?
My contact form works just fine, however, I currently have the target set to "_blank" which is not what I want. Rather than opening the .php file open in a new window, I just want to go to a new frame (labeled "success" or "error")within my flash file (which currently works fine)So, my question is how do I send the form information to my php file WITHOUT having to open a new window outside of my flash file since I'm sending the user to new frame instead.
FYI: I've already tried removing "_blank" but it still opens the php file in a new browser window.
My code below:
on (release){ var my_lv:LoadVars = new LoadVars(); my_lv.fullName = fullName_txt.text;
I am working with Flex 4 windowed application. I have a mx:HTML container with location attribute like [URL]. That abc.html has a html button and i want when that html button is clicked then a flex windowed application function should be called.
I'm using a simple form to submit to a php mail functions.works fine, however when i publish for flash 8 the mail body shows all the inline style as plain text.[code]...
i am having a problem with the combobox component.i have a mysql database with a student and a class table.i want to make a registration form for the student. i have the combobox here where he picks his class (populated from the class table). The class_id is a foreign key to the student table and it's invisible in the combobox. i want when the students registers from his selection on the combobox to write in the database the corresponding class_id.
I have noticed two differences between spark and mx forms which are causing me some problems. It seems by default the mx forms are arranged to the label is above the form input item. In Spark they are arranged next to each other. Also the label in spark forms are bold by default.For example MX code could be
I had been using Flash Lite 2.0 for application.I need to set time in Flash (ie) In my application i have to set time to 60 secs. when i enter into application the time starts from zero and when it reaches 60 secs the application has to exit.
I want to create a Desktop Application using Flash. how to create a executable Flash Application and how to connect the flash with database in a desktop Application.
I plan to use Social Gold for payment in my application. SG site has instructions for using the service and sale of virtual currency [URL]- it using signatures and server requests.However, on the same site is an example of the [URL]In this example, the game absolutely does not use a server method, and sends the secret parameters not safe. I understand that this is done for testing.
Each user my app gets a unique id when registering. Each time the application start accesses the database and gets information about the user: settings, value of virtual currency, etc. After performing certain actions (click on the button, buying patterns) is debit the currency. If the user wants to purchase with the help of Social gold virtual currency, then I need to get from SG service callback that payment by the user with id = '12345' was successful. Yes, I can set in control panel Postback URL, but how it can change the data in my flash application?