1

如何从 As3 打开网页以替换当前的 iFrame(和 Flash 对象)。

4

1 回答 1

0

您想将网页打开到 iframe 中还是要替换包含 iframe 的整个页面?

前者:

import flash.net.*;    
navigateToURL( new URLRequest("url-of-the-page-to-be-opened"), "_self" );

后者:

import flash.net.*;    
navigateToURL( new URLRequest("url-of-the-page-to-be-opened"), "_top" );
于 2009-02-24T08:46:41.147 回答