Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

object type="application/x-shockwave-flash" [exception] #FIXED #404

Open
Espigah opened this issue Mar 7, 2014 · 4 comments
Open

object type="application/x-shockwave-flash" [exception] #FIXED #404

Espigah opened this issue Mar 7, 2014 · 4 comments

Comments

@Espigah
Copy link

Espigah commented Mar 7, 2014

< 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.

@Espigah
Copy link
Author

Espigah commented Mar 10, 2014

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 =)

@yanhick
Copy link
Member

yanhick commented Mar 12, 2014

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 ?

@Espigah
Copy link
Author

Espigah commented Mar 13, 2014

I don't know I will test soon (I'm afraid to break my code= D)

@Espigah
Copy link
Author

Espigah commented Apr 15, 2014

I tried and beautiful =)

#fixed #solved

@Espigah Espigah changed the title object type="application/x-shockwave-flash" [exception] [FIXED] object type="application/x-shockwave-flash" [exception] Apr 15, 2014
@Espigah Espigah changed the title [FIXED] object type="application/x-shockwave-flash" [exception] object type="application/x-shockwave-flash" [exception] #FIXED Apr 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants