Go Back   OXYLUS Flash Board > Support > FLV Player Light White/Black

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-17-2008, 08:27 AM
Junior Member
 
Join Date: Jun 2008
Posts: 3
Default Encorporating a big "play button" and "initial frame" at the beginning

Hey, great skin!

I had one question. I want to put a nice big play now into the main screen area and have the option to define an initial image. At first glance in the fla I am a bit at a loss how to begin. Any tips?
Reply With Quote
  #2 (permalink)  
Old 06-20-2008, 09:09 AM
Junior Member
 
Join Date: Jun 2008
Posts: 3
Default A not so pretty hack..

I managed a not so pretty hack to add a play button and an initial screen.
I simply added a beginning frame to the main flash with those graphics and set the xml to autoplay in frame 2.

Not the greatest solution, but works how I want it to. Unfortunately, now I can't figure out how to get back to that initial frame once the flv has finished playing. so I get my big play button and a freeze frame.

I could fake the big youtube like button in the flv no problem, but when I tried to add to the hit space of the play movie clip, it threw off the other elements in the bar.

Any thoughts on a better idea?

Last edited by wackytrixxie; 06-20-2008 at 09:25 AM.
Reply With Quote
  #3 (permalink)  
Old 06-20-2008, 10:36 AM
Super Moderator
 
Join Date: May 2008
Posts: 519
Send a message via Skype™ to Adrian
Default

Hi,
In the VPlayer.as file you have a method like:

Code:
	private function FLVCtrl_OnFLVComplete() {
	}
here you could call the script to return to the firts frame:

Code:
	private function FLVCtrl_OnFLVComplete() {
_root.gotoAndStop(1);
	}
Reply With Quote
  #4 (permalink)  
Old 06-21-2008, 09:30 PM
Junior Member
 
Join Date: Jun 2008
Posts: 3
Default

You'd laugh, I had tried that, but for some reason it didn't work so I was a bit stumped... Turned out I was editing the wrong version of the vplayer.as (I made an extra copy so I had the original folder to look at as I modified). And, modified that one instead of the file my fla was looking at.

Thanks again!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.