Форум Flasher.ru

Форум Flasher.ru (http://www.flasher.ru/forum/index.php)
-   Общие вопросы о Flash (не затрагивающие ActionScript) (http://www.flasher.ru/forum/forumdisplay.php?f=60)
-   -   Flex -> Fla (http://www.flasher.ru/forum/showthread.php?t=168149)

AlexCooper 17.09.2011 17:41

Flex -> Fla
 
Здравствуйте.
Есть проект на Флексе его можно переконвентировать в Фла файл?

etc 17.09.2011 18:49

Нельзя.

AlexCooper 17.09.2011 20:07

Мне дали проект на доработку а Я даже толком его открыть не могу)) НУ что ж, пришло время познакомиться с Флексом

NikolyA 17.09.2011 20:43

Flex Builder качай, и открывай проект, ничего сложного

AlexCooper 17.09.2011 20:49

Подскажите где рыть???
Код:

Running process: D:\Program Files\FlashDevelop\Tools\fdbuild\fdbuild.exe "D:\Neurons\project\tanks\countertanks\countertanks.as3proj" -ipc 78064e1a-af58-4bb8-963d-069778600840 -compiler "D:\SysTemp\Download Liberty\flex_sdk_4.5.1" -library "D:\Program Files\FlashDevelop\Library"
Using the Flex Compiler Shell.
Building countertanks
mxmlc -load-config+=obj\countertanksConfig.xml -debug=true -incremental=true -o obj\countertanks634518814984218750
Incremental compile of 1
 Loading configuration file D:\SysTemp\Download Liberty\flex_sdk_4.5.1\frameworks\flex-config.xml
Loading configuration file D:\Neurons\project\tanks\countertanks\obj\countertanksConfig.xml
Files changed: 1 Files affected: 0
obj\countertanks634518814984218750 (1891492 bytes)
D:\Neurons\project\tanks\countertanks\src\wa\games\tanks\display\skins\classes\TopPanel.as(187): col: 17 Warning: Duplicate variable definition.
D:\Neurons\project\tanks\countertanks\src\wa\games\tanks\display\skins\classes\TopPanel.as(228): col: 17 Warning: Duplicate variable definition.
D:\Neurons\project\tanks\countertanks\src\wa\games\tanks\display\skins\classes\TopPanel.as(253): col: 58 Warning: parameter 'param2' has no type declaration.
D:\Neurons\project\tanks\countertanks\src\wa\games\tanks\display\skins\classes\TopPanel.as(274): col: 28 Warning: parameter 'e' has no type declaration.
D:\Neurons\project\tanks\countertanks\src\wa\games\tanks\display\skins\classes\TopPanel.as(285): col: 57 Warning: parameter 'param3' has no type declaration.
D:\Neurons\project\tanks\countertanks\src\wa\games\tanks\display\skins\classes\TopPanel.as(285): col: 49 Warning: parameter 'param2' has no type declaration.
D:\Neurons\project\tanks\countertanks\src\wa\games\tanks\display\skins\classes\TopPanel.as(378): col: 32 Warning: parameter 'e' has no type declaration.
D:\Neurons\project\tanks\countertanks\src\wa\games\tanks\display\skins\classes\TopPanel.as(389): col: 20 Warning: parameter 'e' has no type declaration.
D:\Neurons\project\tanks\countertanks\src\rl\dev\output.as(3): col: 37 Warning: return value for function 'output' has no type declaration.
D:\Neurons\project\tanks\countertanks\src\rl\dev\SWFConsole.as(807): col: 14 Warning: variable 'i' has no type declaration.
D:\Neurons\project\tanks\countertanks\src\rl\dev\SWFConsole.as(827): col: 14 Warning: variable 'i' has no type declaration.
D:\Neurons\project\tanks\countertanks\src\rl\dev\SWFConsole.as(874): col: 14 Warning: variable 'i' has no type declaration.
D:\Neurons\project\tanks\countertanks\src\rl\dev\SWFConsole.as(896): col: 1 Warning: return value for function '_initFPS' has no type declaration.
(fcsh)Build succeeded
Done(0)
[Starting debug session with FDB]
[Fault] exception, information=VerifyError: Error #1014: Class IFlexModuleFactory could not be found.


Bgg 17.09.2011 20:55

Вот тут:
Цитата:

D:\Neurons\project\tanks\countertanks\src\wa\games\tanks\display\skins\classes\TopPanel.as(187): col: 17 Warning: Duplicate variable definition.
D:\Neurons\project\tanks\countertanks\src\wa\games\tanks\display\skins\classes\TopPanel.as(228): col: 17 Warning: Duplicate variable definition.
D:\Neurons\project\tanks\countertanks\src\wa\games\tanks\display\skins\classes\TopPanel.as(253): col: 58 Warning: parameter 'param2' has no type declaration.
D:\Neurons\project\tanks\countertanks\src\wa\games\tanks\display\skins\classes\TopPanel.as(274): col: 28 Warning: parameter 'e' has no type declaration.
D:\Neurons\project\tanks\countertanks\src\wa\games\tanks\display\skins\classes\TopPanel.as(285): col: 57 Warning: parameter 'param3' has no type declaration.
D:\Neurons\project\tanks\countertanks\src\wa\games\tanks\display\skins\classes\TopPanel.as(285): col: 49 Warning: parameter 'param2' has no type declaration.
D:\Neurons\project\tanks\countertanks\src\wa\games\tanks\display\skins\classes\TopPanel.as(378): col: 32 Warning: parameter 'e' has no type declaration.
D:\Neurons\project\tanks\countertanks\src\wa\games\tanks\display\skins\classes\TopPanel.as(389): col: 20 Warning: parameter 'e' has no type declaration.
D:\Neurons\project\tanks\countertanks\src\rl\dev\output.as(3): col: 37 Warning: return value for function 'output' has no type declaration.
D:\Neurons\project\tanks\countertanks\src\rl\dev\SWFConsole.as(807): col: 14 Warning: variable 'i' has no type declaration.
D:\Neurons\project\tanks\countertanks\src\rl\dev\SWFConsole.as(827): col: 14 Warning: variable 'i' has no type declaration.
D:\Neurons\project\tanks\countertanks\src\rl\dev\SWFConsole.as(874): col: 14 Warning: variable 'i' has no type declaration.
D:\Neurons\project\tanks\countertanks\src\rl\dev\SWFConsole.as(896): col: 1 Warning: return value for function '_initFPS' has no type declaration.

AlexCooper 17.09.2011 21:35

Код:

Running process: D:\Program Files\FlashDevelop\Tools\fdbuild\fdbuild.exe "D:\Neurons\project\tanks\countertanks\countertanks.as3proj" -ipc 78064e1a-af58-4bb8-963d-069778600840 -compiler "D:\SysTemp\Download Liberty\flex_sdk_4.5.1" -library "D:\Program Files\FlashDevelop\Library"
Using the Flex Compiler Shell.
Building countertanks
mxmlc -load-config+=obj\countertanksConfig.xml -debug=true -incremental=true -o obj\countertanks634518837328125000
Incremental compile of 1
 Loading configuration file D:\SysTemp\Download Liberty\flex_sdk_4.5.1\frameworks\flex-config.xml
Loading configuration file D:\Neurons\project\tanks\countertanks\obj\countertanksConfig.xml
Nothing has changed since the last compile. Skip...
obj\countertanks634518837328125000 (1891444 bytes)
(fcsh)Build succeeded
Done(0)

Но при запуске свф
Код:

VerifyError: Error #1033: Cpool entry 7 is wrong type.

Bgg 17.09.2011 21:38

На первых страницах гугла пишут все одно:
Цитата:

You compiled for Flash Player 10 and are running it in Flash Player 9
У вас наверно тоже самое.

AlexCooper 17.09.2011 22:15

Спасиб.

ну а теперь вообще непонятно где искать
Код:

Running process: D:\Program Files\FlashDevelop\Tools\fdbuild\fdbuild.exe "D:\Neurons\project\tanks\countertanks\countertanks.as3proj" -ipc 78064e1a-af58-4bb8-963d-069778600840 -compiler "D:\SysTemp\Download Liberty\flex_sdk_4.5.1" -library "D:\Program Files\FlashDevelop\Library"
Using the Flex Compiler Shell.
Building countertanks
mxmlc -load-config+=obj\countertanksConfig.xml -debug=true -incremental=true -o obj\countertanks634518870352031250
Starting java as: java.exe
INITIALIZING: Adobe Flex Compiler SHell (fcsh)
Starting new compile.
Loading configuration file D:\SysTemp\Download Liberty\flex_sdk_4.5.1\frameworks\flex-config.xml
Loading configuration file D:\Neurons\project\tanks\countertanks\obj\countertanksConfig.xml
_Main_mx_managers_SystemManager.as(92): col: 40 Error: Type was not found or was not a compile-time constant: Array.
private var _allowDomainParameters:Vector.<Array>;
^
_Main_mx_managers_SystemManager.as(97): col: 48 Error: Type was not found or was not a compile-time constant: Array.
private var _allowInsecureDomainParameters:Vector.<Array>;
^
Build halted with errors (fcsh).
(fcsh)
Done(1)

Добавлено через 2 часа 33 минуты
Код:

_Main_mx_managers_SystemManager.as(92): col: 40 Error: Type was not found or was not a compile-time constant: Array.
private var _allowDomainParameters:Vector.<Array>;
^
_Main_mx_managers_SystemManager.as(97): col: 48 Error: Type was not found or was not a compile-time constant: Array.
private var _allowInsecureDomainParameters:Vector.<Array>;
^
Build halted with errors (fcsh).


etc 18.09.2011 12:07

Походу ещё и playerglobal.swc не подключен.


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

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