[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swftools-common] Really basic AS3 question
From: |
Ricardo Pedroso |
Subject: |
Re: [Swftools-common] Really basic AS3 question |
Date: |
Sun, 25 Oct 2009 15:37:22 +0000 |
On Wed, Oct 21, 2009 at 7:08 PM, Matthias Kramm <address@hidden> wrote:
> 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
>
I've made some changes to swfc to support export objects (sprites and
buttons) to as3.
Patch against git and samples attached
I had chengedthe syntax of commads:
.flash - added a maincalss=
If you do not include this mainclass parameter your mainclass
should be the first public class.
.button added a as3name=
.sprite added a as3name=
It would be nice if someone can test and give some feedback.
This way we can "give some pressure" for matthias to include this
feature in swftools. ;)
Ricardo
as3name.patch
Description: Text Data
as3name_simplebutton.sc
Description: Binary data
as3name_sprite.sc
Description: Binary data
- Re: [Swftools-common] Really basic AS3 question, (continued)
- Re: [Swftools-common] Really basic AS3 question, jean-michel voicechat_fan, 2009/10/17
- Re: [Swftools-common] Really basic AS3 question, jean-michel.voicechat_fan, 2009/10/17
- Re: [Swftools-common] Really basic AS3 question ....., jean-michel.voicechat_fan, 2009/10/19
- Re: [Swftools-common] Really basic AS3 question, Ricardo Pedroso, 2009/10/19
- Re: [Swftools-common] Really basic AS3 question, Richard Humphreys, 2009/10/19
- Re: [Swftools-common] Really basic AS3 question, jean-michel.voicechat_fan, 2009/10/19
- Re: [Swftools-common] Really basic AS3 question, Richard Humphreys, 2009/10/21
- Re: [Swftools-common] Really basic AS3 question, jean-michel.voicechat_fan, 2009/10/21
- Re: [Swftools-common] Really basic AS3 question, Matthias Kramm, 2009/10/21
- Re: [Swftools-common] Really basic AS3 question, Richard Humphreys, 2009/10/22
- Re: [Swftools-common] Really basic AS3 question,
Ricardo Pedroso <=
- Re: [Swftools-common] Really basic AS3 question, Richard Humphreys, 2009/10/25
- Re: [Swftools-common] Really basic AS3 question, Matthias Kramm, 2009/10/27