我在把影像带入电影院时有问题。
在我的电影装饰上,我依一(无例)附上Movie。
随后,我制作了一个事例的副本(这些文件已准备好印刷,我有这项工作)。
但是,在闪电电影装上并使用以下部分代码制造th时,便会处理这些病例的初创:
myScroll.content.attachMovie("fav_content", "Stadium"+i, i);
var imgPath = mySharedObject.data["img"+i];
myScroll.content["Stadium" + i].imageLocation = imgPath;
The movieClip instance Stadium+i has a property/variable imageLocation set to imgPath, the below code then handles loading the path to the image which resides in the movieClip Stadium+i on the first frame:
var myLoader:MovieClipLoader = new MovieClipLoader();
myLoader.loadClip(imageLocation, imagePlace);
//imagePlace is the name of the empty movieClip
然而,在一次触发活动上,我想要制作一份除图像外按要求居住的案例副本,我使用的代码非常相似,但出于某种原因没有显示th:
printContainer.attachMovie("fav_content", "Stadium"+i, i);
var imgPath = mySharedObject.data["img"+i];
printContainer["Stadium" + i].imageLocation = imgPath;
var myLoader:MovieClipLoader = new MovieClipLoader();
myLoader.loadClip(imageLocation, imagePlace);
The class is called multiple times once then when triggered in a duplicate movieclip but fails somehow - maybe the clue is duplicate tho tried that (duplicateMovieClip..)
我追踪了图像途径,正确回归。