Hey everyone
I think I’ve found the crux of my issue, but I’m not really sure how to solve it. I simply have one FLVPlayback component in the background and a movieclip on the layer above with an FLVPlayback component inside it. The first FLV component is constantly looping a five-second video.
So all I need is for the movieclip containing the second FLV component to load the right file, fade in, and when the video ends, fade out. Absolutely all of that works… apart from the fading in.
What I noticed was that my movieclip was fading in correctly, but the FLVPlayback component was empty and transparent until the fade had finished - then it played the clip. Here’s my code, which gets called at random intervals:
function getHead() {
rand = Math.floor(Math.random() * 4) + 1;
feature.vid.load(headArray[rand]);
feature.vid.play();
var newtween:Tween = new Tween(feature, "_alpha", Strong.easeOut, 0, 100, 21, false);
}
…where feature is the name of my movieclip, and vid is the name of the component.
Does anybody have a solution for this irritating issue?
Thanks for your help.