【发布时间】:2012-05-08 10:00:36
【问题描述】:
我有一个名为“map”的地图影片剪辑,其中包含一堆建筑剪辑。每个建筑物都是一个可以单击的影片剪辑。我需要将地图集中在该单击的项目上。我怎样才能做到这一点?
//This doesn't make the map move where i need it to
function moveMap(childmc:String):void {
Tweener.addTween(themap, {x:themap[childmc].x, time:1, transition:"easeOutCubic"});
Tweener.addTween(themap, {y:themap[childmc].y, time:1, transition:"easeOutCubic"});
}
任何帮助都会很棒,一直在寻找几个小时。
【问题讨论】:
标签: actionscript-3