|
|
|||||
Guest
Сообщений: n/a
|
Растягивание Flash с помощью AS
Всем привет!
Прошу прощения за глупый вопрос, но никак не могу справиться! Возник такой вопрос, как растянуть флеш, также как это сделано здесь... Просто я воспользовался такой же, но рипнутой флешкой и переделал ее полностью под свой сайт... но растяжения такого у меня не получается. Всё дело в том, что когда я растягиваю флеш средствами HTML
Также не работает кнопка "на всесь экран" (кнопка full_scr)! В самой флешке есть такой скрипт: Stage.align = "TL"; Stage.scaleMode = "noScale"; load0._x = int(Stage.width / 2) + 0; load0._y = int(Stage.height / 2) + 0; sizeListener = new Object(); sizeListener.onResize = function () { load0._x = int(Stage.width / 2) + 0; load0._y = int(Stage.height / 2) + 0; _root.scroller._x = int(Stage.width / 2) + 2.000000E-001; _root.scroller._y = int(Stage.height / 2) + 7.000000E-001; if (Stage.height / Stage.width < picHeight) { ch_photos_mov._width = Stage.width; ch_photos_mov._height = picHeight * ch_photos_mov._width; } else { ch_photos_mov._height = Stage.height; ch_photos_mov._width = picWidth * ch_photos_mov._height; } // end else if _root.op._width = Stage.width; _root.op._height = Stage.height; _root.top_bg._width = Stage.width + 1; _root.bg_st._width = Stage.width; _root.bg_st._y = Stage.height - _root.bg_st.bott_bg.bg._height - 1; _root.mov_sm_ph._y = Stage.height - _root.mov_sm_ph.bg._height; _root.priv_mov_st._y = Stage.height - _root.priv_mov_st._height; _root.full_scr_mov._y = Stage.height - _root.full_scr_mov._height; _root.mov_tip1._y = Stage.height - _root.mov_tip1._height; _root.mov_sm_ph._x = int(Stage.width / 2) + 0; _root.mov_tip1._x = int(Stage.width / 2 - _root.mov_tip1._width / 2) + 0; _root.full_scr_mov._x = Stage.width - _root.full_scr_mov._width; _root.ss_mov._x = int(Stage.width - 119) + 0; _root.ch_pages._x = int(Stage.width - 675) + 0; _root.ch_photos_mov._x = Stage.width / 2; _root.ch_photos_mov._y = Stage.height / 2; }; Stage.addListener(sizeListener); Заранее спасибо! Последний раз редактировалось YANSEN.RU; 24.01.2009 в 19:39. |
|
|||||
__________________
Убейте меня! |
Часовой пояс GMT +4, время: 15:19. |
|
« Предыдущая тема | Следующая тема » |
Теги |
fscommand , fullscreen , размеры , растягивание |
Опции темы | |
Опции просмотра | |
|
|