Question
How can I return a global variabl..help plz.
Hello Everyone,
I would highly appreciate it if someone can help me understand how I can send a value to global variable. Here is the scenario:
Lets say I have an AS file which starts something like this:
Line 1:
_global.popId = null;
onLine 3000 of code, I would like to pass a value from a function to popId:
function id(p)
{
popId = p;
return p;
}
I am calling the function here:
id(234);
Appreciate all the help.
Thanks a lot.
I would highly appreciate it if someone can help me understand how I can send a value to global variable. Here is the scenario:
Lets say I have an AS file which starts something like this:
Line 1:
_global.popId = null;
onLine 3000 of code, I would like to pass a value from a function to popId:
function id(p)
{
popId = p;
return p;
}
I am calling the function here:
id(234);
Appreciate all the help.
Thanks a lot.