[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-dev] Re: Seeking simple actionscript example
From: |
strk |
Subject: |
Re: [Gnash-dev] Re: Seeking simple actionscript example |
Date: |
Fri, 2 Feb 2007 18:03:58 +0100 |
Good to hear you crossed the mtasc barrier :)
What would you think about adding some mtasc bits to
our test framework ?
It would be extremely useful to have mtasc-compiled testcases.
Other free compilers are also worth testing.
--strk;
On Fri, Feb 02, 2007 at 04:57:03PM +0000, Martin Guy wrote:
> 2007/2/1, Martin Guy <address@hidden>:
> > I need to probe adobe player's action script classes with erroneous
> >code to make sure our versions fail in the same ways.
>
> Got it.
>
> $ cat > test.as << EOF
> class Test {
> static var app : Test;
> var
>
> function Test() {
> var now = new Date();
> _root.createTextField("tf",0,0,0,320,200);
> _root.tf.text = now.toString();
> }
>
> static function main(mc) {
> app = new Test();
> }
> }
> EOF
> $ mtasc -swf test.swf -main -header 320:200:10 test.as
> ...then open test.swf with a browser containing the Adobe plugin.
>
> M
>
>
> _______________________________________________
> Gnash-dev mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/gnash-dev
--
() ASCII Ribbon Campaign
/\ Keep it simple!