Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 05-25-2007, 02:07 PM   #1
designationlocutus
Registered User
 
Join Date: Apr 2007
Posts: 5
Default Ajax and Flash

Hi there,

Would it be possible to use AJAX from within a flash form?

The process I need to achieve is as follows:

- Player finishes a flash game.
- Player gets highscore.
- Highscore is checked against the XML data.
- Player submits highscore (here the ajax part calls a php script that writes to an XML file)
- XML file reloaded after a short delay to reflect the new highscore.

Is there still a security issue to call the script from within flash?
designationlocutus is offline   Reply With Quote
Old 05-27-2007, 10:31 PM   #2
jsebrech
Joeri Sebrechts
 
Join Date: Apr 2005
Location: Antwerp, Belgium
Posts: 1,465
Default

Just use the LoadVars or XML classes to fetch the data from the server. As long as your swf is served from the same server as you're sending requests to, there shouldn't be any security issues.
jsebrech is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Back Button to a Hash Disables Flash Buttons Until Second Click gus_welter ActionScript 2.0 4 06-05-2008 02:06 PM
Flash vs Ajax thephosphorbox Other Flash General Questions 4 02-15-2007 02:16 PM
Update flash with php sessions through Ajax? Symtex Server-Side Scripting 3 01-28-2007 09:38 AM
AJAX and Flash AlistairMac ActionScript 2.0 2 01-18-2007 02:10 PM
Programmer needed for flash, VBB, PHP, AJAX, etc. demonVapor Projects and Positions 0 01-17-2007 10:48 AM


All times are GMT. The time now is 11:11 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.