ThunderBoltAS3 v2.0 doesn't work properly with Firebug 1.3.

15 views
Skip to first unread message

Takayoshi Fujiki

unread,
Jan 19, 2009, 12:28:42 PM1/19/09
to flash-thunderbolt
Hi,

Does anyone try ThunderBoltAS3 v2.0 with Firebug 1.3.0(released on
1/7/2009)?

In my environment, ThunderBolt Logger doesn't output any text to
Firebug console.
However, these texts were output to flashlog.txt properly.

I wrote the following code and compiled by mxmlc to generate SWF file.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
applicationComplete="this.applicationComplete();">
<mx:Script><![CDATA[
import org.osflash.thunderbolt.Logger;
private function applicationComplete():void {
Logger.info("Test");
}
]]></mx:Script>
</mx:Application>

The above code works when using Firebug 1.2.1 instead of 1.3.0.("Test"
is output to Firebug console)

Thanks in advance.

sectore

unread,
Jan 20, 2009, 7:07:56 AM1/20/09
to flash-thunderbolt
Hi Takayoshi,

just updated to Firebug 1.3.0. and ThunderBolt AS 3 runs on my machine
(OSX 10.5.6, Firefox 3.0.5) without any problems.

Please test your installed Firebug using this example:
http://www.websector.de/blog/2008/08/03/thunderbolt-as3-supports-flex-4-gumbo/

-Jens
--
http://www.websector.de/blog/

Takayoshi Fujiki

unread,
Jan 20, 2009, 11:32:16 PM1/20/09
to flash-thunderbolt
Hi Jens,

Thank you for your reply.

I tried your example and confirmed that the logger text was output to
Firebug 1.3.0 console properly.
Furthermore, I realized that the problem occurred when I opened a SWF
file directly by Firefox 3.0.5 on Win XP.
(When I opened ThunderBoltGumbo.swf, the problem occurred.)

So, I wrote the following HTML using swfobject.js to wrap my test SWF
file and opened the HTML by Firefox, the logger text was output to the
Firebug console.(i.e. The problem was solved.)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Test</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="language" content="en" />
<meta name="description" content="" />
<meta name="keywords" content="" />

<script src="js/swfobject.js" type="text/javascript"></script>
<script type="text/javascript">
var flashvars = {};
var params = {
menu: "false",
scale: "noScale"
};
swfobject.embedSWF("Test.swf", "altContent", "100%", "100%", "9.0.0",
"expressInstall.swf", flashvars, params);
</script>
<style>
html, body { height:100%; }
body { margin:0; }
</style>
</head>
<body>
<div id="altContent">
<h1>Test</h1>
<p>Alternative content</p>
<p><a href="http://www.adobe.com/go/getflashplayer"><img
src="http://www.adobe.com/images/shared/download_buttons/
get_flash_player.gif"
alt="Get Adobe Flash player" /></a></p>
</div>
</body>
</html>

It seems that some spec was changed in Firebug 1.3.0 from 1.2.1...
Anyway, this behavior is not actually a big problem for me because the
SWF file is usually wrapped by HTML.

Thank you again for your support.

On Jan 20, 9:07 pm, sectore <sect...@gmail.com> wrote:
> Hi  Takayoshi,
>
> just updated to Firebug 1.3.0. and ThunderBolt AS 3 runs on my machine
> (OSX 10.5.6, Firefox 3.0.5) without any problems.
>
> Please test your installed Firebug using this example:http://www.websector.de/blog/2008/08/03/thunderbolt-as3-supports-flex...
>
> -Jens
> --http://www.websector.de/blog/

Alexey Poimtsev

unread,
Jan 29, 2009, 5:17:18 AM1/29/09
to flash-thunderbolt
Hi, Takayoshi, all.
I have similar problem
1. When i’m press publish in Flex Builder, copy main.swf to wwwroot at
webserver, open firebug - i see nothing (firebug is enabled for
localhost)
2. When i pressing debug in FB and IDE opening local html file from
bin-debug - i see messages
3. When i’m opening from bin-debug main.SWF - i see no messages
4. When i’m opening from bin-release main.SWF - i see no messages
5. When i’m opening from bin-release main.HTML - i see no messages

but, when i'm trying to access uploaded to server main.html - i see
messages :)

sectore

unread,
Jan 30, 2009, 5:30:24 AM1/30/09
to flash-thunderbolt
Hi Alexey,

have you tried to change the settings of your installed Flash Player
plug-in as I commented for you on my blog (See there commont #23):
http://www.websector.de/blog/2007/10/14/thunderbolt-as3-10-released-a-lightweight-logging-tool-for-flex-2-and-flash-cs3-applications/#comments

Thanks,
Jens
--
http://www.websector.de/blog/
Reply all
Reply to author
Forward
0 new messages