【发布时间】:2012-04-04 12:11:15
【问题描述】:
这是我的网站: http://johnnathankorver.com/
如果您单击内容菜单,您可能会注意到内容进入一段时间后会隐藏。 它只发生在Firefox中。在 IE 上运行正常。
当有人点击其中一个菜单时,这是我的按钮脚本,如果我的代码有问题,请告诉我:
on (rollOver)
{
if (_root.page != 2)
{
_root.menu.about.gotoAndPlay(2);
}
}
on (rollOut, releaseOutside)
{
if (_root.page != 2)
{
_root.menu.about.gotoAndPlay(10);
}
}
on (release)
{
if (_root.page != 2 & _root.y != 0)
{
_root.galler.play();
_root.pic = 22;
_root.poy.play();
_root.page = 2;
_root.menu.about.a.play();
if (_root.a == 1)
{
_root.menu.main.gotoAndPlay(10);
_root.menu.main.a.play();
}
if (_root.a == 2)
{
_root.menu.about.gotoAndPlay(10);
_root.menu.about.a.play();
}
if (_root.a == 3)
{
_root.menu.gall.gotoAndPlay(10);
_root.menu.gall.a.play();
}
if (_root.a == 4)
{
_root.menu.arch.gotoAndPlay(10);
_root.menu.arch.a.play();
}
if (_root.a == 5)
{
_root.menu.cont.gotoAndPlay(10);
_root.menu.cont.a.play();
}
_root.a = 2;
}
}
问候 苏库 Flash 开发人员
【问题讨论】:
标签: flash firefox compatibility