Ask a Question related to Macromedia Director Lingo, Design and Development.
-
meeesta webforumsuser@macromedia.com #1
Video Problem
Hello.
I'v been working on a CD-ROM and its all but finished. Everything works fine on nearly all systems, except for the video clip and its only on Windows 98 the error seems to appear.
I've tested the clip through the media player and everything works fine. I'm using 8.5 and when the projector is played on Win98 the sound disappears. Could it be the codec used on the clip? Are there any known bugs/issues with Win98 and .avi files?
This is the only thing that's holding me up and it's driving me nuts. Anybody has any thoughts or ideas that'd be great.
Many thanks for your time.
Meeesta
meeesta webforumsuser@macromedia.com Guest
-
Problem With Video
i desgin the very simple video galllery then i use flash video component (Adobe Developer Center Tutorial) and flex. when i test the video in my... -
Dreamweaver video problem
I am trying to embed an .swf file into an HTML page. It loads fine and tests fine in Dreamweaver. But when I view the HTML file all I see is a... -
DVD Video Problem
Running Win 2003 Server and need to also be able to use DVD. WinDVD returns error message Create overlay failure, Please lower your resolution or... -
director and video problem.
hi, for a school project I am trying to create an interactive film. I am using different chunks of a movie which the user can see in a random order.... -
help! big problem with video playback
hi there, i got a problem with my quicktime-video-playback. everything worked just fine till I decided to insert a version-check-routine. i... -
Steve #2
Re: Video Problem
Are you displaying the video using "direct to stage"?
If you're not, you should; if you are, it could be a few other things.
-Steve
On Wed, 10 Sep 2003 14:23:55 +0000 (UTC), "meeesta"
[email]webforumsuser@macromedia.com[/email] wrote:
>Hello.
>
>I'v been working on a CD-ROM and its all but finished. Everything works fine on nearly all systems, except for the video clip and its only on Windows 98 the error seems to appear.
>
>I've tested the clip through the media player and everything works fine. I'm using 8.5 and when the projector is played on Win98 the sound disappears. Could it be the codec used on the clip? Are there any known bugs/issues with Win98 and .avi files?
>
>This is the only thing that's holding me up and it's driving me nuts. Anybody has any thoughts or ideas that'd be great.
>
>Many thanks for your time.
>Meeesta
>
>Steve Guest
-
Stef #3
Video problem
Hi,
I have a situatiom where I have two quicktime video sprites that overlap
each other on the stage; now when one video is played everything works as it
should. At some point the user can stop the video where I use this code to
stop it:
sprite(3).movieRate = 0
sprite(3).visibility = false
The movie stops fine, but now if I try to play the 2nd QT video there is
flikering. Any suggestions on how I can 'unload' the movie from Directors
memory so as to avoid the flickering.
Thanks,
S
Stef Guest
-
JB #4
Re: Video problem
Not sure if a not visible video sprite still uses resource. You can set
the member of the hidden sprite to another type, like a static bitmap.
If you have scripts tracking the movietime of the video sprites, you
might have to add a sprite(n).member.type test before he video check
code.
Or just try changing the loc of the hidden video to an off screen
position so there is no phantom overlay.
JB Guest
-
Stef #5
Re: Video problem
Hi,
Your suggestion to move the QT sprite off stage seems to have solved the
problem.
Thanks,
S
"JB" <lingoguy@sbcglobal.net> wrote in message
news:lingoguy-93FE4D.15531203022004@forums.macromedia.com...> Not sure if a not visible video sprite still uses resource. You can set
> the member of the hidden sprite to another type, like a static bitmap.
> If you have scripts tracking the movietime of the video sprites, you
> might have to add a sprite(n).member.type test before he video check
> code.
>
> Or just try changing the loc of the hidden video to an off screen
> position so there is no phantom overlay.
Stef Guest
-
ghazhkull webforumsuser@macromedia.com #6
Re: Video problem
you can also put the second video on the same sprite, replacing the first one.
the flicker may disapear
ghazhkull webforumsuser@macromedia.com Guest
-
Lynn #7
Video Problem
While using Microsoft Publisher (to convert webpage to
Front Page) I try to insert a media clip, i.e., *.wmv
from the Clip Gallery and an error message says: "Clip
Gallery could not create a preview image for file *.*.
This may be due to a missing, corrupted or incorrest
version of a graphics or import filter or media player."
What's the problem and can you help me.
Also, when I insert a media i.e., *.mpg file into front
page (convert from Publisher) it will not play from my
website on Windows Media Player. What's the problem
here? thanks for your assistance.
Lynn Guest
-
David Bartosik - MS MVP #8
Re: Video Problem
I strongly recommend against moving Publisher made web pages into FrontPage.
Use one or the other.
That said, you do not insert a media clip into a Publisher web publication.
It's simply not relevant in a Publisher document. In a web site files are
linked to one another. If you want a media file on your site then you upload
the file and you link to it from a hyperlink on a web page.
The functionality is different then in FrontPage. In FP you are working with
a "web" versus a document.
I can't speak for our issue when using FP - you'd have to visit the FP
forum - but I would feel safe saying it's because you're doing something I
already said you shouldn't do. The 2 products write code that is very very
very fundamentally different from one another.
--
David Bartosik - MS MVP
for Publisher help:
[url]www.davidbartosik.com[/url]
enter to win Pub 2003:
[url]www.davidbartosik.com/giveaway.aspx[/url]
"Lynn" <rservmin@bellsouth.net> wrote in message
news:9c8e01c4345a$64577250$a401280a@phx.gbl...> While using Microsoft Publisher (to convert webpage to
> Front Page) I try to insert a media clip, i.e., *.wmv
> from the Clip Gallery and an error message says: "Clip
> Gallery could not create a preview image for file *.*.
> This may be due to a missing, corrupted or incorrest
> version of a graphics or import filter or media player."
> What's the problem and can you help me.
> Also, when I insert a media i.e., *.mpg file into front
> page (convert from Publisher) it will not play from my
> website on Windows Media Player. What's the problem
> here? thanks for your assistance.
David Bartosik - MS MVP Guest
-
nmariano #9
Video Problem
I have created something like this tutorial
([url]http://www.adobe.com/devnet/flash/articles/video_player.html[/url]) but I am having
problems with it. Instead of using XML I used amfphp and without fms2.I wont
use a fms because I would be publishing this on a server with out it. When I
mouse over the list it reloads the video and my progress bar(the pb will stay
visible so that I could see it that it reloads). Please check if something is
wrong with the class file and I also added the script of the fla file. I dont
understand why item roll over is triggered when I didnt even write anything to
handle mouse events. BTW I am not yer very good with writing classes.
Thanks in advance!
//this is the class
import mx.controls.List;
class VideoThumbCell extends mx.core.UIComponent {
static var symbolName = "VideoThumbCell";
var owner;
var pb:Object;
var label:Object;
var listOwner:List;
var strArray:Array;
var progressBar_mc:MovieClip;
var thumb;
var nc;
var ns;
var desc;
var url;
var bar;
var lb;
function VideoThumb() {
}
function init() {
}
function createChildren(Void):Void {
var v = this.attachMovie("VideoHolder", "thumb", 0);
v._width = 80;
v._height = 60;
v.styleName = listOwner;
var c = createLabel("label", 1);
c.styleName = listOwner;
label.selectable = false;
//v._visible = false;
}
function size(Void):Void {
label.setSize(label.getPreferredWidth(), label.getPreferredHeight());
label._x = thumb._width+10;
label._y = thumb._height/2-label._height/2;
}
function setValue(str:String, item, sel) {
_visible = item != undefined;
if (!_visible) {
return;
}
label.setValue(item.label);
var url = item.data;
var desc = item.label;
nc = new NetConnection();
nc.onStatus = function(info) {
//trace(info.code);
};
nc.connect(null);
ns = new NetStream(nc);
ns.onStatus = function(info) {
if (info.code == "NetStream.Play.Stop") {
nc = null;
ns = null;
}
};
thumb.video.attachVideo(ns);
ns.connect();
ns.play(url, 0, 0);
createEmptyMovieClip("progressBar_mc", this.getNextHighestDepth());
progressBar_mc.createEmptyMovieClip("bar_mc",
progressBar_mc.getNextHighestDepth());
with (progressBar_mc.bar_mc) {
beginFill(0x003300);
moveTo(40, 30);
lineTo(140, 30);
lineTo(140, 35);
lineTo(40, 35);
lineTo(40, 30);
endFill();
_xscale = 0;
}
progressBar_mc.createEmptyMovieClip("stroke_mc",
progressBar_mc.getNextHighestDepth());
with (progressBar_mc.stroke_mc) {
lineStyle(0, 0xCCCCCC);
moveTo(40, 30);
lineTo(140, 30);
lineTo(140, 35);
lineTo(40, 35);
lineTo(40, 30);
}
lb = owner.cll.label;
pb = owner.cll.progressBar_mc;
var loaded_interval:Number = setInterval(checkBytesLoaded, 500, ns, pb);
function checkBytesLoaded(ns:NetStream, pb) {
var pctLoaded:Number = Number(Math.round(ns.bytesLoaded/ns.bytesTotal*100));
pb.bar_mc._xscale = pctLoaded;
if (pctLoaded>=100) {
ns.pause();
lb.htmlText = desc;
clearInterval(loaded_interval);
}
}
}
function getPreferredHeight() {
return 60;
}
function getPreferredWidth() {
return label.getPreferredWidth();
}
}
//script of the fla
import mx.remoting.*;
import mx.rpc.*;
import mx.utils.Delegate;
import mx.remoting.debug.NetDebug;
list_mc.myList.rowHeight = 70;
list_mc.myList.cellRenderer = "VideoThumbCell";
_global.style.setStyle("themeColor", "0x638E84");
//Change the gateway URL as needed
//var gatewayUrl:String =
"http://www.ryanaldaba.com/juindelacroix/amfphp/gateway.php";
var gatewayUrl:String = "http://localhost/amfphp/gateway.php";
NetDebug.initialize();
service = new Service(gatewayUrl, null, "video");
//Query videos.
function myVideos() {
var pc:PendingCall = service.myVideos();
pc.responder = new RelayResponder(this, "handleMyVideos", null);
}
function handleMyVideos(re:ResultEvent) {
var mydata:Object = RecordSet(re.result);
var rsItems:Array = mydata.items;
ListFill(list_mc.myList, mydata);
}
function ListFill(ltName, rs):Void {
var fields = rs.getColumnNames();
var idField = "stream/"+'#'+fields[2]+'#';
var descField = '#'+fields[1]+'#';
DataGlue.bindFormatStrings(ltName, rs, descField, idField);
}
var listListener:Object = new Object();
listListener.change = function(evt_obj:Object) {
var currentlySelected:Object = evt_obj.target.selectedItem;
var url = currentlySelected.data;
playMovie(url);
};
list_mc.myList.addEventListener("change", listListener);
function playMovie(url) {
attachMovie("FLVPlayback", "my_FLVPlybk", 10, {width:320, height:240, x:320,
y:80});
my_FLVPlybk.skin = "SteelExternalAll.swf";
my_FLVPlybk.clear();
my_FLVPlybk.contentPath = url;
my_FLVPlybk.autoSize = true;
reset = false;
}
function moviePlay(url) {
my_nc = new NetConnection();
my_nc.connect(null);
my_ns = new NetStream(my_nc);
mainMovie_mc.myVideo.attachVideo(my_ns);
my_ns.connect();
my_ns.play(url, 0, 0);
}
myVideos();
:confused;
nmariano Guest
-
nmariano #10
Video Problem
I have created something like this tutorial
([url]http://www.adobe.com/devnet/flash/articles/video_player.html[/url]) but I am having
problems with it. Instead of using XML I used amfphp and without fms2.I wont
use a fms because I would be publishing this on a server with out it. When I
mouse over the list it reloads the video and my progress bar(the pb will stay
visible so that I could see it that it reloads). Please check if something is
wrong with the class file and I also added the script of the fla file. I dont
understand why item roll over is triggered when I didnt even write anything to
handle mouse events. BTW I am not yer very good with writing classes.
Thanks in advance!
//this is the class
import mx.controls.List;
class VideoThumbCell extends mx.core.UIComponent {
static var symbolName = "VideoThumbCell";
var owner;
var pb:Object;
var label:Object;
var listOwner:List;
var strArray:Array;
var progressBar_mc:MovieClip;
var thumb;
var nc;
var ns;
var desc;
var url;
var bar;
var lb;
function VideoThumb() {
}
function init() {
}
function createChildren(Void):Void {
var v = this.attachMovie("VideoHolder", "thumb", 0);
v._width = 80;
v._height = 60;
v.styleName = listOwner;
var c = createLabel("label", 1);
c.styleName = listOwner;
label.selectable = false;
//v._visible = false;
}
function size(Void):Void {
label.setSize(label.getPreferredWidth(), label.getPreferredHeight());
label._x = thumb._width+10;
label._y = thumb._height/2-label._height/2;
}
function setValue(str:String, item, sel) {
_visible = item != undefined;
if (!_visible) {
return;
}
label.setValue(item.label);
var url = item.data;
var desc = item.label;
nc = new NetConnection();
nc.onStatus = function(info) {
//trace(info.code);
};
nc.connect(null);
ns = new NetStream(nc);
ns.onStatus = function(info) {
if (info.code == "NetStream.Play.Stop") {
nc = null;
ns = null;
}
};
thumb.video.attachVideo(ns);
ns.connect();
ns.play(url, 0, 0);
createEmptyMovieClip("progressBar_mc", this.getNextHighestDepth());
progressBar_mc.createEmptyMovieClip("bar_mc",
progressBar_mc.getNextHighestDepth());
with (progressBar_mc.bar_mc) {
beginFill(0x003300);
moveTo(40, 30);
lineTo(140, 30);
lineTo(140, 35);
lineTo(40, 35);
lineTo(40, 30);
endFill();
_xscale = 0;
}
progressBar_mc.createEmptyMovieClip("stroke_mc",
progressBar_mc.getNextHighestDepth());
with (progressBar_mc.stroke_mc) {
lineStyle(0, 0xCCCCCC);
moveTo(40, 30);
lineTo(140, 30);
lineTo(140, 35);
lineTo(40, 35);
lineTo(40, 30);
}
lb = owner.cll.label;
pb = owner.cll.progressBar_mc;
var loaded_interval:Number = setInterval(checkBytesLoaded, 500, ns, pb);
function checkBytesLoaded(ns:NetStream, pb) {
var pctLoaded:Number = Number(Math.round(ns.bytesLoaded/ns.bytesTotal*100));
pb.bar_mc._xscale = pctLoaded;
if (pctLoaded>=100) {
ns.pause();
lb.htmlText = desc;
clearInterval(loaded_interval);
}
}
}
function getPreferredHeight() {
return 60;
}
function getPreferredWidth() {
return label.getPreferredWidth();
}
}
//script of the fla
import mx.remoting.*;
import mx.rpc.*;
import mx.utils.Delegate;
import mx.remoting.debug.NetDebug;
list_mc.myList.rowHeight = 70;
list_mc.myList.cellRenderer = "VideoThumbCell";
_global.style.setStyle("themeColor", "0x638E84");
//Change the gateway URL as needed
//var gatewayUrl:String =
"http://www.ryanaldaba.com/juindelacroix/amfphp/gateway.php";
var gatewayUrl:String = "http://localhost/amfphp/gateway.php";
NetDebug.initialize();
service = new Service(gatewayUrl, null, "video");
//Query videos.
function myVideos() {
var pc:PendingCall = service.myVideos();
pc.responder = new RelayResponder(this, "handleMyVideos", null);
}
function handleMyVideos(re:ResultEvent) {
var mydata:Object = RecordSet(re.result);
var rsItems:Array = mydata.items;
ListFill(list_mc.myList, mydata);
}
function ListFill(ltName, rs):Void {
var fields = rs.getColumnNames();
var idField = "stream/"+'#'+fields[2]+'#';
var descField = '#'+fields[1]+'#';
DataGlue.bindFormatStrings(ltName, rs, descField, idField);
}
var listListener:Object = new Object();
listListener.change = function(evt_obj:Object) {
var currentlySelected:Object = evt_obj.target.selectedItem;
var url = currentlySelected.data;
playMovie(url);
};
list_mc.myList.addEventListener("change", listListener);
function playMovie(url) {
attachMovie("FLVPlayback", "my_FLVPlybk", 10, {width:320, height:240, x:320,
y:80});
my_FLVPlybk.skin = "SteelExternalAll.swf";
my_FLVPlybk.clear();
my_FLVPlybk.contentPath = url;
my_FLVPlybk.autoSize = true;
reset = false;
}
function moviePlay(url) {
my_nc = new NetConnection();
my_nc.connect(null);
my_ns = new NetStream(my_nc);
mainMovie_mc.myVideo.attachVideo(my_ns);
my_ns.connect();
my_ns.play(url, 0, 0);
}
myVideos();
:confused;
nmariano Guest



Reply With Quote

