Wrox Programmer Forums
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Flash (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 25th, 2007, 11:41 AM
Registered User
 
Join Date: Jan 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default allowInsecureDomain()

Problem opening a browser window from CD production in Flash 8

I am trying to produce a CD in Flash 8 that needs to open some html files. I have tried using 'externalInterface'which works fine on my local machine but not as a CD or on any other machine, but now understand that this does not work because of security restrictions.

I have tried getURL as below (only works locally and on the internet not on a CD or other machine)

diyplus_mc.onPress = function ()
{
getURL ("javascript:var windowHdl = window.open('showcase/products_services/showcase_home.htm','newwin','toolbar=1,resizable=1 ,fullscreen=1');");

};

I have now found the function allowInsecureDomain() but I need to know if this will help if not is there a way to do it?

If it will work how do I use it? Can you supply an example of code.

I have tried everything I can think of. Can you help?

Thanks









Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.