Форум Flasher.ru

Форум Flasher.ru (http://www.flasher.ru/forum/index.php)
-   ActionScript (http://www.flasher.ru/forum/forumdisplay.php?f=5)
-   -   Как получить Текущий Кадр ? (http://www.flasher.ru/forum/showthread.php?t=30222)

Denis Savin 14.04.2002 06:29

Как получить Текущий Кадр ?
 
Надо узнать на каком кадре в данный момент проигрывается
текущий клир ?

Хрюндик 14.04.2002 09:37

RTFM!!! _currentframe вроде...

Хрюндик 14.04.2002 09:40

да, точно:

Цитата:

MovieClip._currentframe

Availability


Flash Player 4.

Usage


myMovieClip._currentframe
Description


Property (read-only); returns the number of the frame in which the playhead is located in the Timeline specified by MovieClip.

Example


The following example uses the _currentframe property to direct the playhead of the movie clip actionClip to advance five frames ahead of its current location.

actionClip.gotoAndStop(_currentframe + 5);


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

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