I’m slowly making the move to AS3 and am having a few difficulties along the way. One is packages, specifically the scope ans use of them.
Does the package name have to reflect the directory structure. Can I have something like this:
package com.media.news{
Without that being the current directory structure? Or must the directories reflect the naming convention? Also what is the scope of calling import on a package?
Say the full path is flash/actionscript/com/media/news… can I import that package from flash/testing/curProject?
Also one last question. If I wanted to build a package that was a library of functions, could I do this?
package utils{
public function f1(){}
public function f2(){}
}
Thanks for any help.