M
M
marazmiki2011-05-10 18:20:27
Apache Flex
marazmiki, 2011-05-10 18:20:27

Ubuntu 10.04+Flex SDK: swf files compile but don't work?

I'm trying to compile test flex source via mxmlc:

mxmlc player.mxml 
Загрузка файла конфигурации /usr/local/lib/flash_sdk/frameworks/flex-config.xml
/home/USERNAME/Projects/Flash/My Flash Player/src/player.swf (38519 байт)

As you can see, no errors appear, the output player.swf file is created. But if you open it with a flash player (for example, Firefox), the workspace remains empty, there are no messages about the impossibility to load the flash drive, and the context menu is flash player.
Player.mxml content:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:Button label="I am a simple flexy button" x="11" y="11" />
</mx:Application>

Any other source will not compile either. Question - where can be an error?
mxmlc version: 4.1.0 build 16032

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kSx, 2011-09-14
@kSx

Recently there was something similar in FF6 under Arch, the update of the flash player helped. Try to put flash player debug, you can see errors there and you can check the initialization with a trace.

Similar questions

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question