i found the error here what should i type in the constructor function between the braces
to call the function to the main time line
public function creation() {
that's my code in the fla file
//var createClass:creation = new Circle( this );
the constructor
package {
import flash.display.InteractiveObject;
import flash.text.TextField;
import flash.text.TextFormat;
import flash.display.MovieClip;
public class creation extends MovieClip {
// global variables
public function creation():void {
// constructor code
for (i= 0 ; i<= 4; i++)
{ first1[i]= createCustomTextField(0,(i*100),75,45);
op[i]= createCustomTextField(150,(i*100),75,45);
second[i]= createCustomTextField(300,(i*100),75,45);
res[i]= createCustomTextField(450,(i*100),75,45);
if (operation_Count == 1)
{
op[i].text = "+";
} else if (operation_Count == 2)
{
op[i].text = "-";
}else if (operation_Count == 3)
{
op[i].text = "*";
}else if (operation_Count == 4)
{
op[i].text = "/";
}
first1[i].text = String(k1[i]=Math.round(Math.random()*10));
second[i].text = String(k2[i]=Math.round(Math.random()*10));
}
}