我在Flash中創建了一個AS2文件(這是一個NavBar),我試圖將它轉換爲AS3。我必須對這些腳本進行哪些更改才能轉換爲AS3? (有腳本的第3層):Adobe Flash AS2到AS3?
層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);
}
如果其中一個答案有用,請將其標記爲已接受 – BadFeelingAboutThis 2012-08-20 17:15:33