all groups > macromedia flash sitedesign > november 2006 >
You're in the

macromedia flash sitedesign

group:

FLV Doesn't work!!!!!!!



FLV Doesn't work!!!!!!! edd
11/30/2006 2:22:55 PM
macromedia flash sitedesign: Hi everyone!!!

My site goes through the follow structure:

(startpage) that loads the (mainpage) in a new container MC (alvo) but
in the same level (0).
From within the (alvo).(mainpage), I call another container MC
(movies), now in level (2).
This new MC has a FLV component that should load videos dynamically,
acording to a variable value generated from the buttons in the
(alvo).(mainpage).

The problem:

In my computer everything works fine and I have some friends that told
me the same.
But in some cases, the people goes to the site and all the flash content
works fine, but the video doesn't appears.

The site:

http://www.edd.com.br/new
Is hosted in linux APACHE.

The code:

switch (_global.my_video) {
case "demo" :
my_FLVPlybk.contentPath = "http://www.edd.com.br/media/demo.flv",
"_blank";
break;
case "..." :
...
break;
}

import mx.video.*;
this.attachMovie("FLVPlayback", "my_FLVPlybk", 10);
my_FLVPlybk.bufferTime = 8;
my_FLVPlybk.autoSize = true;
my_FLVPlybk.setSize(400, 270);
my_FLVPlybk.x=2, my_FLVPlybk.y=2;
my_FLVPlybk.autoRewind = true;
my_FLVPlybk.skin = "http://www.edd.com.br/media/ClearOverPlaySeekMute.swf";

The questions:

Why the video doen't work??

Someone have any idea about whats is happening??

Re: FLV Doesn't work!!!!!!! Darr_darshan
12/5/2006 2:10:54 PM
hi

even though i am not sure i think for online access of flv you would need flash streaming server or embed files in swf

Re: FLV Doesn't work!!!!!!! Mister Peanut
12/5/2006 5:00:11 PM
Does your code look similar to this?

var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream=new NetStream(nc);
theVideo.attachVideo(ns);

ns.onStatus = function(infoObject) {
if(infoObject.code=="NetStream.Play.Stop"){
ns.close();
theVideo.clear();
}
}

P
Re: FLV Doesn't work!!!!!!! edd
12/6/2006 3:31:06 AM
Thanks!

I've solved the problem!!!

Mister Peanut escreveu:
[quoted text, click to view]
Re: FLV Doesn't work!!!!!!! glwheeler
4/28/2007 2:38:42 AM
AddThis Social Bookmark Button