Hi guys,
Unfortunately, this is old news. Flash's private/public modifiers are
compile-time only. Once actionscript is compiled down to bytecode,
everything's public.
If you want to call private methods, you can do it even more easily like so:
_global.com.yourclass.yourMethod()
or, possibly:
I found private function call.
//class as file
class test_class{
private var _path:MovieClip = path
function test_class(path:MovieClip){
_path = path
}
private function trace_test(){
You mean that Flash ignores private when calling from the
timeline? Try from another class.
On Apr 2, 2006, at 12:16 PM, 신진석[Jinseok Shin] wrote:
I found private function call.
//class as file
class test_class{
private var _path:MovieClip = path
function
3 matches
Mail list logo