Link to home
Start Free TrialLog in
Avatar of YvesWheeler
YvesWheeler

asked on

Object Orientated Programming

When writing a class is there a better place to stick the code rather then having it placed in a frame?
ASKER CERTIFIED SOLUTION
Avatar of Vicker Leung
Vicker Leung
Flag of Hong Kong image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of YvesWheeler
YvesWheeler

ASKER

How to I create these .as files?
YvesWheeler

A simple text editor is fine.

just save the file with extension .as with make it works

And please be reminded that the .as should be placed in the same folder as the .swf
Otherwise some special coding is needed like the following

Assuming that you placed in the folder called as
The class will be changed like this

class as.newClass
{
   ......
}

Vicker
YvesWheeler

If you are looking for a good actionscripts editor

Try SEPY
http://sourceforge.net/projects/sepy/

Vicker