On Thu, Mar 11, 2010 at 12:02 PM, Paul Andrews <[email protected]> wrote:

> Show us "Navigate.to()"
>

Navigate was a script I copied and it works in other apps:

package
{
    import flash.net.URLRequest;
    import flash.net.navigateToURL;

    public class Navigate{
        public function Navigate(url:String, target:String) {
            var URLReq:URLRequest = new URLRequest(url);
            try {
                navigateToURL(URLReq, target);
            } catch (e:Error) {
                trace("Navigate is broken = " + e);
            }
        }

        public static function to(url:String, target:String =
"_self"):Navigate {
            return new Navigate(url, target);
        }
    }
}

Does this help?
Susan
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to