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: Richard Humphreys
Subject: Re: [Swftools-common] Really basic AS3 question
Date: Mon, 19 Oct 2009 16:02:29 +0000 (GMT)

This is an interesting piece of code, although it does not actually deal with the particular problem that I was referring to.

My question involved two, presumably simple stages:

1. Define an object using .sprite
2. place that object on the stage using script (e.g: addChild())

So far I have still not found a way to do this, even with the advice from Matthias.

I will try dynamic later, perhaps that will help,

Richard.



From: Ricardo Pedroso <address@hidden>
To: swftools-common <address@hidden>
Sent: Monday, 19 October, 2009 15:55:25
Subject: Re: [Swftools-common] Really basic AS3 question

On Sat, Oct 17, 2009 at 9:08 AM, jean-michel.voicechat_fan
<address@hidden> wrote:
> hello matthias
> i have tried to put a class syntax on the top of .action: statement
> but i have a syntax error
> i have just wrapped a small piece of working code
>
> the syntax error pointer points on the class name
>
> it seems like class statement  is not taken into account
> is something missing  ?
>

I was hunting this for sometime too.
Today I was able to make it work (tested only with
swftools-2009-08-24-2042), see attachment.
It's a simple test editor.
You can change bold, italic, underline with 3 buttons or with context
menu (mouse right click)

The "magic" here is to define a dynamic class

Richard and Jean, if you find other ways of doing, please let me know

Hope this will be useful,
Ricardo


reply via email to

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