[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-dev] Re[2]: embed-gravity.swf
From: |
Udo Giacomozzi |
Subject: |
[Gnash-dev] Re[2]: embed-gravity.swf |
Date: |
Tue, 31 Oct 2006 12:05:26 +0100 |
Hello strk,
Tuesday, October 31, 2006, 11:43:19 AM, you wrote:
s> mm.. I don't see the reduction with mozilla and the Flash 7.0 r25
s> player... maybe try to reduce further ?
Attached a new version with controllable size.
This revealed a few problems:
- onLoadInit does not get called (that's why it isn't scaled)
- _xscale/_yscale are not pre-initialized. At start _xscale+5 leads to
a xscale of 5.0 instead of 105.0
- The AGG renderer does not scale the strokes!
Actionscript code:
=== frame 1 (only frame in movie) ===
var container:MovieClip = createEmptyMovieClip("container",
getNextHighestDepth());
var mcLoader:MovieClipLoader = new MovieClipLoader();
mcLoader.addListener(this);
mcLoader.loadClip("gravity.swf", container);
function onLoadInit(mc:MovieClip) {
trace("onLoadInit: " + mc);
size=50*1;
mc._xscale = size;
mc._yscale = size;
}
=== buttons ===
on (release) {
size = (size*1)-2; // or +2
container._xscale = size;
container._yscale = size;
}
"size" is displayed as text under the buttons.
Udo
PS: Going back to mailing list since this may be of general interest.
gravity-embedded2.swf
Description: application/shockwave-flash
- Re: [Gnash-dev] invalidated bounds interfaces - loading external movies, (continued)
- Re[2]: [Gnash-dev] invalidated bounds interfaces, Udo Giacomozzi, 2006/10/31
- Re: [Gnash-dev] invalidated bounds interfaces, strk, 2006/10/31
- Re[2]: [Gnash-dev] invalidated bounds interfaces, Udo Giacomozzi, 2006/10/31
- Re: [Gnash-dev] invalidated bounds interfaces, strk, 2006/10/31
- Re[2]: [Gnash-dev] invalidated bounds interfaces, Udo Giacomozzi, 2006/10/31
- Re: [Gnash-dev] invalidated bounds interfaces, strk, 2006/10/31
- Re[2]: [Gnash-dev] invalidated bounds interfaces, Udo Giacomozzi, 2006/10/31
- Message not available
- Message not available
- Message not available
- [Gnash-dev] Re[2]: embed-gravity.swf,
Udo Giacomozzi <=
- [Gnash-dev] Re: embed-gravity.swf, strk, 2006/10/31
- Re: [Gnash-dev] Re: embed-gravity.swf, strk, 2006/10/31
- [Gnash-dev] self-contained SWF testcases (was: Re: embed-gravity.swf), strk, 2006/10/31