![]() |
FlashDoc выдаёт ошибку, хотя при компиляции её нету.
col: 35 Error: Type was not found or was not a compile-time constant: Button.
код вот private function createButton():Button { var bb:Button = new Button(); return bb } Также есть import fl.controls.Button; вообще странно.. также ругается и на col: 47 Error: Type was not found or was not a compile-time constant: ColorPickerEvent. private function onFontColorChangeHandler(e:ColorPickerEvent):void { } хотя есть import fl.events.ColorPickerEvent; Подскажите Please :) |
fl.events.*
попробуй |
c Eventom помогло.. с Button нет)
Добавлено через 1 час 29 минут тоесть import fl.controls.* не помогает |
| Часовой пояс GMT +4, время: 00:01. |
Copyright © 1999-2008 Flasher.ru. All rights reserved.
Работает на vBulletin®. Copyright ©2000 - 2026, Jelsoft Enterprises Ltd. Перевод: zCarot
Администрация сайта не несёт ответственности за любую предоставленную посетителями информацию. Подробнее см. Правила.