JoElH4Ck3r / flash-thunderbolt

Automatically exported from code.google.com/p/flash-thunderbolt
0 stars 0 forks source link

Linux - Logger doen't work if no <script> in HTML #13

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
> What version are you using?

- ActionScript 3

> What steps will reproduce the problem?

1. Compile ThunderBoltFlexExample.mxml embed it

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="it" dir="ltr">
<head>
</head>
<body>
aaa
<object id='ThunderBoltFlexExample.swf'
classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'
codebase='http://download.adobe.com/pub/shockwave/cabs/flash/swflash.cab#version
=9,0,0,0'
height='100%' width='100%'>
<param name='AllowScriptAccess' value='always'/>
<param name='src' value='ThunderBoltFlexExample.swf'/>
<embed name='ThunderBoltFlexExample.swf'
pluginspage='http://www.adobe.com/go/getflashplayer'
src='ThunderBoltFlexExample.swf' height='100%' width='100%'
AllowScriptAccess='always'/>
</object>
</body>
</html>

> What is the expected output? What do you see instead?

I expected it to work, but it doesn't log. Random clicking in the page
eventually some logging happen.

> What browser are you using? On what operating system? How did you compile
the sources?

Firefox 3.0.7 with Firebug 1.3.3 on Linux. Firefox installed with
ubuntuzilla package

> Please provide any additional information below.

I suppose the bug is not closely related to thunderbolt nor fireBug, it is
possibly related to firefox or adobe player 10 because it seems that one of
them blocks ExternalInterface.call if no <script> is in the page.

Issue has been notified here because probably you could give more in-depth
analisys of the problem, and I think that it would be kind writing a note
about it in the wiki.

Thank for your fantastic work
Luca aka fero

Original issue reported on code.google.com by elfero@gmail.com on 26 Mar 2009 at 2:57

GoogleCodeExporter commented 8 years ago
HI Luca,

unfortunately I haven't got Linux on my machine to test it. However, have you 
tried
to change the security settings of your installed Flash Player as follow:

1) Open Adobes website to change local security restriction:
http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_man
ager04.html
2) Enable "Always allow" (green icon) at "Global Security Settings"
3) Choose "Edit locations" -> "Add location" -> "Browse for files" and select 
SWF of
your app.
4) Close and restart your browser to affect the new settings.

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

Original comment by sect...@gmail.com on 27 Mar 2009 at 7:12