PDA

Просмотр полной версии : как в FDT привязать класс к fla файлу?


Yaxic
21.05.2008, 15:24
Создал проект, в нём папку Classes, там package main и класс txt.as
package main {
import flash.display.Sprite;

public class txt extends Sprite {
public function txt() {
trace("Hello");
}
}
}

в fla файле пишу Classes.main.txt, выдаёт ошибку: 5001: The name of package 'main' does not reflect the location of this file. Please change the package definition's name inside this file, or move the file. E:\workspace\test1\Classes\main\txt.as