[Top][All Lists]
[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: |
Fri, 16 Oct 2009 16:43:03 -0700 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Fri, Oct 16, 2009 at 09:09:36PM +0100, Richard Humphreys <address@hidden>
wrote:
> First question, how does one add a sprite to the stage using script? I
> am well aware of how to use '.put ...', but for an arbitrary (and
> possibly large) number of objects I would naturally use addChild();.
addChild() only works with a class derived from Sprite or MovieClip.
Try wrapping a
class MyMovie extends flash.display.MovieClip
{
...
}
around your ActionScript.
Matthias
- [Swftools-common] Really basic AS3 question, Richard Humphreys, 2009/10/16
- Re: [Swftools-common] Really basic AS3 question,
Matthias Kramm <=
- 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