[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Swftools-common] wrong positioning
From: |
Pablo Rodríguez |
Subject: |
[Swftools-common] wrong positioning |
Date: |
Fri, 30 Oct 2009 22:35:13 +0100 |
User-agent: |
Thunderbird 2.0.0.23 (X11/20090817) |
Hi there,
I have the following script;
.flash filename="first.swf" bbox=800x600 version=7 fps=12
.outline fscreen_outline: M 409.38739,212.82563 L 398.29364,215.70063 L
395.44989,226.76313 L 397.57489,224.63813 L 401.32489,228.38813 L
411.01239,218.73188 L 407.26239,214.95063 L 409.38739,212.82563 z M
488.57489,212.82563 L 490.69989,214.95063 L 486.94989,218.73188 L
496.60614,228.38813 L 500.38739,224.63813 L 502.51239,226.76313 L
499.66864,215.70063 L 488.57489,212.82563 z M 433.79364,228.38813 C
421.17283,228.38813 411.01239,235.91438 411.01239,245.26313 L
411.01239,267.76313 C 411.01239,277.11188 421.17283,284.63811
433.79364,284.63813 L 464.16864,284.63813 C 476.78945,284.63813
486.94989,277.11186 486.94989,267.76313 L 486.94989,245.26313 C
486.94989,235.91438 476.78945,228.38813 464.16864,228.38813 L
433.79364,228.38813 z M 401.35614,284.63813 L 397.57489,288.38813 L
395.44989,286.26313 L 398.29364,297.32563 L 409.38739,300.20063 L
407.26239,298.07563 L 411.01239,294.29438 L 401.35614,284.63813 z M
496.60614,284.63813 L 486.94989,294.29438 L 490.69989,298.07563 L
488.57489,300.20063 L 499.66864,297.32563 L 502.51239,286.26313 L
500.38739,288.38813 L 496.60614,284.63813 z .end
.outline fulls_outline: M 411.01239,200.26313 L 486.94989,200.26313 C
507.98458,200.26313 524.91864,212.80688 524.91864,228.38813 L
524.91864,284.63813 C 524.91864,300.21938 507.98458,312.76313
486.94989,312.76313 L 411.01239,312.76313 C 389.9777,312.76313
373.04364,300.21938 373.04364,284.63813 L 373.04364,228.38813 C
373.04364,212.80688 389.9777,200.26313 411.01239,200.26313 z .end
.filled fscreen outline=fscreen_outline fill=#969696ff color=#969696ff
.filled fulls outline=fulls_outline fill=#64646496 color=#64646496
.frame 1
.put fscreen
.stop fscreen
.put fulls
.stop fulls
.action:
slide_height=Stage.height;
slide_width=Stage.width;
fscreen._x = (slide_width-fscreen._width)/2;
fscreen._y = (slide_height-fscreen._height)/2;
fulls._x = (slide_width-fulls._width)/2;
fulls._y = (slide_height-fulls._height)/2;
.end
.end
I'm trying to set the fscreen and fulls in the center of the
presentation, but it doesn't work.
What am I doing wrong here? (Just in case it might help, the outline is
copied from http://www.ousia.tk/fullscreen.svg.)
Thanks for your help,
Pablo
- [Swftools-common] wrong positioning,
Pablo Rodríguez <=