[osflash] MTASC and MovieClip.opaqueBackground

Jonathon Smith frisbeepappy at gmail.com
Mon Oct 10 13:02:54 PDT 2005


Nevermind, I didn't have the -version 8 parameter set in flashout.

Whoops, what a great first post to the list. Hopefully someone else
can benefit from my ignorance. :)


On 10/10/05, Jonathon Smith <frisbeepappy at gmail.com> wrote:
> Has anyone had any success using this property while compiling with
> MTASC?  When compiling with either MTASC 1.09 or 1.10b, I can't see
> the movieclip background after I set this property.  The exact same
> code works just fine in the MM compiler.  In fact, I tried using the
> sample code from the MM help entry for opaqueBackground.
>
> var triangle:MovieClip = this.createEmptyMovieClip("triangle",
> this.getNextHighestDepth());
> triangle._x = triangle._y = 50;
> triangle.lineStyle(3, 0xFFCC00);
> triangle.lineTo(0, 30);
> triangle.lineTo(50, 0);
> triangle.lineTo(0, 0);
> triangle.endFill();
> triangle.opaqueBackground = 0xCCCCCC;
>
> It doesn't get any simpler than that. The sample code worked in MM but
> not in MTASC.  I can see the yellow triangle, I just can't see the
> background no matter what value I set for the color.
>
> Has anyone else tried this property in MTASC with any success?
>
> Jon
>



More information about the osflash mailing list