ActionScript 3.0 :: How Does AS3 LoadVar
Jun 26, 2009
I have a aspx login page with C# to let member login with username and password. After login, it gets memberId and a sessionID.How does the aspx page or C# code pass those 2 variables to flash client? In AS3, how does it get those 2 variables?
View 2 Replies
Aug 6, 2004
when i try to loadVar from a php file, it works on my flash program loading off from my site not locally.. but when i upload it and test it fails in loading..
View 4 Replies
Nov 15, 2004
I want to change the url of the buttons of my swf movie using an external documment like txt or xml. Everybody says : use loadVars.
View 12 Replies
Nov 15, 2004
Maybe this is simple but I have troubles trying to do it. I want to change the url of the buttons of my swf movie using an external documment like txt or xml. Everybody says : use loadVars. How?
View 12 Replies
Jul 1, 2004
I add this actionscript code on the first frame. Variables are loaded but . The question is below the code.
var myArray1=new Array()
var myArray2=new Array()
var myArray3=new Array()
function showContent() {
[Code]...
View 2 Replies
Feb 20, 2003
how to get loadVar to read special characters like � and � when using it to read from a textfile??
View 5 Replies
Sep 5, 2005
i have a swf that is a email form. it works great if you just load this swf on to the server. but i have another swf that loads the email form swf into it. all of it shows up and seems to function except that it doesnt actually send the email. im guessing the problem is that the code on the send button isnt working with the new pathway. I cant figure out the path. heres the code that works in the email form
[Code]...
View 3 Replies
Dec 11, 2007
I want to use loadvars.send but I would rather it didn't open the target page in a new tab, but to act like a normal page would...
View 1 Replies
Mar 31, 2004
I am reading a file with certain user defined variables like &x=30&y=50&z=100
Lets the variable is caught in a function as argument myVar
now depending on the variable the user passes I need to fetch the value. ie if the user passes x i need to read the value of x. how the user has named his/her variables.
What i need to do it get the value of that variable by using loadVar.
this.myVar; As such it gives me undefined. There is text present in 'this' myVar represents 'x' I have tried eval(this.myVar) as well as this.eval(myVar) but in vain
View 5 Replies
Nov 7, 2004
I'm building an array of JPEG files from an XML file. I need a way to verify that the file exists on the server as it build the array. If it's not there I want to substitute another file name in it's place: default.jpg. Using loadVars I came up with this code.... which won't work:
[Code]...
I posted this on the FLASH forum but the only answer I got was that it can't be done and I should use a server-side script. Flash should be able to tell if a load failed or not..yes.
View 6 Replies
Mar 31, 2004
I am reading a file with certain user defined variables like &x=30&y=50&z=100Lets the variable is caught in a function as argument myVarnow depending on the variable the user passes I need to fetch the value. ie if the user passes x i need to read the value of x.lso keep in mind i dont havehow the user has named his/her variables.What i need to do it get the value of that variable by using loadVar.this.myVar;As such it gives me undefined. There is text present in 'this' myVar represents 'x'I have tried eval(this.myVar) as well as this.eval(myVar) but in vain
View 5 Replies
Dec 2, 2004
im just wondering for the best way to read variables of a .php page into flash
[Code]...
but that dident work either the real problem is, i guess that i need it to read in the variable array[0,0]=1 just like that and not use sumthingrather=(myVars.varname) because there will be a hell of alot of variables, and the variable ammounts will switch and i cant do a sumthingrather=(myVars.varname)
View 1 Replies
Sep 26, 2007
I'm trying to load som external text width loadVars. everything's working just fine with the example below, but i want to loop out da ****...
var loadText:LoadVars = new LoadVars();
loadText.onLoad = function(success) {
if (success) {[code].....
View 5 Replies
Jul 1, 2004
I add this actionscript code on the first frame. Variables are loaded but. The question is below the code.
[Code]...
View 2 Replies