ActionScript 3.0 :: Flash - Use A URLRequest To Get Login Information From The MySql Server

Jul 26, 2009

I'm having a little trouble with the 3. I'm trying to use a URLRequest to get login information from the mySql server. It works great when I try to log in, but if anyone else from outside my network tries to log in, it just hangs. I'm on port 8080 using localhost. I've even tried changing everything to my IP address instead of localhost and allowing my tester to try, but it still hangs.

View 6 Replies


Similar Posts:


ActionScript 2.0 :: Create A Login Page In Flash Site That Relates To Information Input To A Mysql Database

Oct 11, 2006

I need to create a login page in my flash site that relates to information input to a mysql database. after the submit their information we want to send them a link to a differnt flash page with a login screen they will use their first name and a password (already in our database) to gain access to this "new" page. on that page there will be a welcome message that says "Welcome, User First Name" so I guess i have two questions

1: how do i set up a login page?

2: how do i pull that login info to a welcome page?

View 7 Replies

ActionScript 2.0 :: Build A Flash Login Using PHP And MySQL?

May 7, 2010

I've been messing around trying to figure out how to build a Flash login using PHP, MySQL, and AS2. Can't seem to get it working. What I want is, if the username and password match up with entries in the database, the user is taken to frame 2 of the movie. If the u/p doesn't match up, they're taken to frame 3 where a login failure message appears.

View 0 Replies

ActionScript 1/2 :: Getting Information From XML Information Sent To Flash File From The Socket Server

Jul 5, 2009

I'm kinda noobish when it comes to getting information from XML information sent to my flash file from the socket server. OK so for example the server sends me this:

[Code]...

I want to get the name of the user and the X and Y position! Is there a way I can get this information without a load of fuss from functions and other junk remember im kinda noobish.

View 1 Replies

ActionScript 2.0 :: Login Through Php / MySQL

Sep 9, 2008

I'm running into a problem with a login and password screen through Flash. It connects to MySQL database to check if the username and pass are correct. Well, when I test it and click submit it just sits there and says in the status bar of the browser, URL...I believe that the PHP and MySQL part of this project are working correctly and just want to see if anybody notices anything wrong with the AS code calling for the PHP that's in the swf:[code]

View 2 Replies

ActionScript 3.0 :: MySQL, PHP Login For Website?

Dec 20, 2009

I've been working on a login for my AS3 website and I keep running into this issue where my novie gets stuck at "loading..." as you can see if you go to this websiteand try to create an account. I have a login.swf, a login.as, login.php, and newAccount.php all in the same directory folder. I've cleaned up some of the more obvious coding errors, but I'm a design guy thrown into a coding job... Errrr, not so fun. I'll post the contents of the files below , even though I'm pretty sure that's a no no...ogin.as

PHP Code:
package {
import fl.controls.Button;

[code]....

View 8 Replies

ActionScript 3.0 :: Login Page Using Php And Mysql?

Jan 25, 2009

I want to have a login page in flash,which takes two inputs and passes it to the php. Then php checks the data base to see whether the username or password in valid or not and then replies back to the flash.

Is there any existing code for this

View 1 Replies

ActionScript 3.0 :: Secure Login With MySQL And PHP

Dec 13, 2011

I was wondering what the best route to take for making a login. The idea is to have the user login with their username and pass on frame 1. If the username and pass exist in the MySQL database then the user will be moved to frame 2. What would be the best way of achieving this? I know AMFPHP is old and I have heard to use ZENDAMF instead, but it seems that any recommendations are 2+ years old when I searched Google.

View 1 Replies

PHP :: How To Store Registered And Guest Session Login In MySQL

Aug 27, 2010

I have a highscore system in that I have small doubt like I want to store the user session in the mysql table and also the guest session. Like if the user is registered user then that session should be stored in the mysql db. Else if the user is not registered i.e guest user then also I need to store with the guest account for my high score system for a flash games site.

View 1 Replies

Professional :: Retrieving Information From Mysql Databases?

Oct 22, 2011

I already know that AS3 cannot retrieve mysql database information directly

so instead you have to access it with PHP print the contents into xml and have AS3 read the XML are there any other methods of doing it?

View 3 Replies

Php :: HTTPService & MySQL - Can't Post Needed Information To My Database

Aug 30, 2010

I can't seem to post needed information to my database, here's what I've got:

[Code]...

So what is wrong? Why ain't it adding the information to my database?

View 3 Replies

ActionScript 2.0 :: Performance - Retrieve Information Of Different Tables In Mysql?

Oct 4, 2004

I'm building a Flash website with database information with php>mysql>xml>Flash mx 2004. I'm having some major problems!I need to retrieve information of different tables in mysql, and was worried about performance issues.The first query gets the whole model list...The second query will be performed after a model is clicked. Something like: select * from modelinfo where modelID=modelIDinFlash.

The third query is what I have a lot of trouble with! This has to run on the same time or immediatly after the second query. It reads the picture urls and id's from that particular model. I need the filenames for the picture viewer.But everytime I try this third query, the site becomes very slow and have problems displaying the model info.NOW I have a temporary solution: in the first table I have a field which states how much pics each model has, and this number Flash uses to build the nr buttons. But this is not a very solution since I want to keep everything dynamic. I also want to build a drag and drop function... something like a shopping cart. For that to work, every picture must have an unique ID.

View 1 Replies

Actionscript 3 :: Flash - URLRequest/URLLoader - Server Not Receiving Data?

Sep 11, 2011

I am trying to send a server "schooltraq.com/api/" variables for a request.My Code:

package
{
import flash.display.MovieClip;
import flash.display.Sprite;
import flash.events.*;

[code].....

How ever when I keep getting back "error:empty request". I emailed the site owner and he said that my program may be dropping the data during redirects.[URL]

View 1 Replies

Flash :: Encrypt Information That Is Sent From Swf To Web Server?

Dec 8, 2009

i want to make flash programs that send information to the web server that cannot be revealed by the user. of course the user will be able to see that HTTP request that is being sent, but i want to encrypt the data before transferring it. what's the best method to achieve that ?

View 2 Replies

Flash Login Page For Multiple Separate Login Accounts

Aug 17, 2009

I have a need to build a flash login page. No big deal, but I need to have six seperate login accounts. For example:
Username: user1 Password: pass = link to [URL]
Username: user2 Password: pass = link to [URL]
Username: user3 Password: pass = link to [URL]
and so on for up to six users.

Again the usernames and passwords would not change, but need to redirect the particular user to a certain page.
stop();
var user_input = "";
var pass_input = "";
login_button.onRelease = function(){
if(user_input == "user1"
&& pass_input == "pass"){
getURL([URL], "GET");
}else{
gotoAndStop (3);
}}

View 7 Replies

Server Side :: Flash Mx And Php - Obtain Information About The Users Of Sites?

Jan 3, 2003

I have been trying for a few days to obtain information about the users of sites. No success so far.In flash I am using:

loadVariablesNum("mailPHP.php", "0", "POST");

My php code is:

PHP Code:

<html>
<body>
<?php
$mail_to="northls@nbkayaking.com";[code].....

I know I have made an arseup somewhere.

View 14 Replies

Media Server :: Sending Information From Server-side Script To Client?

Apr 18, 2010

I have created a script for an Adobe FMS application to broadcast a playlist of video files as a live stream. (internet tv)
 
I am now working on a custom Flash-based video player to play my stream.

How do I send information from my server-side FMS application (main.asc) to the client-side video player? (e.g: title, duration of current video player)

View 2 Replies

ActionScript 3.0 :: Program Installed On A Game Server That Outputs The Server Information?

Sep 24, 2011

I only started coding Actionscript about two weeks ago and I really need help on this, I am seriously considering just coding an if statement for each value if I can't figure this out. Sorry if my code is terrible formatted, I am self taught using Adobe Help.This is what I need help on.I have a program installed on a game server (CoD4) that outputs the server information including player(s) info and would like to be able to make it so that there is a flash document on the website displaying the information for each player. I wanted the program to build the information automatically and so far I have been able to make it work but the formatting of the output is terrible.To make things simple, the only real information I need from each player is their name and guid. Hopefully each player's info is on a new line.This is the xml document the server is outputting:HTML Code:[URL]

Code:

import flash.net.URLRequest;
import flash.net.URLLoader;
import flash.events.*;

[code]....

View 4 Replies

Media Server :: Can't Login To Admin Server?

Apr 1, 2011

I simply can not login to the admin server. I'm connecting to the flash admin-frontend which is hosted on the same server which the FMS is running on. The FMS version is 3.0.1 and it's running on RHEL5.
 
I've set the user and password in conf/fms.ini. I have checked that I have permission to connect in conf/Users.xml. Everything seems like it should work, but it just won't let me in and when looking in the logs (logs/admin.00.log) I just get a lot of lines saying "Failed login attempt from."
 
Apart from this the server works. We are still using it for streaming and we have been able to login to the admin interface before, but it was a long time ago and now it just won't work anymore.

View 3 Replies

Php :: MySQL Or XML: Saving User Votes On Server From A Flash Movie?

Nov 21, 2009

A project of mine involves a flash movie (.swf) in a webpage, where the user has to pick from a number of items, and has the option to thumbs up or thumbs down (vote on) each item.So far I have gotten this to work during each run of the application, as it is currently loading the data from an XML file - and the data is still static at the moment.I need to persist these votes on the server using a database (mySQL), such that when the page is reloaded, the votes aren't forgotten.Has anyone done this sort of thing before?The two mains methods that I have found on the 'net areeither direct communication between AS3 and the SQL using some sort of framework, orpassing the SQL query to a PHP file, which then executes the SQL query and returns the SQL to AS3.

Which of these methods is the better option?For the latter method (involving PHP), I have been able to find resources on how to acheive this when attempting to retrieve information from the database (i.e. a read operation), but not when attempting to send information to the database (i.e. a write operation, which is needed when the users vote). How is this done?Edit: Implemented solutionSomewhere in the PHP file:

if ($action == "vote")
{
$id = $_POST['id'];

[code]....

View 2 Replies

Flash :: Server Side - Passing Vars To Php And Edit A Mysql Row From The Db

Oct 5, 2005

i'm passing vars from flash to php and trying to edit a mysql row from the db. anyone know php and can spot something going awry with my code here?

[Code]...

View 11 Replies

Flash - Obtain System Information Or Cpu Information Using Adobe Flex?

Feb 11, 2011

I want to build a program built around my pc specs. Is there a way to access such information as how much ram I have or how much cpu usage is being consumed, etc.?

View 2 Replies

ActionScript 3.0 :: URLRequest To Remote Server?

Jun 1, 2009

Can I send and load variables to a php script on a different server? Hen I try I get a Error #2048: Security sandbox violation How do I get around this?

View 14 Replies

Media Server :: Login Flash Media Admin Console

Jul 12, 2010

New to FMS, testing FMS Developers versions.Connect and Live stream works fine using FMLE.Problem is I'm not sure how to get logged into the Admin Console.I'm not sure about what the "Server Name" is or the "Server Address". Is that just the IP address or the IP plus something else? How can I tell?FMS install was done by tech at hosting company and he forwarded this info:[code]

View 14 Replies

ActionScript 3.0 :: URLRequest To PHP File On Remote Server

Oct 22, 2009

I would like to do a URLRequest to a PHP file which contains xml, and the PHP file will be living on a seperate server from my flash file. I understand there are security issues in this sort of thing. figure out how to make this work?

View 2 Replies

ActionScript 3.0 :: CS5.5 - Load XML Via A URLLoader And URLRequest To A Server

Aug 6, 2011

there you are, you set up your AS3 code to load XML via a URLLoader and URLRequest, as normal. You then take your XML file, and upload it to a server. You then run your program, and trace out the XML you receive. So far so great, and you see the results of your XML traced out. Then you change something on your XML, either adding to it or removing a line. You then run your program again from CS5.5, and trace out the XML, and it shows the same results that it did before you made any changes. I deleted the XML file from the remote server, and it is like it stored it in cache, and still able to read it. If I change the url or file name, it gives me an error, which it should.

If I point the url back to my remote XML file, and run the program again, it gives me the XML results I had in the beginning, before I made any changes to it (regardless if the XML file exists). The only fix I have found so far, is closing CS5.5, and reopening, and then it can see the changes. I did that, and it was able to see my XML changes on my remote server, but again, only one time. If I try to change anything, or delete the XML file, it still pretends as if its there, reading the results that it read the first time I run the program. Is this a cache issue? Anybody else experience this? I never remember running into this problem using CS5/CS4/CS3, only CS5.5. Of course, I can test it all locally first, and then upload the XML file to the remote server when I know that no other changes need to be made, but still, this is really weird!

View 1 Replies

Media Server :: Admin Can't Login In Console?

Feb 17, 2009

i can't login in admin console, fms 3.5, linux ES5

[URL](it prompts incorrect id/pwd after login)

I can do it in the server, localhost, successfully!

server add: 192.168.1.44 or 192.168.1.44:1111 or
192.168.1.44:1112
id: mint
pd: video123

[Code].....

View 2 Replies

Actionscript :: Can't Make URLRequest Locally To Nginx Server

Nov 4, 2011

The same code was working fine on lighttpd and apache, recently i switched to nginx and the app started crashing when I run it localy however it runs fine with the same code inside a browser.Here is the source code that makes a request to the server.

public function ApiCall(methodName:String,params:Object=null)
{
super();

[code]....

The flash player just crashes without any meaningfull error message.I checked on the php side and the $_POST array is empty for some reason.

View 1 Replies

ActionScript 3.0 :: FileReference.upload Is Opening Server Login

Feb 16, 2011

I haven't used FileReference much in the past. This is only happening on one person's computer, but I want to find out what is going on. When the user is looking for a photo via fileReference.browse();, they select the photo and then fileReference.upload() is called. The progress shows the file uploading, all the way to 100%. At that point, a server login panel pops up?

View 6 Replies

ActionScript 3.0 :: Can't Load File From Server With URLrequest, But Works Locally

Dec 22, 2008

I have made a XMLloader with URLrequest, and it works locally by calling the file directly by its name ie. "myFile.swf". var presLoader:Loader = new Loader(); presLoader.load(new URLRequest("myFile.swf")); addChild(presLoader);

But when I uploaded the loader to the server, I have no file, only "URL not found"-error. So I found out that I should change to URL to "/Files/Images/subloader/myFile.swf" then it will load. But thats a real problem, because I have several loaders.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved