Procedure:
step 1: Open flash 8
step 2: Select flash document
step 3: Create a Button from window->Components tool
step 4: Write the source code under the control of Button
step 5: To check output press ctrl+enter(test movie)
Source code:
on(click)
{
this.createTextField("t1",1,100,100,200,100);
t1.bordercolor=0xff0000;
t1.border=true;
t1.size=16;
t1.text="chiru kumar";
f=new Textformat();
f.size=20;
f.italic=true;
f.setTextformat(f);
}
No comments:
Post a Comment