October 17, 2009 at 1:42 am
· Filed under AS3, ExternalInterface, Graphics
A long time I didn’t code anything in JS… and I just had an insight.
I don’t know if it’s new but at least it’s interesting for me how we can integrate Flash and HTML contents.
This is just a simple ugly test to drag something from Flash and drop on HTML.
The demo is in this link:http://www.hellokeita.in/xp/DragDrop/
Vote
Permalink
October 16, 2007 at 4:38 pm
· Filed under AS3, ExternalInterface
I experienced a problem calling ExternalInterface.call when using SWFObject on IE.
Actually, I figured out that it wasn’t any bug. Just a little miss.
On IE, the Flash looks for the Flash Object by the Object’s ID.
So, what you need to do is just set the right name and id of the flash object you are embedding
[code lang="actionscript"]
swfobject.embedSWF("myflash.swf", "flash_content", "100%", "100%", "9.0.0", "expressInstall.swf", undefined, undefined, {id:"flashMovie", name: "flashMovie"});
[/code]
Just that!
I hope it helps someone that experienced the same problem.
Vote
Permalink