читаю мануал про классы.
раздел "Writing custom class files".
написал класс prl_class. сохранил его в файл prl_class.as. там же создал файл test_loading.fla и, как сказано в мануале, написал в первой строчке

Код:
import prl_class;
получаю ошибку.
хотя в мануале написано
Цитата:
Type the following ActionScript into Frame 1 of the Timeline:
import User;
...
bla-bla-bla
...
Because the User class you created previously is very basic, the ActionScript in the Flash document is also very straightforward. The first line of code imports the custom User class into your Flash document. Importing the User class lets you use the class as a custom data type.
|
чозанах?
