0
Q
移动到另一个框架
A
回答
0
stop();
_root.onEnterFrame = function() {
if (objectcount == 5) { //or however many hidden objects you have
play(); //goes to next frame... add the "stop();" code on the next frame to stop it from continuing to move onto the next frames... additionally you could use _root.goToAndStop(2);
}
}
object1.onPress = function() {
trace("object1found");
objectcount ++; //adds "1" to the number of objects found
object1._visible = false; //hides the object this was just found
}
object2.onPress = function() {
trace("object1found");
objectcount ++; //adds "1" to the number of objects found
object2._visible = false; //hides the object this was just found
}
object3.onPress = function() {
trace("object1found");
objectcount ++; //adds "1" to the number of objects found
object3._visible = false; //hides the object this was just found
}
object4.onPress = function() {
trace("object1found");
objectcount ++; //adds "1" to the number of objects found
object4._visible = false; //hides the object this was just found
}
object5.onPress = function() {
trace("object1found");
objectcount ++; //adds "1" to the number of objects found
object5._visible = false; //hides the object this was just found
}
//and so on...
相关问题
- 1. 在JAVA中从一个框架移动到另一个框架
- 2. html将内容从一个框架移动到另一个框架
- 3. 如何将wxPython控件移动到另一个框架
- 4. 从一个PHP框架迁移到另一个
- 5. 将文本框从一个框架移动到另一个框架中的VBA代码?
- 6. 如何将一个kinect骨架移动到另一个位置
- 7. 移动到另一个锚
- 8. 移动到另一个ViewController
- 9. 移动到另一个
- 10. 使用Javascript移动到同一页面中的另一个框架
- 11. jquery从一个框移动到另一个
- 12. 从一个列表框移动到另一个tkinter
- 13. 移动框架
- 14. 从一个JFrame移动到另一个
- 15. 移动一个div到另一个DIV
- 16. 从一个ViewController移动到另一个
- 17. 从一个div移动到另一个
- 18. 将列表框项目移动到另一个列表框?
- 19. 将列表框项从一个列表框移动到另一个列表框?
- 20. 将文本框从一个框架复制到另一个框架
- 21. 要求EditView中框被移动到另一个活动
- 22. 将组件框架拖放到另一个框架
- 23. 将iOS框架包含到另一个框架中
- 24. 如何将框架添加到另一个框架?
- 25. 移动到另一个活动
- 26. 将架构移动到另一个数据库
- 27. C#winforms:将文本从一个文本框移动到另一个文本框
- 28. 将MoveFocus从一个列表框移动到另一个列表框
- 29. 将项目从一个列表框移动到另一个列表框 - C#
- 30. 将项目从一个列表框移动到另一个列表框(c#webforms)