Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1348 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     Flash and Actionscript :

still image before playing flv

Thread title: still image before playing flv
Reply    
    Thread tools Search this thread Display Modes  
11-21-2008, 02:42 AM
#1
wizarddesign is offline wizarddesign
Status: I'm new around here
Join date: Nov 2008
Location:
Expertise:
Software:
 
Posts: 1
iTrader: 0 / 0%
 

wizarddesign is on a distinguished road

  Old  Still image before playing flv - what are the actions?

Hi there,

I need to do exactly what you have successfully done on your site. I have an imported .flv in Flash 8 which has the SteelExternallAll.swf skin.

I'd like to insert a still frame rather than showing the black screen before the video plays.

I have put the video in frame 2 of Layer 1.
I have the still image in frame 1 of Layer 2.
What are the actions I need in Layer 3?

Can you help me with this? Do I have to get rid of the standard skin and make my own?

Thanks,
Louise

Reply With Quote
12-01-2008, 10:46 PM
#2
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
Reply    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed