Printing HTML file from Flash

I am using this function for a button in my Flash menu that I want to print my entire HTML page.

[COLOR=#993300]this[/COLOR].[COLOR=#000000]print_btn[/COLOR].[COLOR=#993300]onRelease[/COLOR] = [COLOR=#993300]function[/COLOR]COLOR=#000000[/COLOR] [COLOR=#000000]{[/COLOR]
[COLOR=#993300]getURL[/COLOR]COLOR=#000000[/COLOR];
[COLOR=#000000]}[/COLOR];

After I pop in the code, I go to test the page on my Mac locally and I get this error.

[COLOR=Red]"Adobe Flash Player has stopped a potentially unsafe operation.

The following local application on your computer or network:
I:…\main.swf

is trying to communicate with the internet enabled location:

I:…\page.html
To let the application communicate click setting.
You must restart the application after changing your setting."[/COLOR]

And on a Windows machine, nothing even happens.

Obviously I think its not working because I am testing it locally, because the minute I upload it to my server, it works. The only problem is, I need it to work locally because it is going to be viewed from a CD not through the net.

Is there another way for my Flash Button to print the entire HTML page?

I really appreciate any help someone can offer. I am at the final stages of this project.