tencrocs / fb4linux

Automatically exported from code.google.com/p/fb4linux
0 stars 0 forks source link

swf file app built with FB4L does not run #21

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I have a very simple app.  Just one button in it.

If I compile it with FB4L, I see a blank page in firefox

If I compile the same mxml file with the compiler in the SDK (mxmlc) it
loads and displays fine in firefox.

I have attached the two swf files

Ubuntu Lucid AMD64, Eclipse Galileo, Flex SDK 4.0, Firefox Namoroka,
Flashplayer 10

Original issue reported on code.google.com by scottder...@gmail.com on 12 May 2010 at 3:25

Attachments:

GoogleCodeExporter commented 8 years ago
Here's the mxml code, as I said it's but simple. I have tried a much larger
application with the same results.

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
               xmlns:s="library://ns.adobe.com/flex/spark" 
               xmlns:mx="library://ns.adobe.com/flex/halo" minWidth="1024" minHeight="768">
    <fx:Declarations>
    <!-- Place non-visual elements (e.g., services, value objects) here -->
    </fx:Declarations>
    <s:Button label="Hello World"/>
</s:Application>

Original comment by scottder...@gmail.com on 12 May 2010 at 3:26

GoogleCodeExporter commented 8 years ago
Installed the 3.5 Flex SDK and the FB4L generated swf file works!  

Not sure whats going on with the 4.0 SDK and FB4Linux

The 4.0 SDK works fine in the WIndoze Flash Builder 4

Original comment by scottder...@gmail.com on 12 May 2010 at 4:51

GoogleCodeExporter commented 8 years ago
Same problem but my project needs Flex 4.
My project can't compile with Flex 3 SDK.

Original comment by lmichen...@gmail.com on 31 May 2010 at 12:34

GoogleCodeExporter commented 8 years ago
I did another test :
I compile my project with Windows Flash Builder 4.
I copied the swf files on a linux machine and i opened it
in firefox => and... blank page too...

Is it possible to see the compiler options used by the flash builder ?

Original comment by lmichen...@gmail.com on 31 May 2010 at 1:41

GoogleCodeExporter commented 8 years ago
I finally found the solution for the blank page...
First, sorry but i've got the french locale...

The solution :
Go into your project settings
Go into "Chemin de génération Flex"
Go into tab "Chemin d'accès à la bibliothèque"
Unckeck "Utiliser les bibliothèques RSL locales de débogage lors du débogage"

Recompile your project.
Then, it should work.

Original comment by lmichen...@gmail.com on 2 Jun 2010 at 12:23

GoogleCodeExporter commented 8 years ago
yes,the bug the the rsl compile's bug,and set the merge the framework rsl to 
project
can fixed.

Original comment by eshang...@gmail.com on 2 Jun 2010 at 12:43

GoogleCodeExporter commented 8 years ago
#5 Thanks you very much !!
It works now with your help.

Original comment by loenix34 on 16 Mar 2012 at 9:15

GoogleCodeExporter commented 8 years ago
Thank you - works for me also.

Original comment by Claudiu2...@gmail.com on 26 Feb 2013 at 12:31