automatically redirect to website home page
Today I got a new task.
in that task i have to make one website intro and have to run with html page. that i know haw to do it. and i have done with this part.
but now i have to do one thing that is. when my intro is completed then page will automatically redirect to w开发者_如何学Cebsite home page.
is it possible then page will be redirect without single click. if yes then how.
Please reply to solve this problem.
Thanking you And Kindly Regards. Jeyson
At the end of animation add a keyframe and attach:
In AS2 : getURL("home.html");
In AS3 : navigateToURL(new URLRequest("home.html"));
I found it here.
Just to make sure you know errors, you may use: (AS3 Code)
var url:String = "home.html";
var request:URLRequest = new URLRequest(url);
try
{
navigateToURL(request, "_self");
}
catch (e:Error)
{
trace("Error occurred!");
}
精彩评论