[mtasc] Strange build problem w/ ActionStep
borendex at gmail.com
Thu Jun 23 00:06:13 CEST 2005
This is gonna make me sound like an idiot but would you please try:
if (g_current == undefined)
var x:ASThemeProtocol = new ASTheme();
On 6/22/05, Scott Hyndman <Scott at affsys.com> wrote:
> Hey, I'm encountering a strange problem when compiling ActionStep that I
> can't exactly explain or resolve.
> Here is the issue. There is a class called ASTheme with a static method
> called current(). It returns the current theme...whatever that may be,
> or creates the default theme if current hasn't been set.
> Now this method is returning nothing for ME ONLY. It works fine on Rich
> and Ray's boxes. Rich can even compile his sources, send me a copy, and
> that works fine (ruling out the Flash player).
> To rule out differences in my build, I did a fresh CVS checkout, and
> still was encountering the same problem.
> Here is the code involved:
> * Gets / sets the current ASDrawer.
> public static function current():ASThemeProtocol
> if (g_current == undefined)
> setCurrent(new ASTheme());
> return g_current;
> public static function setCurrent(value:ASThemeProtocol)
> if (g_current != undefined)
> g_current = value;
> Any help would be greatly appreciated. I don't know what to do.
> MTASC : no more coffee break while compiling
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mtasc