swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] Really basic AS3 question


From: Matthias Kramm
Subject: Re: [Swftools-common] Really basic AS3 question
Date: Wed, 21 Oct 2009 12:08:12 -0700
User-agent: Mutt/1.5.20 (2009-06-14)

On Wed, Oct 21, 2009 at 03:56:31PM +0000, Richard Humphreys <address@hidden> 
wrote:
> I still cannot work out an answer to my original problem: How to add a
> swfc sprite to the stage with script. Thanks to the help that I have
> been given so far, that attached program now compiles without error.
> However it does not work, there are no sprites being added by the
> actionscript.

For this, ActionScript has to know that your "logo" object corresponds
to your "spr" class. That's something not supported by swfc yet. 

One of the next swfc versions will contain support.
In to your example, the syntax will then be:

  .sprite logo as3name=spr
    ...
  .end

Matthias





reply via email to

[Prev in Thread] Current Thread [Next in Thread]