Aight, I’m picking up an ASP Post variable and then checking if there is a value to it and if there is then I am tacking on a word to the front of the string and then using it as an object name in my FLA.
Now the problem, on the root I am doing an onEnterFrame = function() and then just seeing if there is a value in the post variable and if there is then I am just having it trace out and then I convert it to a _global. Here is the code:
onEnterFrame = function() {
_global.searchStrPV = SearchStr;
//Grade = "0";
if (Grade != "") {
trace(Grade);
_global.gradePV = "Grade" +Grade;
}
}
Now, when I run that it goes into the if statement and then traces undefined which makes no sense because if it was undefined it wouldn’t go into the if statement. Somebody please help me before I beat my brains out on my desk. Thanks.