PDA

View Full Version : flv playback component wont play my video???


livebmx
07-14-2008, 01:52 AM
hello.

basically i have three mc's on stage, each are assigned to play a flv file with the hand of the flv playback component. The problem is when i test the movie and click one of these mc's the video just doesn't play??? all i get is the streaming image in the buffer bar as if it is loading something, yet nothing happens. these flv files of mine are also very small, 2.6 mb maximum.

I am stumped!! can anyone shed some light on this??

I have tried to search for some examples of overcoming this but with no luck. any help willl be much appreciated. I will continue trying to solve this problem in the mean time. thanx
here is my code so far....

import mx.video.*;

}

btnv1_mc.onRelease = function (){

myPlayer.contentPath = "hidebarweb.flv";

}

btnv2_mc.onRelease = function (){

myPlayer.contentPath = "lastmnuteweb.flv";

}
btnv3_mc.onRelease = function (){

myPlayer.contentPath = "e4beatbox.flv";

}

atomic
07-14-2008, 02:35 AM
Attach your .fla to this forum...

livebmx
07-14-2008, 12:51 PM
ok cheers atomic. here is the .fla
the purpose of this .fla shows an animated portfolio of some of my work, it contains a photo and video gallery. the video gallery section is obviously where i want this flv playback component to show some of my work. Simply navigate clicking the video gallery button on the start page, the component shows up but no video on mc click.
all my video files are also located in the same folder as the .fla

atomic
07-14-2008, 06:04 PM
Well it does work for me, with my own .flv... ?

Does it for you when testing it locally, and not only when it's uploaded to the server?

If this is online, do you have a link to it?

livebmx
07-14-2008, 10:31 PM
thats weird.......

no it doesn't work when testing locally, this is not online either, it is really to simply send to clients.
eventually, something like this will be live.

I have uploaded all files for this project, simply grab this link below and download. Your help is much appreciated!!!

http://www.mediafire.com/?tup1zcgucl5

All content images and video are located in the folder 'for show'

Thankyou.

atomic
07-14-2008, 10:38 PM
I'll have a look after dinner...

livebmx
07-14-2008, 11:41 PM
have altered the code slightly......
am now getting this message in the output panel......

'1000: Unable to make connection to server or to find FLV on server'

myPlayer.autoPlay = false;

btnv1_mc.onRelease = function (){
myPlayer.contentPath = "hidebarweb.flv";
myPlayer.play();
}

btnv2_mc.onRelease = function (){
myPlayer.contentPath = "lastmnuteweb.flv";
myPlayer.play();
}

btnv3_mc.onRelease = function (){
myPlayer.contentPath = "e4beatbox.flv";
myPlayer.play();
}

i haven't mentioned also that i am using flash 8 AS 2. sorry.

atomic
07-15-2008, 03:24 AM
You don't need to update the code with myPlayer.play();, but you do need to use the correct spelling on your .flv's...

In your initial & above post, you're using hidebarweb.flv while the actual flv is spelled with a "y" -> hydebarweb.flv, and the same for lastmnuteweb.flv where you have an "i" missing...
It should be lastminuteweb.flv...

If you change that, it works fine!

livebmx
07-15-2008, 12:59 PM
haha!!! what an idiot i am.
hate looking at something for so long you begin to lose all thought, should have taken a step back and looked at the error that was so obvious!!!

cheers for sticking with me atomic!!!

atomic
07-15-2008, 02:11 PM
Grrrrreat! ;)