The following code isn't working:
package
{
public class num
{
public function num()
{
}
public function numto(num1:Number)
{
num1 = 47;
}
}
}
when I use in my main timeline:
import num;
var n:Number = 17;
numto(n);
trace(n); // must be 47 instead of 17
It gives me different error messages such as:
access of undefined property numto;