Package in Actionscript 3 (Part II)

September 29, 2009

So this is the next part of our ‘Package Tour’. In this notes, we will look more about package.

Supposed there is a package like this.

package com.myFlashNotes {

public class PackageTest{

public function PackageTest{}

}

}

code above shows that an actionscript file is inside folder com then myFlashNotes (com->myFlashNotes)

the folder Hierarchy :

- com
- myFlashNotes
PackageTest (Actionscript Class).

Note that the bold font is our folder name and the italic font is our actionscript class name.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.