00:00
00:00
mtv129
I'm making a virtual computer on action script 3, ruffle limits me very much

mtv1337 @mtv129

Age 23, Male

as3 and adobe AIR

Ukraine

Joined on 10/22/21

Level:
19
Exp Points:
3,778 / 4,010
Exp Rank:
13,796
Vote Power:
6.08 votes
Rank:
Police Sergeant
Global Rank:
8,523
Blams:
194
Saves:
901
B/P Bonus:
12%
Whistle:
Normal
Trophies:
4
Medals:
861

Modules in as2 are power!

Posted by mtv129 - 13 days ago


You probably see the power in SWC libraries, or used #include "file.as", but you just don't know the modules in the Adobe Flash library, here's what you need for this:


1) create a .fla file


2) add an empty MovieClip to it, write in Indetifer the name of the class that will be used in the module


3) write a class for it, create several functions


4) create the main .fla file where the module will be used


5) create a clip with these settings

iu_1190292_9946875.png

6) add to the scene (can be in _root)


7) now you have a class that works as a module and can work with the environment, for example, change Misha’s cursor to another in the entire game, modules can work between each other


Now you can create modules, they will serve you well


Tags:

4

Comments

Comments ain't a thing here.