Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 20th, 2008, 01:13 AM
benno32's Avatar
benno32 benno32 is offline
/*
Dev Shed Novice (500 - 999 posts)
 
Join Date: Mar 2007
Posts: 502 benno32 User rank is Major (30000 - 40000 Reputation Level)benno32 User rank is Major (30000 - 40000 Reputation Level)benno32 User rank is Major (30000 - 40000 Reputation Level)benno32 User rank is Major (30000 - 40000 Reputation Level)benno32 User rank is Major (30000 - 40000 Reputation Level)benno32 User rank is Major (30000 - 40000 Reputation Level)benno32 User rank is Major (30000 - 40000 Reputation Level)benno32 User rank is Major (30000 - 40000 Reputation Level)benno32 User rank is Major (30000 - 40000 Reputation Level)benno32 User rank is Major (30000 - 40000 Reputation Level) 
Time spent in forums: 1 Week 3 Days 1 h 29 m 37 sec
Reputation Power: 391
ActionScript 3 - Synchronous HTTP requests

Hello folks,

I am trying to--with Flash--perform a synchronous HTTP request. Much like what we can do with javaScript's XMLHttpRequest object?

I only want to send some text to a PHP script so that they can be written to a text file on the server. I really do not want or need to open up a new window for this.

The only two options I can think of are to:

a) Use the Flash external library class to actually use the javaScript XMLHttpRequest object; I think this is called Fajax.

b) Open an XMLSocket and use PHP's socket functions to send and receive information to the server that way. This is--I think--massive overkill in my case.

Anyone have any better ideas?
__________________
---| The Universe|

Reply With Quote
  #2  
Old July 20th, 2008, 04:59 AM
Tann San Tann San is offline
Gotta get to the next screen..
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Nov 2003
Location: Legion of Dynamic Discord
Posts: 4,716 Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)  Folding Points: 11326 Folding Title: Novice Folder
Time spent in forums: 3 Weeks 1 Day 12 h 25 m 15 sec
Reputation Power: 580
Facebook MySpace
Heya, this post shows how to send XML and plain string variables from Flash to PHP. Are one of those what you are after?
Comments on this post
benno32 agrees: That's exactly what I was after. Thank's mate!
__________________
-Tann

-Vote for your favorite ActionScript editor here.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > ActionScript 3 - Synchronous HTTP requests


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT