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

Uncaught TypeError: Object #<an HTMLObjectElement> has no method 'ConnectToStream' #2

Open
cornerwings opened this issue Nov 6, 2010 · 1 comment

Comments

@cornerwings
Copy link

It produces this error even though everything is in place. May be it is because the external callback in Flash file is not getting registered with javascript.

@mbrubin56
Copy link

This is probably because you are running test.html from your local file system, and not from a server. Default security restrictions prevent the ExternalInterface registration from working under that scenario. But you can go to http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html and go to the Global Security Settings and indicate that you trust the swf, and you'll be good to go. By the way, I figured this out by installing the debug Flash Player (plenty of instructions on the web for how to do this, even in Chrome) and saw the security error pop up that's suppressed by the release version of the player. By the way, use stream.twitter.com, not betastream.twitter.com.

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