[mtasc] Strange build problem w/ ActionStep
Michael Hansen
borendex at gmail.com
Thu Jun 23 00:06:13 CEST 2005
Hi!
This is gonna make me sound like an idiot but would you please try:
if (g_current == undefined)
{
var x:ASThemeProtocol = new ASTheme();
setCurrent(x);
}
Cheers
-michael
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.setActive(false);
> }
>
> g_current = value;
> g_current.setActive(true);
> }
>
> Any help would be greatly appreciated. I don't know what to do.
>
> /Scott
>
> --
> MTASC : no more coffee break while compiling
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.motion-twin.com/pipermail/mtasc/attachments/20050623/c7dc1f70/attachment-0006.htm
More information about the mtasc
mailing list