navigateToURL problems in Flex 3


our flex app called coldfusion/html, , when app finishes, need refresh page app on update images. unfortunately, seems there bug in navigatetourl makes ineffective in firefox.

we tried workaround try call javascript refresh page, doesn't work either, on production server.

the strange thing is, works fine local developer's environment. run app, when finishes, in example below, browser hits google's homepage fine.

but when put app on production server, not running js refresh. doesn't report security or other errors, either. "sits" there.

our production environment looks this:
server 1: swf file
server 2: html calls swf file, embedded in coldfusion cfm file.

we have "allowscriptaccess" set "always" in html file.

also, set cross-domain access allowing actual swf file run across servers without generating security errors. runs fine , performs task upload file server. @ end, refresh/call html flex/js doesn't work.

here's couple of code snippets:

--- javascript ---
function moveit() {
window.location = ' http://www.google.com'
}

--- flex ---
package {
import flash.external.externalinterface;
public class urlutil
{
protected static const window_open_function : string = "moveit()";
public static function openwindow(url : string, window : string = "_blank",
features : string = "") : void
{
externalinterface.call(window_open_function);
//externalinterface.call(window_open_function, url, window, features);
}
}
}

and actionscript calls it:

urlutil.openwindow(" http://www.google.com/");

we trying type of refresh/call html working @ point. appreciated!

thanks!
mike

i have similar problem. web server calls swf, located on media server. works fine until try refresh page. have thoughts?

we're using actionscript 3.0 , cf8.
thanks!


More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support