View Single Post
12-01-2008, 10:46 PM
#6
JackA is offline JackA
Status: I'm new around here
Join date: Aug 2008
Location:
Expertise:
Software:
 
Posts: 2
iTrader: 0 / 0%
 

JackA is on a distinguished road

  Old

Sorry this took so long. I had forgotten what I did. Here's the deal:
Bottom layer #1 = video with control skin
Next layer above is #2 = image
Top layer = action which is -----

startBtn.onRelease = function() {
// make sure your video has an instance name of vid
// and it is NOT set to auto play.
vid.play();
this._alpha = 0;
};
var listenerObject:Object = new Object();
listenerObject.stopped = function(eventObject) {
startBtn._alpha = 100;
};
vid.addEventListener("stopped",listenerObject);

listenerObject.playing = function(eventObject){
startBtn._alpha = 0;
//Or you can use startBtn._visible = false
}

vid.addEventListener("playing",listenerObject);

All in frame #1

There is prob another way, but I had to create my own image from a frame of the video. I just ran it in Quicktime, stopped it, captured from the screen and saved it/sized it in Photoshop. Hope that works for you.

Jack

Reply With Quote