Open Espigah opened 10 years ago
SWFPlugin::attach { containerGraphicContext = cast(graphicsContext.nativeLayer); } cause Error so ... I changed to this: try { containerGraphicContext = cast(graphicsContext.nativeLayer); } catch (err:Dynamic ) { containerGraphicContext = cast(graphicsContext.nativeLayer.platformLayer); }
ps.:I don't know what I'm doing, but it works =)
I think this bug was fixed in the development version. Do you have the same bug when using the current code from the master branch ?
I don't know I will test soon (I'm afraid to break my code= D)
I tried and beautiful =)
< object id="swfContainer" type="application/x-shockwave-flash" data="Untitled-1.swf" width="550" height="400"> </object
[Fault] exception, information=TypeError: Error #1034: Falha de coerção de tipo: não é possível converter cocktail.core.dom::Text@5907a19 em cocktail.core.html.HTMLElement.