Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 01-13-2008, 07:45 PM   #1
lammspillning
Registered User
 
Join Date: Jan 2008
Posts: 1
Default Load php value

I have a script I think should send a value that a radiobutton creates to a PHP. My problem is now:
I want a dynamic textbox in a different movieclip to retrieve and show the value that has been sent to the PHP file.
How would I go on doing that?
This is the code I have to send the value:
Code:
Button.onRelease = function() {
	//trace(radioBtn_value);
	
	var lv = new LoadVars();
		lv.sendToPHP = radioBtn_value;

	lv.sendAndLoad("myPHP.php",lv,"POST");
}
lammspillning is offline   Reply With Quote
Old 01-22-2008, 08:29 PM   #2
sneakyimp
Senior Member
 
Join Date: Dec 2003
Location: Silver Lake
Posts: 340
Send a message via AIM to sneakyimp
Default

You would need to set up PHP to store the data - this requires that you write the data to a file or to a database or perhaps a cookie. Cookie is probably easiest.
__________________
Write multiplayer games with FlashMOG 0.3.1
Try the MyPlan Salary Calculator
sneakyimp 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 Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Flash with PHP load Chinese Characters fusionx3 Server-Side Scripting 1 04-23-2009 03:06 AM
Load variables from php to flash asxeto4 ActionScript 2.0 3 02-17-2006 03:00 PM
need to load database data into flash through php jphelan ActionScript 2.0 2 02-01-2006 09:50 PM
load external php into flash adamkearsley ActionScript 1.0 (and below) 0 12-19-2004 05:06 PM
load php variables with iterations transductor Server-Side Scripting 0 05-23-2004 08:01 AM


All times are GMT. The time now is 04:45 PM.

///
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.