gnash-dev
[Top][All Lists]
Advanced

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

Re: [Gnash-dev] does _height work??


From: strk
Subject: Re: [Gnash-dev] does _height work??
Date: Thu, 12 Oct 2006 16:30:48 +0200

I'm looking at the existing movies under testsuite/samples
The test-rotatation.swf is already failing, I think...
it prints a changing xscale and yscale when it should print
them immutated, right ?
I'm thinking about producing some test files for some
of them rather then make up new tests with Ming.
This can include your own SWF... (hopefully Ming's decompiler
will be able to extract a source code from them)

--strk;

On Wed, Oct 11, 2006 at 06:01:31PM +0200, Udo Giacomozzi wrote:
> Hello strk,
> 
> Wednesday, October 11, 2006, 5:53:28 PM, you wrote:
> s> mmm.... can you think of a generic test case for this ?
> s> The normalized way for it would be using Ming to generate the .swf
> s> like it is done inside testsuite/misc-ming.all and provide a test
> s> runner like it is done with the DefineEditTextVariableNameTest-Runner.
> 
> I do all my tests using Flash. It's easier and I'm not that familiar
> with Ming :)
> 
> However, a simple test case would be something like that one I created
> in flash:
> 
> - create a MC definition "sub" with some simple shape
> 
> - add ActionScript code to that MC to trace the variables:
> 
>   trace(this+": width="+_width+", height="+_height+
>     ", xscale="+_xscale+", yscale="+_yscale);
> 
> - create another MC definition "instance" that contains "sub"
> 
> - add three "instance" sprites to the stage, one without
>   transformation, one scaled and one rotated
> 
> They should all print the same numbers.
> 
> Udo

-- 

 /"\    ASCII Ribbon Campaign
 \ /    Respect for low technology.
  X     Keep e-mail messages readable by any computer system.
 / \    Keep it ASCII. 





reply via email to

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