Posted by Sankar.G | Posted in AS3 | Posted on 3:20 PM
create a class file and name it as Globe and put this script in class file
package
{
public class Globe
{
public static var temp:Number = 0;
}
}
And in flash AS3.0 file temp is the global variable you can use like this
Globe.temp =5;
package
{
public class Globe
{
public static var temp:Number = 0;
}
}
And in flash AS3.0 file temp is the global variable you can use like this
Globe.temp =5;
Nice:)