-
Import As
Hi all.
I come from a python background and in python when importing a class I can assign it a shorter name.
Like so:
import MyGame as MG
That way I can access any of the functions or variables inside by MG.function.
Is there anyway I can do this in As3. I have a static class called MemoryGame, and I dont want to have to type MemoryGame everytime I need to access something inside it.
Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|