Does anyone know of a work-around to this bug:
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=4b687833
I'm getting javascript errors in IE using externalInterface and SWF
file names that have a hyphen in them. Unfortunately I'm working with
a content management system that renames SWF's
Well, one idea that comes to mind is that you could escape the
filename (using the escape() function) before sending it through
ExternalInterface, and then unescape it in JavaScript. Hyphens do not
get converted by ActionScript's escape() function, but you can force
it like so:
This bug is actually more weird than you would think - it's not the
passing of a string with a hypen that is causing the problem - it's
simply a SWF with a hyphen calling any externalInterface call.
Try this test:
create a new Flash file - make sure you name it with a hypen in it eg.
test-1.swf
On 12/6/06, Mick G [EMAIL PROTECTED] wrote:
This bug is actually more weird than you would think - it's not the
passing of a string with a hypen that is causing the problem - it's
simply a SWF with a hyphen calling any externalInterface call.
Whoops, I guess I should have read the TechNote
4 matches
Mail list logo