package packageName { public function identifier ( ) { }}To make the function accessible only in that package, we precede the definition with the access control modifier internal:package packageName { internal function identifier ( ) { }}package utilities { import flash.system.*; public function isMac ( ) { return Capabilities.os == "MacOS"; }}
Name (required)
email (will not be published) (required)
Website