About AS 3. 0 basic

Hi all,
OK,
I can put AS code in the timeline .
I can put in DocumentClass .
I can put in Publish -> AS 3.0 ->settings .
I can put Linkage property .

Why ? Is there some restrictions ? Where to put Custom class ? Do I need syntax >package<on every code ?

Thanks advance .

Make custom classes in separate .as files.

And that suppose to mean? nothing .
Thanks very much for answering but you do not know even what I am talking about .

Alright buddy, I think this might help you.

When you create a symbol in the library go into its “Linkage” and change its “Class” to the path of where the class file is located relative to the fla. Separate each directory with a “.”

Once that is good, your class file should have a

package class.path.similar.to.the.one.in.the.library(without the actual class name)
public class ClassName() extends MovieClip
public function ClassName():void{
}
}
}

mrskribbs, is the use of Main() and ClassName() the same thing ? i notice there are a lot of Main() functions in peoples flex code.

Thanks for trying to help me .
I found what I am looking for.
Anyway I am just glad that someone trying . :slight_smile: