我在 Flash 中制作了一个 AS2 文件(它是一个 NavBar),我正在尝试将其转换为 AS3。我必须对这些脚本进行哪些更改才能转换为 AS3?(有3层脚本):
第 1 层:
stop();
home.onRelease = function()
{
getURL("http://www.google.ca", _parent);
}
maps.onRelease = function()
{
getURL("http://www.google.ca", _parent);
}
forum.onRelease = function()
{
getURL("http://www.google.ca", _parent);
}
help.onRollOver = function()
{
gotoAndStop(2);
}
more.onRollOver = function()
{
gotoAndStop(3);
}
第 2 层:
stop();
faq.onRelease = function()
{
getURL("http://www.google.ca", _parent);
}
howtos.onRelease = function()
{
getURL("http://www.google.ca", _parent);
}
edge.onRollOver = function()
{
gotoAndStop(1);
}
background_1.onRollOver = function()
{
gotoAndStop(1);
}
forum.onRollOver = function()
{
gotoAndStop(1);
}
more.onRollOver = function()
{
gotoAndStop(3);
}
第 3 层:
stop();
submit.onRelease = function()
{
getURL("http://www.google.ca", _parent);
}
uwdclan.onRelease = function()
{
getURL("http://www.google.ca", _parent);
}
edge_2.onRollOver = function()
{
gotoAndStop(1);
}
background_2.onRollOver = function()
{
gotoAndStop(1);
}
help.onRollOver = function()
{
gotoAndStop(2);
}