ActionScript 3.0 :: Display An Image For FLV Video?
Sep 7, 2011hello,I created an FLV player using AS3 , and I want to display an image taken from the video instead of the black background is it that possible ?
View 4 Replieshello,I created an FLV player using AS3 , and I want to display an image taken from the video instead of the black background is it that possible ?
View 4 Repliesi have an video player in flash, now need to show the image on that player like an advertisement or logo.
when i place a movie clip or any image on my video player object, player stops working.i need to know which plugin is required or how to write our own code for the same, incase plugin is needed for that.
was just trying to make my site more efficient when its online. I have an image/video gallery. When the thumbnail is clicked, an image or video will be displayed in the container I have. Currently, the code is like
[Code]...
And if so, will it be in the cache or anything when it is loaded again within the click event?
i want to rotate 3D an Image called img1 in Flex. I want to rotate it around y axis 180 degree. I can do this by using 3D effect already built in Flex but i want to do a bit more different. I want during rotating, there's another image called img2 appear on back of img1 (in default case, the image appear on the back is img1) and when rotating finish, the image will be img2.
View 2 RepliesInternet Explorer will not display flash video in stand alone video players, similar to the one at: [URL] The other embedded flash content is viewable.In the IE8 tools, manage add on's, Adobe Flash Player is not listed.I've also noticed that when I access the Adobe Flash Settings manager, I can not uncheck "hardware acceleration".Windows XP Home Service Pack 2 is the operating system.
View 4 RepliesI understand that the spark framework has a video player and a video display. The difference being that video display doesn't have the video controls.I know that stage video is new in AIR3 and uses hardware acceleration to play videos.My question is, does videodisplay and videoplayer take advantage of stage video out of the box? Do I need to implement it another way?
View 2 Repliesim messing with a movieclip symbol and i want to make a button, what'd i mean on Mouse over display/change this image in this X,Y cords or replace this image, something close to what buttonSymbol does but i want to make it using movieClip symbol...
and i have no idea how to do it.. i started like this:
[Code]....
After browsing for the images, and selecting them. How can I display a preview of the image in the datagrid? I am able to display the file name, file size, but was unable to display the image. Below are the codes I have written, it is not a complete code but just enough to make it understandable.
// variables used
var list:Array = new Array();
var listDP:Array = new Array();
[Code]....
I am using this following code to display images using xml.Everything is working fine for me but i have to add background image or border to the displayed image using function BitmapFileMaterial.
using BitmapData or Bitmap Class but same functionality.
[Code]....
I am currently working on a flash website that has several flv videos on it. Since the website layout has a slight tilt, I have had to transform the videos to slightly tilt as well. The problem that I am having is that when I do this the image becomes very pixelated and the edges of the video become jagged. I have somewhat fixed the edges issue by making a mask around it but i really dont know how to make the resolution better, or what causes it to loose resolution when slightly transformed. The size of the videos is the same as encoded. All I do is tilt them upwards on the right side a bit.
View 1 RepliesThis will create an flv video file on flash media server:
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
ns.publish("yourCamera", "record");
ns.attachVideo(Camera.get());
How can I generate an image for the current video frame every 2 seconds?
My dilemma is that is that I have an image that when you roll over it with the mouse the words 'click to play' appear. Now when I click I want the image to disappear and the movie behind it to start playing.
I've managed to put together some action script through looking at various tutorials and posts. but when I preview my site and click the image nothing seems to happen.
The code I'm using is as follows:
import fl.video.VideoEvent;
function doPlayVid(e:MouseEvent):void {
tanmov.play();
this.alpha = 0;
[Code].....
I have a Flash CS4 Professional version installed in my machine. Here is my problem.
1st - I'm importing an image to stage and set the width and height to match the image. (everything is good, no problem) 2nd - I am using the FLVPlayback components build-in from Flash CS4. It does load the video and everything. (everything seems good) 3rd - Publish the video to my local drive (everything seems good) 4th - I could play the video from my local pc and it loads fine and fast 5th - Upload everthing from my local folder to the Web server, it does display the background image but not the video. It has a white blank screen. What is going on? I copy the exact folder from local to server. What have I missed? How could I make the video to load?
Which is better to display a bunch of videos in a gallery swf or f4v?
View 1 RepliesMy users will upload FLV movies and I don't want to hand-code SWF files -- is there a way to start with an FLV short movie(they're under a minute on average) -- and automatically package their uploaded FLV movies inside an SWF file?The site allows them to view the .SWF files using their already-existing Flash player.
View 5 RepliesI've got an FLV file that's 10 minutes long. I want to mimic the effect of speeding up the video, where it shows progress of the 10 minute video in say, 30 seconds.
View 2 RepliesI am just starting to use AS3 (grumble) and I have a video application that when it runs fullscreen it hides all other movie clips and objects on the stage. I would like to display certain objects/movie clips over the fullscreen video.
View 1 RepliesMy code works on localhost,but not on the server,what could be the problem?I also want to return some string back from php to flex app but I can't solve that.[code]...
View 2 RepliesI'm new to Flex and currently working on the Video Component in Flex. The problem is:Buffering starts only after the specified time. So, if i have specified the Buffer Time to be 2 s, then the video buffers for sometime, gets the data for the 2s and then plays it and then again buffers. The point is it is not buffering in parallel to playing. Is there any way of making this possible in Flex 3? Or is it already there in newer versions of Flex?
View 1 RepliesIn my application I want to display the webcam video. for that I use the as3 code
[cODE]....
but When i run the project there is no webcam video. I have trace the current Frame rate of the camera by trace(cam.currentFPS) ;and the output is 0; But I can watch the webcam video by yahoo messenger window and the software provide by the webcam driver.What is the problem of my code?
Is it possible to display the first frame of a video so that it appears as an image would.ay you're rotating between three videos, the first frame appears & then you click play to start the video.
View 2 RepliesWhat I'm trying to do is have a still image act as a button on top of a video, so that when it is pressed the image disappears and the video begins. I've placed the image and video on two seperate layers and typed the action script into the images layer.
I get no errors, however when I preview my site the moment I press the image everything on the site disappears yet I can hear the audio of the video playing.
The code I've used is as follows:
import fl.video.VideoEvent;
function doPlayVid(e:MouseEvent):void {
tanmov.play();
[Code].....
I have a Network camera Sony SNC-RZ50P , I want to display the live video streaming in a web page? How to display this using Flash 8
View 1 RepliesI have created a Flash video clip, and can't see the video when published to server. I am able to see the video on the page when I preview it in Dreamweaver CS3. I have deleted, recreated and re-uploaded the files.URL...
View 2 RepliesHow does one do fullscreen with VideoDisplay? I am using:
stage.fullScreenSourceRect = new Rectangle(video.x, video.y, video.width, video.height);
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.displayState = StageDisplayState.FULL_SCREEN;
But this does not allow me to go back to normal screen, not even i use:
stage.displayState = StageDisplayState.NORMAL
I need to display Facebook video player in my Flex application. I retrieve URL via FB Graph API to a video being displayed in facebook video player and I pass it to SWFLoader. Unfortunately I have some problems with getting it displayed correctly.Facebook video player is displayed on Facebook site as 720x244 movie. The movie is displayed in the middle of it (320x240) and on the left and the right side there is black background.Is there any way to display central part (movie) only with SWFLoader? Here is my code:
<mx:Box width="320" height="240" verticalAlign="middle" horizontalAlign="center">
<mx:SWFLoader source="{'http://www.facebook.com/v/' + numberOfVideo}"
visible="true" id="video" autoLoad="true" />
</mx:Box>
Inside a VBox I have VideoDisplay that call by dynamically. Vbox is inside a viewstack and I have a linkbar also. My need is when I click first one the first video will show and all the others deactive like that.
My code is shown below
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="[URL]"
layout="absolute" backgroundGradientAlphas="[1.0, 1.0]"
backgroundGradientColors="[#837575, #E5E6BA]" creationComplete="showXML
()">
[Code] .....
I have a simple request that I can't seem to get working. I have a video, approx 9 min in length, and I want to add a text link at the end of it, to go to a website. That's it. I have the video loaded into a single frame and it plays fine, I just can't get it to go to the frame after it to display the link.
View 6 Replieson flash 8 pro, I�m using the media display to play a FLV from the web, buti�d like to be able to create buttons to change the video played. What AS Sould I use on that button
View 4 RepliesAn AS3 root swf with a link(s) that opens an AS3 streaming video player (with playlist and close button; if you know where I can find/purchase a nice looking video player like this, please send me the URL!)I understand I'll also need to tell the root swf where to display the video player on the root swf .
View 1 Replies