Problem getting placeholder for Flash video to work
I've created a movie clip placeholder for a Flash video. I want the video with control panel to load without playing and with the placeholder in place. Then I want the user to click the start button on the control panel to play the movie and tween away the placeholder. But I can't get the tween to work (on click the movie plays behind the placeholder.) Here's the code. Would appreciate help with adding/subtracting code to make this work. Here's what I have now Thanks.
import fl.video.*;
import com.greensock.*;
import com.greensock.easing.*;
movie1.autoPlay=false;
movie1.source="sandywoods_resident_export.flv";
movie1.addEventListener(Event.COMPLETE,isPlaying);
function isPlaying(e:Event): void
{TweenLite.to(poster, 4,{alpha:0});}
function hidePoster(){
}
|