Форум Flasher.ru

Форум Flasher.ru (http://www.flasher.ru/forum/index.php)
-   ActionScript (http://www.flasher.ru/forum/forumdisplay.php?f=5)
-   -   Какие ещё есть методы общения c флешем через JavaScript? (http://www.flasher.ru/forum/showthread.php?t=58668)

Dimanelly 26.05.2004 18:31

Какие ещё есть методы общения c флешем через JavaScript?
 
Здравствуйте уважаемые.
Ищу методы, вызываемые из JavaScript-а для воздействия на флеш-фильм.
Например: window.document.id-флеш-ролика.Play();

на сайте макромедии нашёл такие:

Play() - Start playing the animation.
StopPlay() - Stop playing the animation.
IsPlaying() - Returns true if the movie is currently playing.
GotoFrame (int frameNum) - Goto a specific frame of the movie.
TotalFrames() - Returns the total number of frames in the movie.
Rewind() - Go to the first frame.
SetZoomRect (int left, int top, int right, int bottom) - Zoom in on a rectangular area of the movie.
Zoom(int percent)
Pan (int x, int y, int mode)
PercentLoaded()

К своему удивлению, не нашёл в этом списке SetVariable(name, value)

Вопрос: может быть есть ещё какие то?
И как можно вызвать функцию описанную в флеш-фильме.
window.document.id-флеш-ролика.my-func(); ???

Спасибо.

dimarik 27.05.2004 11:12

http://www.macromedia.com/support/fl...tingwithflash/


Часовой пояс GMT +4, время: 18:43.

Copyright © 1999-2008 Flasher.ru. All rights reserved.
Работает на vBulletin®. Copyright ©2000 - 2026, Jelsoft Enterprises Ltd. Перевод: zCarot
Администрация сайта не несёт ответственности за любую предоставленную посетителями информацию. Подробнее см. Правила.