# About AS 3. 0 basic

**URL:** <https://forum.kirupa.com/t/about-as-3-0-basic/261625>\
**Category:** Uncategorized\
**Created:** [May 29, 2008, 11:54am UTC](https://forum.kirupa.com/t/about-as-3-0-basic/261625 "2008-05-29T11:54:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kv79](https://avatars.discourse-cdn.com/v4/letter/k/47e85d/32.png) [@kv79](https://forum.kirupa.com/u/kv79)\
**Post date:** [May 29, 2008, 11:54am UTC](https://forum.kirupa.com/t/about-as-3-0-basic/261625/1 "2008-05-29T11:54:18Z")

</div>

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 .

---

<div class="post-metadata">

**Author:** ![Iamthejuggler](https://avatars.discourse-cdn.com/v4/letter/i/ecc23a/32.png) [@Iamthejuggler](https://forum.kirupa.com/u/Iamthejuggler)\
**Post date:** [May 29, 2008, 12:45pm UTC](https://forum.kirupa.com/t/about-as-3-0-basic/261625/2 "2008-05-29T12:45:45Z")

</div>

Make custom classes in separate .as files.

---

<div class="post-metadata">

**Author:** ![kv79](https://avatars.discourse-cdn.com/v4/letter/k/47e85d/32.png) [@kv79](https://forum.kirupa.com/u/kv79)\
**Post date:** [May 29, 2008, 12:59pm UTC](https://forum.kirupa.com/t/about-as-3-0-basic/261625/3 "2008-05-29T12:59:08Z")

</div>

> [@Iamthejuggler;2332951](#):
>
> 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 .

---

<div class="post-metadata">

**Author:** ![mr\_skribbs](https://avatars.discourse-cdn.com/v4/letter/m/34f0e0/32.png) [@mr\_skribbs](https://forum.kirupa.com/u/mr_skribbs)\
**Post date:** [May 30, 2008, 12:58am UTC](https://forum.kirupa.com/t/about-as-3-0-basic/261625/4 "2008-05-30T00:58:43Z")

</div>

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{  
}  
}  
}

---

<div class="post-metadata">

**Author:** ![rbnzdave](https://avatars.discourse-cdn.com/v4/letter/r/a587f6/32.png) [@rbnzdave](https://forum.kirupa.com/u/rbnzdave)\
**Post date:** [May 30, 2008, 2:15am UTC](https://forum.kirupa.com/t/about-as-3-0-basic/261625/5 "2008-05-30T02:15:18Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![kv79](https://avatars.discourse-cdn.com/v4/letter/k/47e85d/32.png) [@kv79](https://forum.kirupa.com/u/kv79)\
**Post date:** [May 30, 2008, 8:37am UTC](https://forum.kirupa.com/t/about-as-3-0-basic/261625/6 "2008-05-30T08:37:47Z")

</div>

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