Wielkosc animacji |
Autor |
Wiadomość |
Alexi
Początkujący

Wiek: 39 Dołączył: 14 Kwi 2008 Posty: 8 Skąd: KolnO
|
Wysłany: Wto 28 Paź, 2008 11:41 Wielkosc animacji
|
|
|
Mam pytanie. Otoz mam animacje. I ona zawsze jest taka jak wielkosc strony nie wazne czy fire fox czy explorer. Tzn. Jesli zrobie strone na 5cm na 5cm to i animacja bedzie widoczna cala ale w wielkosci 5cm na 5cm. Co zrobic by wielkosc jej byla stala niezaleznie od zmian wielkosci okna przegladarki?? Bardzo prosze o pomoc. |
|
|
|
 |
^sl01k


Pomógł: 42 razy Wiek: 29 Dołączył: 15 Lis 2005 Posty: 355 Skąd: Trójmiasto
|
Wysłany: Wto 28 Paź, 2008 17:27
Moje WWW: cześć prac w stopce :) |
|
|
Kod: | onSelfEvent (load) {
Stage.scaleMode = "noScale";
Stage.align = "TL";} | w pierwszej scenie na dziendobry
Opcje pozycji (w przykladzie jest "TL" ...
Kod: | " " (default): displays the Movie centered in the 'Movie' window. All edges might be cropped if the 'Movie' window is smaller than the Movie
"L" (left): aligns the Movie along the left edge of the 'Movie' window and crops the top, bottom, and right sides as necessary
"R" (right): aligns the Movie along the right edge of the 'Movie' window and crops the top, bottom, and left sides as necessary
"T" (top): aligns the Movie along the top edge of the 'Movie' window and crops the bottom, left, and right sides as necessary
"B" (bottom): aligns the Movie along the bottom edge of the 'Movie' window and crops the top, left, and right sides as necessary
"TL" (top left): aligns the Movie along the top and left edges of the 'Movie' window and crops the bottom and right sides as necessary
"TR" (top Right: aligns the Movie along the top and right edges of the 'Movie' window and crops the top and left sides as necessary
"BL" (bottom left): aligns the Movie along the bottom and left edges of the 'Movie' window and crops the top and right sides as necessary
"BR" (bottom right): aligns the Movie along the bottom and right edges of the 'Movie' window and crops the top and left sides as necessary. |
|
_________________ mam 12 lat i dopiero się uczę
http://sl01k.cal.pl/portfolio/
http://fachowo.co |
|
|
|
 |
Alexi
Początkujący

Wiek: 39 Dołączył: 14 Kwi 2008 Posty: 8 Skąd: KolnO
|
Wysłany: Wto 28 Paź, 2008 22:36
|
|
|
No powiem ze nie bardzo mi to dziala. opcje LOAD uznaje za blad w scrypcie.
Kod: | onFrame (1) {{Stage.scaleMode = "noScale";
Stage.align = "T";}
stop();}
|
Doszedlem do czegos takiego i juz nie zmienia wielkosci ale tez nie idzie wyswietlic calego poprzez scroll w przegladarce. Poptrzebuje jeszcze mozliwosci scrollu. |
|
|
|
 |
Kermit
Profesjonalista

Pomógł: 9 razy Wiek: 40 Dołączył: 15 Lip 2006 Posty: 176 Skąd: Kraków
|
Wysłany: Pią 31 Paź, 2008 23:11
Moje WWW: www.tsi.f6.pl |
|
|
a jakiego swisha uzywasz ? w tym kodzie jest blad. powinno byc:
Kod: | onFrame(1){
Stage.scaleMode = "noScale";
Stage.align = "T";
}
|
|
|
|
|
 |
^sl01k


Pomógł: 42 razy Wiek: 29 Dołączył: 15 Lis 2005 Posty: 355 Skąd: Trójmiasto
|
Wysłany: Sob 01 Lis, 2008 11:35
Moje WWW: cześć prac w stopce :) |
|
|
Cytat: | w tym kodzie jest blad. powinno byc: | taki bład to niebład
a jesli chodzi o scroll to zalezy on od css'ow jezeli nic w nich niemasz to powninien sie sam zrobic... zalezy tez jak wkladasz plik w htmla...
tutaj masz raczej problem po stronie xhtml'a/css'ow |
_________________ mam 12 lat i dopiero się uczę
http://sl01k.cal.pl/portfolio/
http://fachowo.co |
|
|
|
 |
|