setDataURL update and SSL

Recommended Posts

I've created a page which displays a 2D column chart to show data by year. There's a dropdown which allows selection of year and then when a button is pushed javascript alters the setDataURL to dynamically update the chart.

Now this all worked fine in a test environment, but when I moved to the live environment the page throws a JavaScript error in both FF and IE. The only difference is that in the live environment the data URL is pointed at a https location.

The error in FF is "Error: uncaught exception: Error calling method on NPObject! [plugin exception: Error in Actionscript. Use a try/catch block to find error.]." (A try/catch block doesn't provide any extra info)

In IE it gives me "Message: Unspecified error. Line: 49.Char: 5.Code: 0"

This is not the common SSL problem that people sometimes get. The swf is on the same SSL server as the data. The headers are set correctly to allow IE to work over SSL. Also the chart does display fine with an initial https setDataURL, specified before the chart is rendered.

Could there be a problem in the actionscripts handling of a SSL URL when the chart is dyamically updated?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now