Flash Vars To PHP
Dear Sirs, This script seems to work? i get the message sent... but then the php is not picking up the Vars, i inputed the $ tag to vars. the php text comes out but without the loaded vars.if this script is ok, then it will be the php script. can someone just browser though the code. much appreciated.import mx.controls.TextInput;import mx.controls.RadioButton;import mx.controls.RadioButtonGroup;import mx.controls.ComboBox;import mx.controls.DateField;// import the required component classes.import mx.controls.*;// define the component instances on the Stage.var Title:ComboBox;var Forename1:TextInput;var Surname1:TextInput;var Address1:TextArea;var Country1:TextInput;var Post_code1:TextInput;var Home_Phone1:TextInput;var Mobile_Phone1:TextInput;var Fax1:TextInput;var E_Mail1:TextArea;var clear_button:mx.controls.Button;var submit_button:mx.controls.Button;var Department1:ComboBox;var arrival_date:DateField;var depature_date:DateField;var rooms_combo:ComboBox;var availability_button:mx.controls.Button;var Honeymoon_Suite:ComboBox;var Delux_villa:ComboBox;var Superior_room:ComboBox;var Guest_Adult:ComboBox;var Under_3:ComboBox;var Below_15:ComboBox;var Transfers:RadioButtonGroup;var Transfers_Yes:RadioButton;var Transfers_No:RadioButton;var Port_in:ComboBox;var Port_Out:ComboBox;var time_arival:TextInput;var Login:TextInput;var Password:TextInput;// set the tabbing order for the componentsthis.Title.tabIndex = 1;this.Forename1.tabIndex = 2;this.Surname1.tabIndex = 3;this.Address1.tabIndex = 4;this.Country1.tabIndex = 5;this.Post_code1.tabIndex = 6;this.Home_Phone1.tabIndex = 7;this.Mobile_Phone1.tabIndex = 8;this.Fax1.tabIndex = 9;this.E_Mail1.tabIndex = 10;this.clear_button.tabIndex = 11;this.submit_button.tabIndex = 12;this.Department1.tabIndex = 13;this.arrival_date.tabIndex = 14;this.departure_date.tabIndex = 15;this.rooms_combo.tabIndex = 16;this.Honeymoon_Suite.tabIndex = 17;this.Delux_villa.tabIndex = 18;this.Superior_room.tabIndex = 19;this.Guest_Adult.tabIndex = 20;this.Under_3.tabIndex = 21;this.Below_15.tabIndex = 22;this.Transfer_Yes.tabIndex = 23;this.Transfer_No.tabIndex = 24;this.Port_in.tabIndex = 25;this.Port_Out.tabIndex = 26;this.time_arrival.tabIndex = 27;this.Login.tabIndex = 28;this.Password.tabIndex = 29;// set the default form focus to the name_ti TextInput instance, and set the default button to the submit button.Selection.setFocus(Forename1);focusManager.defaultPushButton = submit_button;// when the clear button is clicked, set the form fields to empty strings.var clearBtnListener:Object = new Object();clearBtnListener.click = function(evt:Object) {Forename1.text = "";Surname1.text = "";Address1.text = "";Country1.text = "";Post_code1.text = "";Home_Phone1.text = "";Mobile_Phone1.text = "";Fax1.text = "";E_Mail1.text = "";time_arrival.text = "";Login.text = "";Password.text = "";};this.clear_button.addEventListener("click", clearBtnListener);// when the submit button is clicked, send the form values to the server using a LoadVars object.var postBtnListener:Object = new Object();postBtnListener.click = function(evt:Object) {// if the name is blank, display an error message using the Alert component.if (Forename1.text.length == 0) {Selection.setFocus(Forename1);Alert.show("Please enter your Forename.", "Error", Alert.OK);return false;}if (Surname1.text.length == 0) {Selection.setFocus(Surname1);Alert.show("Please enter your Surname.", "Error", Alert.OK);return false;}if (Address1.text.length == 0) {Selection.setFocus(Address1);Alert.show("Please enter your Address.", "Error", Alert.OK);return false;}if (Country1.text.length == 0) {Selection.setFocus(Country1);Alert.show("Please enter your Country.", "Error", Alert.OK);return false;}if (Post_code1.text.length == 0) {Selection.setFocus(Post_code1);Alert.show("Please enter your Post Code.", "Error", Alert.OK);return false;}if (Home_Phone1.text.length == 0) {Selection.setFocus(Home_Phone1);Alert.show("Please enter your Home Phone Number.", "Error", Alert.OK);return false;}if (Mobile_Phone1.text.length == 0) {Selection.setFocus(Mobile_Phone1);Alert.show("Please enter your Mobile Phone Number.", "Error", Alert.OK);return false;}if (E_Mail1.text.length == 0) {Selection.setFocus(E_Mail1);Alert.show("Please enter your E Mail Address.", "Error", Alert.OK);return false;}if (arrival_date.text.length == 0) {Selection.setFocus(arrival_date);Alert.show("Please enter your Arrival Dtae.","Error",Alert.OK);return false;}if (departure_date.text.length == 0) {Selection.setFocus(departure_date);Alert.show("Please enter your Departure Date.","Error",Alert.OK);return false;}// if all the required fields have been filled in, create a LoadVars object instance and populate it.var send_lv:LoadVars = new LoadVars();send_lv.Title = Title.text;send_lv.Forename1 = Forename1.text;send_lv.Surname1 = Surname1.text;send_lv.Address1 = Address1.text;send_lv.Country1 = Country1.text;send_lv.Post_code1 = Post_code1.text;send_lv.Home_Phone1 = Home_Phone1.text;send_lv.Mobile_Phone1 = Mobile_Phone1.text;send_lv.Fax1 = Fax1.text;send_lv.E_Mail1 = E_Mail1.text;send_lv.Department1 = Department1.text;send_lv.arrival_date = arrival_date.selectedDate;send_lv.departure_date = departure_date.selectedDate;send_lv.rooms_combo = rooms_combo.text;send_lv.Honeymoon_Suite = Honeymoon_Suite.text;send_lv.Delux_villa = Delux_villa.text;send_lv.Superior_room = this.Superior_room.text;send_lv.Guest_Adult = Guest_Adult.text;send_lv.Under_3 = Under_3.text;send_lv.Below_15 = Below_15.text;send_lv.Transfer_Yes = Transfer_Yes.selected;send_lv.Transfer_No = Transfer_No.selected;send_lv.Port_in = Port_in.text;send_lv.Port_Out = Port_Out.text;send_lv.time_arrival = time_arrival.text;send_lv.Login = Login.text;send_lv.Password = Password.text;send_lv.onLoad = function(success:Boolean) {// if the comments were sent to the server and you received a response, clear the form fields and display an Alert message.if (success) {Title1.text = "";Forename1.text = "";Surname1.text = "";Address1.text = "";Country1.text = "";Post_code1.text = "";Home_Phone1.text = "";Mobile_Phone1.text = "";Fax1.text = "";E_Mail1.text = "";Alert.show("Thank you for your comments.", "Success", Alert.OK);} else {// else you encountered an error while submitting to the server.Alert.show("Unable to process your comments at this time.", "Server Error", Alert.OK);}};// send the variables from Flash to the remote PHP template.send_lv.sendAndLoad("
Adobe > ActionScript 1 and 2
Posted on: 06/04/2008 03:35:38 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
POLL: Best AS3 Send Vars And Load Vars Method
Hi Guys,
Can you help me decide which way to go with as3 to php and back again.
I generally use sqlite, xml or mysql for a database. I don't know if that matters. And sometimes (rarely) I don't use a database at all.
In the past (with as2) I always went custom. Im not sure If id be better off doing something else.
If you have another suggestion please let me know.
Converting ALL Vars Of A Clip To Global Vars -possible?
I wonder if it is possible to convert ALL variables set within a movie clip to global variables, using a self-defined prototype like movieclip.varsToGlobal or something like that. Here's the code I tried:
Code:
for (z in this) {
if (typeof (this[z]) != "movieclip") {
eval("_root."+z) = eval(z);
}
}
This seems to work, it copies ALL items found in the clip (excepted movie clips) to the root. But I am not sure WHAT things are duplicated to the root exactly. Just the variables? Or anything else I don't expect?
Mike
x-pressive.com
Local Vars Versus Class Vars
Hey guys, if a function gets call alot of times, such as a collision detection function in a game, will it be quicker to run if the variables for the function are declared and initialised outside the function as class variables? Or should they are declared and initialise inside the function as local variables everytime it is called, for good software engineering?
Getting Vars Into Flash From Url?
hello-
I have a flash navigation on my site and the buttons when clicked go to a new page.. but it loads the same flash file on the new page and this is where i want to read the "p" variable that is passed in the url (i.e. index.php?p=1) now how do you read a variable in the URL into the flash movie on the same page?
for example:
the url of the page is this:
http://www.domainname.com/index.php?p=1
how do you get the value of "p" into the flash movie that's is loaded when http://www.domainname.com/index.php?p=1 is loaded?
i hope i'm making sense..
jay
Flash Vars?
Im wanting to pass several variables from flash to flash via html, i can use flashvars, but these have to be hard coded into the html page itself.
my question is: can i set the variables contained in the flashvars dynamically?
My program has a user selecting certain chapters, and on that the program loads certain chapters 1 after the previous has finished, so i need to remember what the user selected at the beginning..
Regards
Php & Flash Vars
is there any java script or something we could put on a php file which it could read some var sent by php?
I had a similar problem for flash reading cookies, i got my answer in java...
Php Vars To Flash
This is what I am building:
A flash movie that launches a popup window.
The popup window is a php page that uploads an image.
Problem: I need to get a variable back into the same flash movie that launched the popup window once the user has uploaded the image.
Does Flash have some sort of listener that I can use? So when the image has been uploaded and processes done, the php page sends a variable (not important what the var is for now) to be used in the flash movie? Any help would be appreciated. Thanks.
Swf Obj And Flash Vars
Before we start , i have all the numerous links to the swf obj documentation and still I cannot figure out what im doing wrong.
I can get the swf obj to work just fine. What I cannot get to work is sending html/flashvars to a swf using a swfobject. If I embed the file as per the regular way, i have no trouble reading my vars.
My setup is such:
I am loading up my preloader.swf with the swfobject,
the file it loads up we'll say main.swf is the swf that looks for the vars
Heres how I was trying to send the vars:
HTML Code:
swfobject.embedSWF("preloader.swf", "myDivTagName", "824", "724", "9.0.0", "expressInstall.swf", {may:"jump"}, {wmode: "transparent"});
what am i doing wrong?
Flash Vars
Hello,
I need to pass a var into a flash movie and depending on the var being "1", "2", "3" etc.. The movie will goto the frame the var has specified.
I load my flash movie using an external.js file shown below.
Because on every page I need var "page" to be diffrent I am trying to use "num" instead of having mulitple <embed>/<object> tags.
I'd like to do something like this in the html page:
<script type="text/javascript">mymovie('2');</script>
Heres the external.js with what im trying to acheive (but can't get the syntax right):
function mymovie(num)
{
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
[04] Flash Vars To PHP
Sorry about this thread, if someone can delete it, something fell on my keyboard while typing the other one. :s
Flash Vars And Xml
hi all,
i'm having an issue passing flash vars to my externaly loaded swf,
the swf i'm loading will display the flash vars in a dynamic txt feild but it seems as though the xml load command it uses to populate itself cant access them
heres an example
http://www.memedex.com/surveybuilder...urveyIdn=62200
you can see the number 3 in the upper left, and bottom right, these are the flash var for the user id, however the xml doesnt seem to get the value since it doesnt populate the movie, and therefore the link is invalid,
var userIdn:Number = _level0.userIdn;
var survey_id:Number = _level0.survey_id;
xml.load("http://www.memedex.com/api/getsurveyresultsxml.php?user_id="+userIdn+"&survey _id="+survey_id);
i dont understand how the dynamic text box can read the flash var, but my xml AS cannot.
any help is greatly appriciated.
thanks in advance!
Flash Vars Help?
Hey Guys!
I have a quick question about flashvars - what I want to do is the following:
Have one flash file which is the navigation (and i want to display work as a flyoutmenu from each item such as - Design -> job 1, job 2 etc...
When clicked onto the job I wish to show another flash file in my content area (related to what they clicked and then display html content relevant to that too.
Is this possible to do any ideas where to make a start??
Thanks in advanced!
[AS3] Flash Vars And XML
I have come across many full flash sites that pass in the XML file using Flash Vars. I know how to use them, but I am trying to think of what benefits there are in doing it this way.
One pro that I can think of, is I can change the path to the XML file at anytime and not have to worry about re-compiling the SWF again. For those who have worked on large flash sites or who have passed in the XML file path as a Flash Var. Can you tell me if there are more pro's or con's or is it just a matter of personal preference?
Using Flash Vars
How do you reference Flash Vars from inside a movie. The following code is from an example on the macromedia site but doesn't explain it fully
<PARAM NAME=flashvars VALUE="courseId=<%=strCourseId%>&gatewayUrl=<%=gatewayURL %>">
http://www.macromedia.com/desdev/mx/...xample_1.3.txt
Thanks!
Get Vars From Asp To Flash
I have a problem: i want to get the info that i get from asp to load in flash. I tried a lot of different possible solutions, but for some kind of reason it won't work for me.
Could someone take a look @ my script and tell me what's wrong?
ASP:
<%
dim iRecCounter,i
dim Thuisteam(), Thuisscore()
dim Uitteam(), Uitscore()
dim strsql, objrec
dim wedsql, rswed
dim uitsql, rsuit
dim scoresql, rsscore
iRecCounter = 0
i=1
reDim Preserve Thuisteam(i-1)
reDim Preserve Thuisscore(i-1)
reDim Preserve Uitteam(i-1)
reDim Preserve Uitscore(i-1)
strSQL = "SELECT COUNT(*) AS iCount FROM TblWedstrijd"
set objrec = conn.execute(strSQL)
if (not (objrec.EOF)) then
iRecCounter = objrec("iCount")
else
iRecCounter = "fail"
end if
wedsql="select TblWedstrijd.ThuisTeam, TblTeam.Teamnaam from TblWedstrijd, TblTeam where TblTeam.TeamID=TblWedstrijd.ThuisTeam;"
set rswed=conn.execute(wedsql)
uitsql="select TblWedstrijd.UitTeam, TblTeam.Teamnaam from TblTeam,TblWedstrijd where TblTeam.TeamID=TblWedstrijd.UitTeam;"
set rsuit=conn.execute(uitsql)
scoresql="select Thuisscore, Uitscore from TblWedstrijd;"
set rsscore=conn.execute(scoresql)
if (not (rswed.EOF)) then
for i=0 to iRecCounter-1
reDim Preserve Thuisteam(i)
reDim Preserve Uitteam(i)
reDim Preserve Thuisscore(i)
reDim Preserve Uitscore(i)
Thuisteam(i) = rswed("Teamnaam")
Uitteam(i) = rsuit("Teamnaam")
Thuisscore(i) = rsscore("Thuisscore")
Uitscore(i) = rsscore("Uitscore")
rswed.MoveNext
rsuit.MoveNext
rsscore.MoveNext
next
end if
for i=0 to iRecCounter-1
Response.write "Thuisnaam"&(i)&"=" & Server.URLEncode(Thuisteam(i))&"&"
Response.write "Uitnaam"&(i)&"=" & Server.URLEncode(Uitteam(i))&"&"
Response.write "Thuisscore"&(i)&"=" & Server.URLEncode(Thuisscore(i))&"&"
Response.write "Uitscore"&(i)&"=" & Server.URLEncode(Uitscore(i))&"&"
next
Response.Write "&iRecCounter="&iRecCounter
%>
FLASH:
myVars = new LoadVars();
this.createTextField("myTextField",1,100,100,300,100);
myVars.onLoad = function(success){
if(success){
for(i = 0;i < this.iRecCounter-1;i++){
dathuis = "Thuisnaam" + i;
dauit = "Uitnaam" + i; //Temp variable
dascorethuis = "Thuisscore" + i; //Temp variable
dascoreuit = "Uitscore" + i; //Temp variable
thuis[i] = this[dathuis];
uit[i] = this[dauit];
scorethuis[i] = this[dascorethuis];
scoreuit[i] = this[dascoreuit];
myTextField.text = thuis[i] + " - " + uit[i] + " " + scorethuis[i] + " - " + scoreuit[i] ;
}
}
}
myVars.load("http://localhost/voorbeeldje/flash/test2.asp", 0);
myTextFormat = new TextFormat();
myTextFormat.font="Tahoma";
myTextFormat.size=12;
myTextField.setTextFormat(myTextFormat);
PHP Vars Into Flash
Hi,
I've read a few articles on bring PHP variables in to Flash but cant find any examples.
Can I use a PHP *normally* with vars at the top, then have the html code that shows the .swf and use the previoulsy stated vars in the flash?
like :
PHP Code:
<?PHP
$myVar="this is a var";
print "
[ . swf object html code ]
.swf uses a variable named myVar which should show "this is a var"
";
?>
Is that how it works?
PHP Vars To Flash
Hello,
I have a php file which i want to use to open info from in flash.
"vars.php"
Code:
<?
$type = array("", "News", "Members", "Links", "Download", "Url Externe", "Team", "Forum");
$title = array("", "Home", "Membres", "Liens", "Download", "Studio-Storm", "Team", "Forum");
$target = array("", "index.php?file=News", "index.php?file=Members", "index.php?file=Links", "index.php?file=Download", "http://www.studio-storm.com", "index.php?file=Team", "index.php?file=Forum");
?>
I'm a beginner in flash so please help me with a step by step tutorial.
The flash i want to use this, is a navigation bar with 7 menus.
Much appreciated,
LeSuisse
Loading Vars Into Flash From URL
hello-
I'm having a problem loading a var from the url (i.e. index.php?p=1). Here's what I have so far...
in the embed and object tags I attach "p" to the end of the .swf file (i.e. myFlash.swf?p=1). Then in my flash movie I try to read this var by using the _root.p however, I get nothing in that var.
is there a reason for this? I thought that _root.p would hold the var in the url that I passed...
thanks,
jay
Passing Vars To Flash
Hi I'm using flash MX and
having some difficulties getting a flash form to "Read" vars from an asp page.
Basically the asp checks if a user name is allready in use
, then creates the vars that tell the movie to goto "success" or "Failed" parts of the movie
this is the asp code that is giving me trouble:
<%@LANGUAGE="JAVASCRIPT"%>
if(!rsUserName.EOF)
{
Response.End
Response.Write("iFailed=1");
}else{
Response.Write("iSuccess=1");
}
%>
I've tried it without response.write e.g just iFailed=1
still doesn't work.
I'm sure it's somthing to do with the vars because if a user name is being used it doesn't perform the task after the Response.Write("iFailed=1");
If the user name is not in the db then it works (performs the tasks in the script) but always sends flash to the failed part of the movie
what am I doing wrong?
In Flash:
frame 1.
// Quantity of time to allow (in milliseconds) for variables to load.
qTimeOut = 3000;
// Quantity of retries (after initial try).
qRetry = 2;
stop();
---------------------------------------
This code is attached to button:
on (press) {
MM_insert = "true";
iSuccess = 0;
loadVariablesNum("http://localhost/myfolder/form.asp",0, "POST");
nTimeStart = getTimer();
nRetry = 0;
play();
}
--------------------------------------------
frame2.
play();
-----------------------------------------
frame 3.
nTimeElapsed = getTimer()-nTimeStart;
if (!(Number(iSuccess)) && nTimeElapsed<qTimeOut && nRetry<qRetry) {
gotoAndPlay(_currentframe-1);
} else if (!(Number(iSuccess)) && nTimeElapsed>=qTimeOut && nRetry<qRetry) {
nTimeStart = getTimer();
++nRetry;
gotoAndPlay(_currentframe-1);
} else if (!(Number(iSuccess)) && nRetry>=qRetry) {
// frame with you have submitted unsuccessfully message
gotoAndStop("Failed");
} else {
// frame with you have submitted successfully message
gotoAndStop("success");
}
-------------------------------------------------
in frames 4(success) & 5 (Failed) stop()
Hope fully there's some one here who can help
Thanks in advance.
Royse
Flash Vars To Php In Sessions
Hi
I am building a flash5 + PHP site with interactive clothing design functions, i need to transfer the vars to a php to list selections on a html page (printable) at which stage the user can - ADD another item(back to flash movie @ start) - EDIT each item(back to flash movie with all selections put back into place(if /else if - tell targets) - confirmed(send email with all items listed).
I have started the code but I really need a simple way to:
( in flash5 )
- send vars and go ( i think - getURL + POST )
- recieve vars back in ( i think - loadVariablesNum + POST )
( in php )
- stay in session
- identify ids of new item/s added - same or similar vars each time
Any help would be most appreciated!!!
Php-vars Into Flash-array
after working through all the php and mySql-stuff itīs just unbelievable that this should be too much...., here we go:
I have some php reading out of sql and sending the variables into flash. works all fine. with variables. but I really have to use an array in flash to store the information! I never now how many values I get out of the database and I canīt do all the sorting and actionscript with thousands of variables!
I tried something like
$row = mysql_fetch_array($result);
echo ("MYARRAY[" . $i . "][0]=");
echo ($row[0]);
in php, with MYARRAY being the array I want to use in flash.
Itīs just not working!
There must be a solution and I know someone of you out there has it!
Pleeeese help a backend newbie!
Coldfusion To Flash Vars
Right now I have an html page with some coldfusion in it. Instead, I want to put a flash movie with coldfusion, in the html.
In the html it looks like this
Dr. <cfoutput>#Trim(doctor.lname)#</cfoutput>'s
<img src=logo.gif>
in the browser it looks like this
Dr. Soandsos
Health n Site
I want to make a flash movie with a dynamic text var that calls doctor.lname
How do I do that?
Export VARs From Flash
Hi,
Hope someone can help me with this.,
Can anyone tell me the easiest way to export the / some / all variables in a flash movie to a text file, preferably in a format that another movie than can then read back in (loadvars).
I can't use PHP or ASP as the project is CD based, not web. Been messing with the send and LoadandSend functions to no avail.
Please help as time is short.
Many thx.
Passing Vars From Flash 4 To Mx
hi all
i have a flash 4 movie i want to integrate it in a mx 2004 movie the problem when i integrate it mx 2004 don't recognize syntaxe like this
PHP Code:
tellTarget ("C2/M") {
gotoAndStop(/Colors:m);
}
well the idea is to generate the swf then i will integrate the swf file in the mx 2004
i have a var that i want to get from the swf i try to use _global it don't accept it what to do???
Flash Vars In Embed Tag
Okay I know that I can pass variables to Flash via the embed tag like this:
<param name="flashvars" value="modName=someModName&companyName=someCompany Name&" />
<embed src="preLoader.swf" quality="high" bgcolor="#ffffff" width="640" height="480" swLiveConnect=true id="preLoader" name="preLoader" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"flashvars="modName=someModName&comp anyName=someCompanyName" />
But is there anyway to pass the varibales to Flash from the url?
Like:
<a href = "someHTMLPage.html?modName=someModName&companyName =someCompanyName>Some Page</a>
How could I get these variables into the Flash movie?
Thanks.
_t
Help: Sending Vars From Js To Flash
well its pretty much all in the title.
I seem to be having trouble with the SetVariable function in doing this. Has anything changed in the new flash players that wont except vars from javascript in this manner?
ex:
flash object named "header"
//then below that this code
document.header.SetVariable("selectedHeader","head er1.swf");
i havent been able to get any results with this technique any suggestions. Id like to avoid adding a query string to the flash src name as then every page reloaded the same file since the name varies and doesnt appear to be cached.
p.s. this seems to work ok in ie just not mozilla, whats the deal? i know there is some deal here
thanks!
Flash Vars And Parameters
A little help would be awesome
Using flash vars and params, how can i communicate to a dynamic textbox with the variable name "TextHolder" that is positioned within a movie clip called "fieldHolder"
I can communicate to the textHolder when it is in the root level with this code
<PARAM NAME=FlashVars VALUE="include1=resources%5Cinclude.txt">
but not when its within a movie clip
any help would ROCK
luke
Help Passing Vars From Flash To PHP
I am trying to do something that is probably very simple, but I am having the toughest time.
I am simply trying to take 2 text inputs in flash (1 var is called username and the other called passwrd).
I simply want these variables to POST to a page called login2.php
I also want to first check to see if either of them is empty.
Here's what I have so far and it does not seem to be sending my variables. I think my code doesn't know exactly where my text inputs are because if I leave the fields blank, it still goes to the page.
Code:
on(release, keyPress "<Enter>"){
auth.txtuser = _root.closemovie.acctLogin.username.text;
auth.txtpass = _root.closemovie.acctLogin.passwrd.text;
if(_root.closemovie.acctLogin.username.text == "" || _root.closemovie.acctLogin.passwrd.text == ""){
_root.errormsg.gotoAndPlay("back");
} else {
_root.closemovie.gotoAndPlay("away");
_root.loginmovie.gotoAndPlay("back");
trace(auth);
auth.send("login2.php","_blank","POST");
}
}
My button and both my inputs all sit inside of a movie clip. Why doesn't this work?!
You can see it in action here: http://files.blasterstudios.com/hgs/site/
Flash Vars In URL String?
I know this is a noob question... but I'm running out of hairs to pull...
I need to pass a flash variable via the getURL command.
That's it!... but I can't figure out the syntax.
This of course works fine with variable hardcoded:
getURL("fileName.cfm?varName=myName");
and in the document when I use <cfoutput>#URL.varName#</cfoutput> I get "myName"
as expected, but when i try to make it dynamic using either:
getURL("fileName.cfm?varName=&flashVar");
or
getURL("fileName.cfm?varName="&flashVar&"");
Where flashVar is the name of an input field on the stage...
I get nada.
ANY help would be GREATLY appreciated.
Thanks,
jH
The funny thing is these are both examples from MM's site.
Passing Vars From ASP To Flash
I have an ASP page that creates a text file on the server, then I have a Flash application that is supposed to load that text file. Is there a way I can pass the name of the text file from my ASP page to the Flash application?
Calling Flash Vars Using PHP
Hi
The following is something I have always wanted to do but never discovered how to accomplish:
I have a flash animated menu with main headings and sub headings. When a heading is clicked, the movie stops on the selected heading....
however....
when using PHP script throughout the pages each page is reloaded and therefore if somebody visits the 'ABOUT US, History' page the menu is then reloaded and states that the current page is is 'Home' when it is infact not.
Please can somebody guide me around this problem and paste some sample code for me to play around with.
Many Thanks
Simon
Flash Vars Syntax
Hi all,
This works fine in my object tag:
<PARAM NAME='Flashvars' VALUE='country=AL&colover=green&colsel=teal'>
Now I want to add another value on the country part of the value so instead of country=AL it adds country=KH as well.
I have tried with a variety of combinations but it doesnīt seem to work-this was my latest:
<PARAM NAME='Flashvars' VALUE='country=AL&country=KH&colover=green&colsel= teal'>
How do I do this? Thanks (I think this is concatenation?)
Help With Variables/ Flash Vars
here is a small snipet of code, basically it looks for the lotNumber variable and if it matches it will make a movie clip visible, everything works fine when i have it in the fla as listed below. However I want to read the variable from the html and I can't get it to work, do I have listen for the variable somehow in my movie? My html is also below.
var nLotNumber = 1;
//check to see which variable is selected
if(nLotNumber == 1) {
trace("yes");
siteMap.L_1._alpha = 40;
siteMap.L_1.enabled = false;
}
HTML:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>lotinfo</title>
<script language="javascript">AC_FL_RunContent = 0;</script>
<script src="AC_RunActiveContent.js" language="javascript"></script>
</head>
<body bgcolor="#ffffff">
<!--url's used in the movie-->
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<script language="javascript">
if (AC_FL_RunContent == 0) {
alert("This page requires AC_RunActiveContent.js.");
} else {
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
'width', '330',
'height', '122',
'src', 'lotinfo',
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', 'lotinfo',
'bgcolor', '#ffffff',
'name', 'lotinfo',
'menu', 'true',
'allowFullScreen', 'false',
'allowScriptAccess','sameDomain',
'movie', 'lotinfo',
'salign', ''
); //end AC code
}
</script>
<noscript>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="330" height="122" id="lotinfo" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<PARAM NAME="FlashVars" value="nLotNumber=1">
<param name="allowFullScreen" value="false" />
<param name="movie" value="lotinfo.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="lotinfo.swf" flashvars="nLotNumber=1" quality="high" bgcolor="#ffffff" width="330" height="122" name="lotinfo" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</noscript>
</body>
Passing Vars From Flash To Php
I know how to pass vars from php to flash and from flash to a new php page but here is my question.
I have a php page (page1.php) with a variable called $number. page1.php also has an embedded test.swf movie. While working with the test.swf movie, I want to send data back to the $number var on the page1.php without reloading the page1.php because then it would reload the test.swf movie.
I have been able to use javascript to change background colors and other items on page1.php from within the test.swf movie but cannot figure out how to set a php variable from within the test.swf movie.
Is this possible?
Dynamic Vars In Flash
Anywone knows how to create dynamic vars in flash?
I pass vars from php to flash (syntax like this: image_1, image_2, image_3............) and I want to read them from the flash file.
Thanks.
Javascript + Flash (get Some Vars)
Hi folks,
So, i has that vars to get some information about my productsbox in one shopping page.
And a make with that vars one GUI with flash.
The var's:
Code:
so.addVariable("productsvar","0");
so.addVariable("moneyvar","0.00");
The new thing is, i change with javascript (ajax engine) the so.addVariable() values, how i get with flash the new values without refreshing(i use ajax because that) all page?
Is any event in javascript that can call some function inside flash?
Thanks all boys
Flash Vars Not Working...
Hi all,
I am trying to use Flash Vars to pass images, I have this code on the first frame of my timeline
Code:
var a = myVar.slice(0,myVar.indexAt("#")); //the string before the # character
var b = myVar.slice(myVar.indexAt("#")+1,myVar.length); //the string after the # character
randomImageURL = a+(random(6)+1)+b;//random image 1-6
target_mc.loadMovie(randomImageURL);
debugger = FlashVars.indexOf("#")+"/"+FlashVars.length+"="+FlashVars;
The idea is that it should load 1 of 6 random images, the developer wants to just be able to add say 'images/whatevername'5'.jpg' so that they can use the file anywhere. But the Flash Vars aren't working correctly I have been able to get it to work with myURL, but not with the images. This is the code on my HTML file, if anyone could help would be greatly appreciated
Code:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="745" height="110" id="variable_url" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="heardit_header.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="FlashVars" value="myURL=http://www.apple.com&myVar=images/#.jpg" />
<embed src="heardit_header.swf" quality="high" bgcolor="#ffffff" width="550" height="400" name="variable_url" FlashVars="myURL=http://www.apple.com&myVar=images/#.jpg" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
When I run the file, and look in my activity viewer of my browser I can see the error which is it can't find an image which it is looking for but the directory is all screwed up it is looking for /images/#.jpg4mages/#.jpg really it should be something like images/image4.jpg Any ideas anyone?
Flash Vars To Salesforce.
What im trying to do is send some values from a custom flash form to a hidden html form and have some kind of script auto fill the hidden form with the values from the fields in the flash form.. ived tryed using getURL and sending the vars that way and then had a javascript autofill the form and then submit it.. this was working for awhile but the script broke somehow and i have a limited knowledge of javascript to effectively find the bug and fix it..so i searched for another way to do it..a simpler way to do and found it and the javascript i actually can understand.. the problem is its not working if someone could please help it would be greatly appreciated..heres the code..
actionscript
ActionScript Code:
import flash.external.*;
container_mc.ifOwner_mc.workAnswer = "no";
container_mc.ifOwner_mc.listedAnswer = "no";
container_mc.ifOwner_mc.contractAnswer = "no";
container_mc.ifOwner_mc.soldAnswer = "no";
container_mc.ifOwner_mc.noneAnswer = "1";
container_mc.brochure_mc.answer = "false";
container_mc.news_mc.answer = "false";
var formData:Object = new Object();
container_mc.sendy_mc.onRelease = function ()
{
if (container_mc.name_mc.name_txt.text != "" && container_mc.lastName_mc.name_txt.text != "" && container_mc.add1_mc.addy1_txt.text != "" && container_mc.city_mc.city_txt.text != "" && container_mc.state_mc.state_txt.text != "" && container_mc.zip_mc.zip_txt.text != "" && container_mc.email_mc.email_txt.text != "" && container_mc.phone_mc.phone_txt.text != "" && container_mc.bestTime_mc.bestTimeDrop.timeContact_txt.text != "Select One" && container_mc.bestMethod_mc.bestMethod_txt.text != "Select One")
{
formData.retURL = "www.theurl.com";
formData.oid = "00D5xxxxxxxxxxxx";
formData.recordType = "0125xxxxxxxxxxxx";
formData.first_name = container_mc.name_mc.name_txt.text;
formData.last_name = container_mc.lastName_mc.name_txt.text;
formData.address1 = container_mc.addy1_mc.addy1_txt.text;
formData.address2 = container_mc.addy2_mc.addy2_txt.text;
formData.city = container_mc.city_mc.city_txt.text;
formData.state = container_mc.state_mc.state_txt.text;
formData.zip = container_mc.zip_mc.zip_txt.text;
formData.email = container_mc.email_mc.email_txt.text;
formData.phone = container_mc.phone_mc.phone_txt.text;
formData.best_method = container_mc.bestMethod_mc.bestMethod_txt.text;
formData.who = container_mc.whoWillUse_mc.whoWillUse_txt.text;
formData.time_frame = container_mc.timeFrame_mc.timeFrame_txt.text;
formData.first_time = container_mc.currentHousing_mc.answer;
formData.current_housing = container_mc.currentHousing_mc.answer;
formData.owner_work = container_mc.ifOwner_mc.workAnswer;
formData.owner_listed = container_mc.ifOwner_mc.listedAnswer;
formData.owner_contract = container_mc.ifOwner_mc.contractAnswer;
formData.owner_sold = container_mc.ifOwner_mc.soldAnswer;
formData.owner_none = container_mc.ifOwner_mc.noneAnswer;
if(container_mc.ifOwner_mc.timeFrame_txt.text != "Select One")
{
formData.renter_time = container_mc.ifOwner_mc.timeFrame_txt.text;
}
else
{
formData.renter_time ="";
}
formData.interest = container_mc.ifOwner_mc.interested_mc.interested_txt.text;
formData.request_brochure = container_mc.brochure_mc.answer;
formData.request_news = container_mc.news_mc.answer;
formData.best_time = container_mc.bestTime_mc.bestTimeDrop.timeContact_txt.text;
formData.the_site = "The Oaks at Parkview";
formData.the_form = "Request Info";
ExternalInterface.call("fillForm", formData);
}
else
{
container_mc.warning = "Please fill all required fields";
}
}
Loading Vars From Php To Flash
hello everyone,
I want to make a HTML page with a flash movie in this page. within this html page is a php variable. i want to let flash load this var, how do i do this.
i looked for this in serveral forums but came out empty handed.
the only thing i found a few times is how to load a var from a php file, i want to get a var from the same html page where the flash movie is embedded.
it's possible as far is i know, but today my mind is playing ticks on me so i can't figure it out .
thanx in advance .
maxgrafx
Flash Vars In FlashCS3
Hi,
I am trying to pass FlashVars to the Flash Movie but for me it doesn't work. I publish the Flash and HTML and then I modify the HTML like following:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
Returning Php Vars To Flash AS
Hi,
I am not able to get a variable value from PHP back into flash after sendAndLoad. I can only get the actual value returned by php. here is the detail.
Initially from flash
dataOut.sendAndLoad("phptest.php", dataIn, "POST");
and the return from phptest.php
dataIn.onLoad = function() {
msg.text = ' returned from php is '+this.value1 + this.value2 ;
}
the code in phptest.php
<?php
$a = "&value1=foo&";
$b = "&value2=";
$c = "bar&";
echo $a.$b.$c;
?>
in response
the msg.text reads like this
returned from php is foo";
It only returns the actual value of value1 and not the passed value of value2, but one doublequote.
and this is what is displayed in the browser from the phptest.php .
&value1=foo&&value2=bar&
any sugggestions. ?
Thanks for any help
Pass PHP Vars To Flash
Hello all, Well I have been working on this for a while, I googled the hell out of it, and I cant seem to find what I am looking for. Can anyone help.
I have a PHP file that runs alone fine, When I ECHO them they display fine in the browser, but I cant seem to pass these to Flash. What I would like to do is pass each of these to there own Txt Box. I guess I just dont know how to convert what I ECHO to a var in flash so I can then put it in a dyn text box. Heres the PHP Code. Thanks. (and yes I have only attached the echo end of the code, I didnt include where PHP pulls the date from the DB - Figured it wasnt needed).
Attach Code
echo $jesey_22 = $jersey;
echo "<Br>";
echo $name_22 = $name;
echo "<Br>";
echo $team_22 = $team;
echo "<Br>";
echo $plates_22 = $plates1 + $plates2 + $plates3 + $plates4 + $plates5 + $plates6 + $plates7 + $plates8 + $plates9 + $plates10 + $plates11 + $plates12;
echo "<Br>";
echo $singles_22 = $S1 + $S2 + $S3 + $S4 + $S5 + $S6 + $S7 + $S8 + $S9 + $S10 + $S11 + $S12;
echo "<Br>";
echo $doubles_22 = $D1 + $D2 + $D3 + $D4 + $D5 + $D6 + $D7 + $D8 + $D9 + $D10 + $D11 + $D12;
echo "<Br>";
echo $triples_22 = $T1 + $T2 + $T3 + $T4 + $T5 + $T6 + $T7 + $T8 + $T9 + $T10 + $T11 + $T12;
echo "<Br>";
echo $homeRuns_22 = $HR1 + $HR2 + $HR3 + $HR4 + $HR5 + $HR6 + $HR7 + $HR8 + $HR9 + $HR10 + $HR11 + $HR12;
echo "<Br>";
echo $hits_22 = $hits1 + $hits2 + $hits3 + $hits4 + $hits5 + $hits6 + $hits7 + $hits8 + $hits9 + $hits10 + $hits11 + $hits12;
echo "<Br>";
echo $walks_22 = $BB1 + $BB2 + $BB3 + $BB4 + $BB5 + $BB6 + $BB7 + $BB8 + $BB9 + $BB10 + $BB11 + $BB12;
echo "<Br>";
echo $SF_22 = $SF1 + $SF2 + $SF3 + $SF4 + $SF5 + $SF6 + $SF7 + $SF8 + $SF9 + $SF10 + $SF11 + $SF12;
echo "<Br>";
echo $ER_22 = $ER1 + $ER2 + $ER3 + $ER4 + $ER5 + $ER6 + $ER7 + $ER8 + $ER9 + $ER10 + $ER11 + $ER12;
echo "<Br>";
echo $RBI_22 = $RBI1 + $RBI2 + $RBI3 + $RBI4 + $RBI5 + $RBI6 + $RBI7 + $RBI8 + $RBI9 + $RBI10 + $RBI11 + $RBI12;
echo "<Br>";
echo $runs_22 = $runs1 + $runs2 + $runs3 + $runs4 + $runs5 + $runs6 + $runs7 + $runs8 + $runs9 + $runs10 + $runs11 + $runs12;
echo "<Br>";
echo $AVG_22 = $AVG1 + $AVG2 + $AVG3 + $AVG4 + $AVG5 + $AVG6 + $AVG7 + $AVG8 + $AVG9 + $AVG10 + $AVG11 + $AVG12;
echo "<Br>";
echo $OBP_22 = $OBP1 + $OBP2 + $OBP3 + $OBP4 + $OBP5 + $OBP6 + $OBP7 + $OBP8 + $OBP9 + $OBP10 + $OBP11 + $OBP12;
echo "<Br>";
echo $atBats_22 = $atBats1 + $atBats2 + $atBats3 + $atBats4 + $atBats5 + $atBats6 + $atBats7 + $atBats8 + $atBats9 + $atBats10 + $atBats11 + $atBats12;
Flash Vars With A Loop
I have a little test program that takes in flashvars and displays them in a text box.
I input the valuse by putting
'flashvars', 'varInputs=3&varIn1=1&varIn2=2&varIn3=3'
in the AC_FL_RunContent() on the html page.
----
The code at the bottom of this post, does what I want, but I want to know how to use a loop to get the data. under the code that works I show one way that I tryed to make a loop, but it didn't work.
Attach Code
//-------------------------Start: code that works------------------
var temp;
var varInputs = root.loaderInfo.parameters.varInputs;
temp = root.loaderInfo.parameters.varIn1;
txtMyText1.text =temp;
temp = root.loaderInfo.parameters.varIn2;
txtMyText2.text =temp;
temp = root.loaderInfo.parameters.varIn3;
txtMyText3.text =temp;
txtMyText.text =varInputs;
//-------------------------End: code that works------------------
//-------------------------Start: code that doesn't work------------------
var temp;
var varInputs = root.loaderInfo.parameters.varInputs;
txtMyText.text =varInputs;
for(n=1;n<=3;n++){
temp = root.loaderInfo.parameters.varIn+n;
txtMyText+n.text =temp;
}
//-------------------------End: code that doesn't work------------------
Edited: 07/18/2008 at 01:37:44 PM by rhythmicCycle
Getting Vars From MySQL To Flash
I have a MySQL database from where i need som info. presented in flash.
Here's my PHP code. E.g. i need the info(vars) of $europePercentage to be presented in my movieclip in flash.
Can anyone help me with the AS (flash) code to make this possible?
Hope someone can help
/Kafir
<?php
// start the session
session_start();
include ($_SERVER["DOCUMENT_ROOT"] . "/include.php");
include_once ($GLOBALS['homeDir'] . "common/functions.php");
// check whether the user is logged in or not
//checkUserLogin();
// initalize vars
$europePercentage = $northAmericaPercentage = $southAmericaPercentage = $asiaPercentage = $africaPercentage = $australiaPercentage = 0;
// get each of the countries and set them
$sql = "SELECT cID AS id, cTitle AS title FROM tblCountry UNION SELECT coID AS id, coTitle AS title FROM tblContinent";
$result = mysql_query($sql)
or die("error: " . mysql_error());
while($myRow = mysql_fetch_assoc($result))
{
$$myRow['title'] = $myRow['id'];
}
// get the total number of residences
$sql = "SELECT COUNT(rID) AS cnt FROM tblRessidence";
$result = mysql_query($sql)
or die("error: " . mysql_error());
while($myRow = mysql_fetch_assoc($result))
{
$totalRes = $myRow['cnt'];
}
// get residences pr. continent
$sql = "SELECT coTitle, COUNT(r_ciID) AS coCnt FROM tblContinent, tblCountry, tblRegion, tblCity, tblRessidence WHERE coID = c_coID AND cID = rg_cID AND rgID = ci_rgID AND ciID = r_ciID GROUP BY coTitle";
$result = mysql_query($sql)
or die("error: " . mysql_error());
while($myRow = mysql_fetch_assoc($result))
{
switch($myRow['coTitle'])
{
case "Europe": $europePercentage = ceil(($myRow['coCnt'] / $totalRes)*100); break;
case "Asia": $asiaPercentage = ceil(($myRow['coCnt'] / $totalRes)*100); break;
case "Africa": $africaPercentage = ceil(($myRow['coCnt'] / $totalRes)*100); break;
case "North America": $northAmericaPercentage = ceil(($myRow['coCnt'] / $totalRes)*100); break;
case "South America": $southAmericaPercentage = ceil(($myRow['coCnt'] / $totalRes)*100); break;
case "Australia and Oceania": $australiaPercentage = ceil(($myRow['coCnt'] / $totalRes)*100); break;
}
}
print "Europe: " . $europePercentage . "<BR>";
print "Asia: " . $asiaPercentage . "<BR>";
print "Africa: " . $africaPercentage . "<BR>";
print "North America: " . $northAmericaPercentage . "<BR>";
print "South America: " . $southAmericaPercentage . "<BR>";
print "Australia and Oceania: " . $australiaPercentage . "<BR>";
?>
Getting vars from MySQL to Flash
Vars From Flash To Simple.php
I have made this script which redirects my to simple.php. But it seems like it does send the vars with to my simple.php fil. What i'm i doing wrong?
Hope you guys can help
process_lv = new LoadVars();
process_lv.newSearch = 1;
process_lv.searchType = 1;
process_lv.searchArea = 0;
process_lv.pictureReq = 0;
process_lv.fromYear = "0000";
process_lv.fromMonth = "00";
process_lv.fromDay = "00";
process_lv.toYear = "0000";
process_lv.toMonth = "00";
process_lv.toDay = "00";
process_lv.duration = 0;
// These two lines with $continent and $country,
// I don'tknow what you are trying to do, but you
// should be able to handle that according to the
// variable you've set up for them...
process_lv.continent = $continent;
process_lv.country = $country;
process_lv.region = "0";
process_lv.rCity = "0";
process_lv.rooms = "0";
process_lv.oldContinent = "0";
process_lv.oldCountry = "0";
process_lv.oldRegion = "0";
getURL("../search/simple.php", "process_lv", "POST");
// or use sendAndLoad() function if you want to get
// something back from the PHP script...
stop()
Loading Js Vars Into Flash
hello i got this for my js:
Code:
SCRIPT LANGUAGE=JavaScript>
<!--
document.write ("width="+screen.width+"height="screen.height)
//-->
</SCRIPT>
and i have this in the Actions of a movie clip inside the swf
Code:
onClipEvent (load) {
_root.navigation._alpha=0;
}
onClipEvent (enterFrame) {
loadText = new LoadVars();
loadText.load("main.html");
loadText.onLoad = function() {
height.text = this.heightY;
}
_root.navigation._y = this.heightY - 100;
}
whats this supposed to do? well, its suppose to get the current height of the window and then sending the var to the swf, after it to movieclip inside the swf should get the vars from the html document and to start the var "heightY", it is not working, so i tried this:
Code:
<SCRIPT LANGUAGE=JavaScript>
<!--
var htmlY = (!document.all)?
window.innerHeight:document.documentElement.offsetHeight;
document.myFlash.SetVariable('navY', htmlY)
window.document.myFlash.SetVariable("navY", htmlY)
//-->
</SCRIPT>
and also this:
Code:
<SCRIPT LANGUAGE=JavaScript>
<!--
var htmlY = document.write.screen.height
document.myFlash.SetVariable('navY', 'screen.height')
window.document.myFlash.SetVariable("navY", sendText)
//-->
</SCRIPT>
so, the code for the movie clip would look like this:
Code:
onClipEvent (enterFrame) {
_root.navigation._y = navY-100;
}
not working...
could someone be so patient and kind of helping me out? ^^'
I've been working on this for a while, and i have too much coke and coffee on my veins right now x.x
i beg of you, in the name of flash, help me... u.u
Very Simple - PHP Vars To Flash
I want to print the user's IP address in Flash via a PHP script, but keep getting an undefined variable (printed as "undefined"). Here's my PHP script:
PHP Code:
<?php
// Script for getting IP
$yourip = $_SERVER['REMOTE_ADDR'];
echo ("yourip=".$yourip);
?>
And the Actionscript:
Code:
// Request user IP via PHP
loadVariables("scripts/getuserip.php", this);
statistics.stat_ip.text = "Your IP address is "+yourip;
statistics.stat.ip.text comes up as "Your IP address is undefined"...
I can tell there's something blindingly obvious that I'm missing.
Vars From Html To Flash
when i pass vars into my flash like this:
myMovie.swf?var1=test
is there a limit to the number of characters the request can be?
thanks
|