Video Component In Flash MX
Hi, I've embeded my .swf with the flash video component - it streams a .flv file from the server. It works fine in Safari and Firefox but Internet Explorer won't display the video (only the component).
Is there a fix for this?
FlashKit > Flash Help > Flash MX
Posted on: 04-10-2006, 09:02 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Need To Change A Video Component To Something Like A FLV Playback Component For Video Playlist
I'm pretty new to all this flash stuff, but have been getting my way through it the last few months. I bought a template a few months ago for my wife's Wedding Videography Company. I've been struggling trying to get a Video Playlist with working video for quite some time now, but found a good tutorial on Adobe's website recently. The template is exactly what we want except that it does not have any playback buttons at all.
We are using Flash CS3 and unfortunately are limited to AS2, not AS3 as the Template that we bought for the website is only AS2, as I've been learning that video is much simpler in AS3.
The Adobe template is listed here...
http://www.adobe.com/devnet/flash/ar...wnload_06.html
I want to change out the "Video Component" to something that allows me to have a skin that has like Play, Volume, etc.
Any help with being able to swap it out and have the XML file link to the appropriate new component would be greatly appreaciated.
If The Flash Component Is There, Why Isn't The Video?
I'm trying to get a demo reel site up and my flash video isn't showing...the component is there because I can right click and see the Flash option menu on my live page. But I can't get the video to play..or even show up.
I'm using Fireworks/Dreamweaver to build the site. I've imported a FLV (same size as the slice created for it) and it works fine in the Dreamweaver preview.
You can go to: animatedshortz dotcom
to see my problem... just right click in the big white area and you'll see.
I'm at the end of my rope here, I've tried everything I can think of so if anyone has a suggestion I would be glad to listen! Thanks.
Royaledis
Flash 8 Video Component Cues
Can anyone tell me or point me to a tutorial on how to communicate with cue points that are added in the component inspector of the flv playback component? I do not understand how to talk to the name of the cue point or the parameters that need to be set. Here is a link to the website that I created: http://www.pkworks.net/ Now I want to make some text come up after the videos play.
Flash Component: Video Conference
Hello, I'm using the FCVideoConference component, it basically allows webcams to be used through flash.
I'm trying to figure out how to keep track of people. For example, let's say only two people are going to video chat with each other. The id's are generated by random numbers, but how will I know which random numbers to call to?
[F8] Flash Component Shows, But The FLV Video Doesn't.
I'm trying to get a demo reel site up and my flash video isn't showing...the component is there because I can right click and see the Flash option menu on my live page. But I can't get the video to play..or even show up.
I'm using Fireworks/Dreamweaver to build the site. I've imported a FLV (same size as the slice created for it) and it works fine in the Dreamweaver preview. Attached is an image of how it looks in the preview.
You can go to: animatedshortz dotcom
to see my problem.
I'm at the end of my rope here, I've tried everything I can think of so if anyone has a suggestion I would be glad to listen! Thanks.
David
Multiple Movies In 1 Flash Video Component
Hello All!,
So I have 13+ minute “movie” broke down into chapters, 9 all together. As of right now each chapter is in its own separate movie file. I want the option of being able to turn on and off different chapters to play in sequence through the single video component. I have the file setup in director but for various reasons I was wondering if I could do the same thing in flash, unfortunately I do not know where to begin. Any help or direction where to get help would be greatly appreciated.
Using MX04 AS2
Thanks again!
Multiple Video Using The Flash Mx2004 Component
hi, i came accross a problem using the vid component in flash, how can i use a multiple videos using only 1 video component, just read this tute in macromedia http://www.macromedia.com/devnet/mx/...fig_02_lg.html
but the problem is they customized their video, they didnt use the component there...thanks guys
FLASH 8 -------> FlvPlayback Component (play Next Video After Finished)
Hi All,
My Challenge is this...
To feed up to 5 video references (filepaths) into the SWF which contains the FLVPlayBack component, and have these play in sequence automatically.
Once the first video ends, the next begins...
Currently our FLV player takes 1 filepath passed by FlashVars and plays it.
First things first... I just want to get the function of having one .flv file play after the first has finished... do I need some kind of listener?
Thanks,
B
Black Flash Video Component (or Easily Customizable...)
Does anyknow know where I can get a free, easy to customize (change colors) Flash Video Component? Or does anyone know how I can just make the Flash Video Component black?
Thanks, all the help is GREATLY appreciated,
Mike
FLASH 8 -------> FlvPlayback Component (play Next Video After Finished)
Hi All,
My Challenge is this...
To feed up to 5 video references (filepaths) into the SWF which contains the FLVPlayBack component, and have these play in sequence automatically.
Once the first video ends, the next begins...
Currently our FLV player takes 1 filepath passed by FlashVars and play it.
First things first... I just want to get the function of having one .flv file play after the first has finsihed... do I need some kind of listener?
Thanks,
B
Tracking Via Google Analytics & Flash Video Player Component
Hi,
I'm trying to track when a user plays a video on our home page. I'm using the standard Flash Video Player component and Dreamweaver to hook it up. In order to get the player to call Google analytics on play I think that I need the FLA for this player but I can't seem to figure out how to access it. Any suggestions?
Thanks
Tony Lopez
Wanna Run A Video In MX? I Have A COOL Video Component If Anyone Is Interested?
http://www.studioxmedia.com/video_component.swf
http://www.studioxmedia.com/video_component.fla
I got this from a posting by someone else. I'm not sure even how to create a component, but the component works like a charm and looks like the Quicktime (start,volume, play, pause) handler.
Thought I'd share it.
Thanks,
fitchic77
Video With Synched Slides Used As A Video Component ?
I would like to take an existing Synched video and slide show .fla file and convert it to a FLV file for insertion onto a page with multiple videos. I was willing to try and convert to QT format and then convert to FLV and drop the video component on the page, however CS3 reqiuries you to output in flash 5 format for QT conversion....... CS3 wont let you convert synched slides and video below flash 6. Hope this makes sense to somebody.... I suppose there is a much better way to handle what I am trying to do.... Any help would be most appreciated ....
Video Player Component Using Flash Player 6
I'm streaming video using Flash Player 6. The problem I am having is that the video will only play at a super small size, something like 180 x 60 (that's a guess). Is there a way to play the video at the 320 width that I redered it as?
I'm using Flash Player 6 because some code that came with my purchased Flash Template does not work unless it's published to Flash Plaey 6.
Thanks in advance!
Video Component
hey,
how could I make the video component to start playing an movie clip object when start showing images received.
any ideeas?
Best Video Component
I'm developing an interface that will utilize a large amount of video. What is the best pre-made video component to use?
Anyone have good experience or samples of third-party video components?
Q. FLV Video Component
Last edited by Lil Chris : 2007-05-02 at 18:33.
Does anyone happen to know what would cause the controls for a standard video component to not show the controls (play, stop, volume etc...) in my site, they show up fine using test movie...
Just not when i view through a browser... The video still plays fine though, just the controls don't show up...
I have made sure to upload the external controls.swf as well...
Am I missing something...?
Thanks,
Lil Chris
Help With Video Interface Component.. Anyone
I am using a video component (video player interface) in a multimedia cd interface. When I add a instance of the component (the stock component, unmodified) to my current flash interface (MX of course), save, and test the flash movie or projector file... the interface plays the correct movies, however no text displays in the movie title list or the counter at the top. The movies play correct and seem to be in a list of some sort because I can click on the title listing (though there are no video titles there). PS. the video component will play correctly and show the correct titles if I open it up directly and test it.
My deadline of end of the week is quickly coming up to have this project done and I am getting frantic here.....Please please help! Anyone?
Thanks in advance...
Gina
www.gmdinteractive.com
Video Playing Component
A question here... how does the video playing component works? I have no Idea how to make it work..., any help?
Why Can't I See The Video Component Controls?
I am only using Flash MX 6, so I hope it is ok, but I am having a major problem.
First I need a video component that works, hopefully there is a few one that is floating around out there.
I have a QT.mov, I have converted it to flash and I drop a video component on it (surprisingly, it looks like the QT controls). I test the movie, it works, but when I use the swf in Dreamweaver on my page, the controls are no where to be seen. I can't see them, therefore they are useless to me!!
Has anyone else had this problem? How can I resolve it? Thanks in advance.
Component, Video Record
Hi.
I'm new to flash Video Streaming. I have to change an existing application that actually allow my client to :
- broadcast live video form a emiter page
- client can se the live video with an reciever page
Both pages have been made by a non developper, so He used nothing else than FlashComm Components like AVConferences etc ...
My work is to change some features :
- create an archive video file into FlashComm server
- allow to broadcast a second sound Stream, in order to allow client to switch between the Video's sound track & the other sound Stream
I've seen this can be done throught code easylly ( record mode ), but my question is :
Can I adpat these components via parameters to change the Video mode, to record mode, or in client part, via code to put sound off ( sound of the video display component ? )
or
Should I right now destroy all the actual application and recreate it all with actionscript ? this means recreate also the simple login component, chat, presence etc component ?
thanks for your fast reponse ...
Video Component Usage
I've created a simple video object using the 'New Video' option in the Library panel to dynamically load different .flv's when the user clicks on the link. When the videos come up there is no skin. How do I customize the video object and/or use the video components. Every time I try and use the FLVPlayback component I can't get it to work. Also, I'm not sure how to properly use the video component buttons. Could anyone recommend a good tutorial on using the flash video components or customizing the video object.
using: Flash 8, Dreamweaver 8, Coldfusion
Stardrag With Video Component..
Hi, I'm trying to do this, a dragable video window using the video component in flash 8.. but when I convert the video component into a mc this stop working, the video not play..
How can I do that?..
Thanks!..
Frustrated By Video Component
I made a test movie just to try out the new MediaPlayback component included in MX 2004.
After following the tutorial on this site, I had no problem diplaying my .flv file in a bare bones, one frame swf movie. Of course as soon as I tried to implement the same thing on my actual web site, it didnt work. I followed all the same step and used the same exact file. When I test the movie, a white rectangle appears that reads: "player" and thats it. I even stripped away everything on a copy of my existing site so that only one frame and one layer remained. Tested it, and it didn't work. I cant imagine why not.. my test movie has the EXACT SAME SETTINGS!!. I checked about 40 times!!
What in the world is causing this to happen??
Skinning Video Component
Hello all -
What would be the easiest way to create a video playback in Flash like the one in the attached image? All I want is the progress bar, and a play button with the video. Do I need to skin a certain component in flash? If so - how would I do this?
Thanks!
Distorting The Video Component
Hi,
I've been playing with the video component (not the one included in the component list) the one you get by that drop down list in the library tab > new video > embedded
I would like to produce this type of shape without masking with a flv
any ideas?
much thanks
Diz
Frustrated By Video Component
I made a test movie just to try out the new MediaPlayback component included in MX 2004.
After following the tutorial on this site, I had no problem diplaying my .flv file in a bare bones, one frame swf movie. Of course as soon as I tried to implement the same thing on my actual web site, it didnt work. I followed all the same step and used the same exact file. When I test the movie, a white rectangle appears that reads: "player" and thats it. I even stripped away everything on a copy of my existing site so that only one frame and one layer remained. Tested it, and it didn't work. I cant imagine why not.. my test movie has the EXACT SAME SETTINGS!!. I checked about 40 times!!
What in the world is causing this to happen??
Skinning Video Component
Hello all -
What would be the easiest way to create a video playback in Flash like the one in the attached image? All I want is the progress bar, and a play button with the video. Do I need to skin a certain component in flash? If so - how would I do this?
Thanks!
How Can I Change The Video Component To QT?
Hey I would like to try a thing i've seen on some sites. They use a flash control panel but the actual window that steams the video is Quicktime any idea on how to do this?
XML Video W/out List Component
Hey everyone, I'm trying to modify Lee's video XML file to have dynamic text boxes load in the video description instead of the list component, and I also have my flv's in a folder near the swf and fla, so they're not url's. I cannot get the text or the flv's to load and I've searched the forum for previous posts but didn't see anything similar to my situation. I'm new to the coding world! Can anyone help me?
Here are the files:
http://www.yousendit.com/transfer.php?a ... E26484F1EA
Video Component And Squeeze Movies
Hi,
i downloaded the following video component:
http://www.flashcomponent.com/blazer...ideo%20Control
when i use this component with movieclips (quicktimes etc) that were directly imported into flash and exist on the stage when exporting my swf, it works fine.
now that i want to have SOUND in my imported quicktime, too - i use "Sorenson Squeeze" to create swf files from quicktime movies.
I then load the external movieclip into a "named" clip in my main swf and want to control it again with that video component.
The only problem i have is - no matter if I attach the component or put it onto the stage when exporting, i cannot assign the instance name of the video to the component.
Does anyone have some experience with using squeeze movies AND this video component ??
Thanks a lot for ANY hints !
cEdRik!
Dynamic Video Player Component
Does anyone know of a good dynamic video component for flash MX that will work in player 6?
I really don't want to have to build one, as I know it will take me a while as I am still learning how to make components and am at the early stage meaning the crap stage.
Thanks
Video Component, Resize Button
hey, i have a custom video componet with "theVideo" as it's instance name. my controllers are custom also. i wanted to add like a resize button so when the flv file is playing the video will go to fullscreen, or 100%, 200%
can anyone tell me how this is done?
http://www.subydude.com/video/index_flash.php
^ thats where the video player is, as you can see i need a button for the picky people to make the video bigger and smallers. please help!
FLV Playback Component VS Video Symbol
Hi,
I am using the video symbol (not FLV PB component), but i find out it don't support cue points, is it true? how can i dynamically control FLV using NetConnection method? The reason I use video symbol is because it supports loading.
HOW CAN I USE CUE POINTS WHEN USING VIDEO SYMBOL?
The other day, I was using FLv playback component, and it supports cue points, however, when i want to show the progress bar for how much it is loaded... i got no way to do it, using FLV playback component.
HOW CAN I LOAD VIDEO USING FLV PLAYBACK COMPONENT?
AS For FLV Component To Auto Advance At End Of Video
Hey guys and gals,
I have been pondering for a few days on how to set my flv file I'm using as a entrance or splash screen prior to entering the main site. My only issue is that I would like it to automatically enter the site after the file has concluded instead of clicking on "Enter site" or "skip Intro" link. The file is on Frame 1 and the site starts on Frame 3. I tried on (complete) and onUnload and all sorts of other ideas, and still have not come up with anything except a website that loads, plays the main video, and then sits there on a black screen. Any Ideas?
[CS3] Video Player Component, Button Name
Hi,
I have an instance of the FLVPlayback component in a movie.
I need to assign an extra function to the play button in the component
how can I find out the button instance name?
or am I on the wrong track?
mark
FLV Component - Controlling Movieclips With Video
Hello,
I have a flv component one one side of my stage and a movieclip that plays on the other side.
...my play/pause button works and stops the movieclip and video at the same time. Now I just want a back button that will replay the movieclip and the video at the same time. Here's what I have:
//
/**
FLV variables
*/
import mx.video.*;
my_FLVPlybk1.playPauseButton = my_plypausbttn1;
// listeners for the play/pause, next, and back buttons
//
var listenerObject:Object = new Object();
listenerObject.stateChange = function(eventObject:Object) {
if (my_FLVPlybk1.paused)
maturity_intro.stop();
};
my_FLVPlybk1.addEventListener("stateChange", listenerObject);
//
//I want this code to replay the video, and the movieclip from the beginning
//
var listenerObject:Object = new Object();
listenerObject.backChange = function(eventObject:Video) {
if (backbtn1.press)
my_FLVPlybk1.play();
};
my_FLVPlybk1.addEventListener("backChange", listenerObject);
Any help with the replay? Thanks for the info!
FLV Playback Component VS Video Symbol
Hi,
I am using the video symbol (not FLV PB component), but i find out it don't support cue points, is it true? how can i dynamically control FLV using NetConnection method? The reason I use video symbol is because it supports loading.
HOW CAN I USE CUE POINTS WHEN USING VIDEO SYMBOL?
The other day, I was using FLv playback component, and it supports cue points, however, when i want to show the progress bar for how much it is loaded... i got no way to do it, using FLV playback component.
HOW CAN I LOAD VIDEO USING FLV PLAYBACK COMPONENT?
Attaching The VolumeBar Component To My Video
Hi, Im trying to attach the volumeBar component to my video player which loads flv's from an xml file.
The usual code is;
myVideo.volumeBar = myVolumeBar;
however when I code it into the code below it doesnt function.
The code is at the end which Im trying, Could someone please help me with this as I cannot get the volume bar functioning.
Thanks
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
myVideo.attachVideo(ns);
var videoXML:XML = new XML();
videoXML.ignoreWhite = true;
var videos:Array = new Array();
videoXML.onLoad = function(success) {
if (success) {
videos = videoXML.firstChild.childNodes;
for (i=0;i<videos.length;i++) {
videoList.addItem(videos[i].attributes.title,videos[i] .attributes.url);
}
ns.play(videoList.getItemAt(0).data);
videoList.selectedIndex = 0;
}else{
videoList.addItem("Videos unavailable");
}
}
videoXML.load("videos.xml");
var myListener:Object = new Object();
videoList.addEventListener("change",myListener);
myListener.change =function () {
ns.play(videoList.getItemAt(videoList.selectedInde x).data);
}
//button script
stop_btn.onRelease =function () {
ns.pause(true);
ns.seek(0);
}
pause_btn.onRelease =function () {
if(ns.time > 0) {
ns.pause();
}
}
play_btn.onRelease =function () {
ns.pause(false);
}
//sound controls
this.createEmptyMovieClip("sound_mc",this.getNextH ighestDepth());
sound_mc.attachAudio(ns);
var videoSound:Sound = new Sound(sound_mc);
mute_btn.onRelease =function () {
if(videoSound.getVolume() > 0){
videoSound.setVolume(0);
}else{
videoSound.setVolume(100);
}
}
// trying to attach the volumeBar component here
myVideo.volumeBar = myVolumeBar;
Using The SeekBar Component For External Video
I'm trying to attach a seekbar to control an externally loaded flv that plays in my movie. I've managed to get the play/pause toggle button to work, but can't seem to find any way of attaching a seekBar to the video. I've managed it if the flv is embedded, but can't do it if it's external. Does anyone know a way of doing this?
Basically, there are 3 top-level buttons, each of which loats a different video. This I've got working fine, as with the play/pause button, but a way of using the seekbar is eluding me, so any help would be most appreciated. Here's the code I have:
ActionScript Code:
// ---------- Button Listeners
bnt1_btn.addEventListener(MouseEvent.CLICK, btnClick);
bnt2_btn.addEventListener(MouseEvent.CLICK, btnClick);
bnt3_btn.addEventListener(MouseEvent.CLICK, btnClick);
// ---------- Video Controls
play_btn.addEventListener(MouseEvent.CLICK, togglefunction);
function togglefunction(myevent:MouseEvent):void {
newStream.togglePause();
}
// ---------- Load Video
var myVideo:NetConnection = new NetConnection();
myVideo.connect(null);
var newStream:NetStream = new NetStream(myVideo);
var videoLoader:Video = new Video(520, 390);
stage.addChild(videoLoader);
videoLoader.attachNetStream(newStream);
videoLoader.x=350;
videoLoader.y=150;
// ---------- Load Video when clicked
function btnClick(e:Event):void {
if (e.target.name == "bnt1_btn") {
newStream.play("video1.flv");
newStream.addEventListener(AsyncErrorEvent.ASYNC_ERROR, errorhandler);
function errorhandler(myevent:AsyncErrorEvent) {
//Ignore Error
}
} else if (e.target.name == "bnt2_btn") {
newStream.play("video2.flv");
newStream.addEventListener(AsyncErrorEvent.ASYNC_ERROR, errorhandler2);
function errorhandler2(myevent:AsyncErrorEvent) {
//Ignore Error
}
} else if (e.target.name == "bnt3_btn") {
newStream.play("video3.flv");
newStream.addEventListener(AsyncErrorEvent.ASYNC_ERROR, errorhandler3);
function errorhandler3(myevent:AsyncErrorEvent) {
//Ignore Error
}
}
}
If anyone can help that'd be amazing.
Cheers
Video Streaming Component ActionScript 3.0
I used this script awhile back in ActionScript 2.0,
it's for placing a video component in a flash page
& stream it.
What is the solution in ActionScript 3.0?
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
Helix.attachVideo(ns);
ns.play("PresentationVideo.flv");
Video Component Buttons For MP3s
Hello, I'm attempting to revamp an older Flash 8 project to CS3... and I love how easy it is to skin the new button components.
Is there a way to construct an MP3 player (no video, no FLV) with these buttons? Thanks!
How To Target The Video In An FLV Playback Component
Hello,
Is there a way to reference the actual video used in an FLV Playback Component? I've been trying to change deblocking and/or smoothing settings - but it only seems to work on a video object - I don't know how to change it on video that's loaded via the component.
Thanks for any insight!
Julia
Which .net Component Can I Use To Convert A Video File To Flv?
Hi.
I am .net developer. Currently I am developing a website similar yourtube. Each user can upload some media files (avi and other formats) to the server. On server side I must convert them to flv format in order FMS
3.0 can stream them.
Question: Which .net component can I use to convert a video file to flv? I don't plan use of any free products for it. I need in a high quality and good support.
Thanks.
Video Display Component Not Playing
My problem is that I want to play a recorded video in a VideoDisplay Component on client side which is kept in C:Program FilesAdobeFlash Media Server 3applicationsVideoStream folder on the server side. btw VideoStream is my created aplication.
I'm able to connect to server successfully and open a stream from there so that I can read the flv but during coding I could not find any property/method that could correlate my NetConnection and NetStream Object with VideoDisplay Object.
Please tell me how to go about it? Which property should I use to tell my VideoDisplay Object to read the stream? Do I need to add something to main.asc file in C:Program FilesAdobeFlash Media Server 3applicationsVideoStream?
My bit of code is,
Code:
<mx:Script>
<![CDATA[
import flash.net.NetStream;
import flash.net.NetConnection;
import flash.events.NetStatusEvent;
public var netConn:NetConnection = new NetConnection();
public function init() : void
{
netConn.addEventListener(NetStatusEvent.NET_STATUS , netStatus);
netConn.client = this;
netConn.connect("rtmp://MyServerURL/VideoStream");
}
public function netStatus(event:NetStatusEvent) : void
{
var info:Object = event.info;
trace(info.code);
switch(info.code)
{
case "NetConnection.Connect.Success":
var ns:NetStream = new NetStream(netConn);
//I should be able to give source through NetConnection/NetStream Object or play //Replay_video by using them. Simply assigning following URL does not work
Replay_video.source = "rtmp://MyServerURL/VideoStream/my_recorded_stream.flv";
break;
case "NetConnection.Connect.Closed":
break;
}
}
]]>
</mx:Script>
<mx:VideoDisplay x="27" y="36" width="269" height="194" id="Replay_video" autoBandWidthDetection="false" />
I know that I can do this very simply by keeping the video file in vod folder on the server but my app requires that I need to play it from my created Application folder on FMS
Please help...........
Masked Video Component Issues.
Hey Guys,
I am trying get a video component working with a mask, the mask is not complex at all. I have the component working fine. But when I mask the video all the buttons don't work. I have tried to make the mask a clip and mask.mouseEnabled = false; but that did not work.
Thanks..
How To Resize Video Using FLVPlayback Component?
How do I resize or move or tween a FLV (using the FLVPlayback component)?
Everytime I set a new keyframe for the component, it reloads the video.
What I want to do is be able to make the video smaller, but have it continue playing.
Thanks!
|