Muhammad Umer
Muhammad Umer

Reputation: 18097

in As3, if you don't declare function as neither public or private in class what does it become then

If in inside package>class... i declare and define a function that is without starting public/private part. Where would it be accessible and how is it different from private functions.

Upvotes: 0

Views: 126

Answers (1)

poke
poke

Reputation: 387607

The default visibility level is internal which means the members are accessible from within the same package. This is explained in the Class property attributes section in the ActionScript 3 manual. Class definitions itself without a visibility specification are also internal.

Upvotes: 3

Related Questions