Got a quick one here, can't seem to find it by searching but how can I import an actionscripts file (AS 2.0, Flash MX2004), to use its class in an fla?
I'm doing this,
#include "Base64-20.as"
but getting these errors
**Error** C:\Documents and Settings\mike\Desktop\Base64-20.as: Line 24: Classes may only be defined in external ActionScript 2.0 class scripts.
class Base64
**Error** C:\Documents and Settings\mike\Desktop\Base64-20.as: Line 25: The class 'Base64' needs to be defined in a file whose relative path is 'Base64.as'.
extends Object
am I missing something?
thanks
I'm doing this,
#include "Base64-20.as"
but getting these errors
**Error** C:\Documents and Settings\mike\Desktop\Base64-20.as: Line 24: Classes may only be defined in external ActionScript 2.0 class scripts.
class Base64
**Error** C:\Documents and Settings\mike\Desktop\Base64-20.as: Line 25: The class 'Base64' needs to be defined in a file whose relative path is 'Base64.as'.
extends Object
am I missing something?
thanks