ActionScript 3.0 :: Using Video Player Instead Of FLV Playback

Feb 15, 2011

I'd like to use the VideoPlayer class instead of FLVPlayback because in theory it uses up less space as it does not have all the skins etc. However I've found that if I want to throw a VideoEvent to check when the video has finished playing, if I do not have a component of FLVPlayback in my fla. file library I get a compilation error saying it can not find the "VideoEvent" class. That would mean that by using VideoPlayer I cant make my swf smaller and I lose functionality. I need to keep my size as small as possible.

View 2 Replies


Similar Posts:


ActionScript 3.0 :: Creating Video Player With Preview Image Before Playback

Mar 10, 2009

I am creating a video player that sets up a preview image before it begins to play. If I set the preview image in a loader within a container it works, except if I change the size of the preview.jpeg that is being loaded into it. It loads the image into the loader, within the container, but then scales the container making the image smaller than I need. I want it so that the preview.jpeg can be made by anyone at any size and the image be scaled to sit over the video. Unless the vidWidth and vidHeight are equal to the preview.jpg the image doesnt show up, just blank ??

Code:
var vidWidth:Number = 300;
var vidHeight:Number = 240;
var preview_Loader:Loader = new Loader();
var preview_URL:String = "preview.jpeg";
var preview_Request:URLRequest = new URLRequest(preview_URL);
[Code] .....

returns: ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
This only happens when I try to set the index of the preview_Loader? I need it to be the second mc from the bottom. I set up 2 functions to load the image. The first doesn't allow smaller images to be loaded into the container and make them the correct size. While the second makes them dissapear if I change the size.

View 1 Replies

Professional :: Video Freezes In Web Explorer Playback MacOSX Flash Player 10.1

Nov 17, 2010

Recently any flash videos I watch keep freezing even when the video is fully buffered. The sound continues to play but the picture stops. It can jerk into life after a few seconds but then it'll freeze again and keep doing this for the duration of the video. I have no problems on my Windows PCs on the same web connection.[code]...

View 1 Replies

Little Video Player (1 Playback Component, 3 Buttons Linked To 3 .flv Files) Not Working In The Published Html?

Oct 12, 2009

everyone out there that is smarter than me. I have made this little prototype video player, and it isn't working. It'll eventually become a nice little player show videos from our summer camp for the last few years, but first I want to make it work in a basic stripped down version. There is a playback component with one of the skins right above the three buttons.

Here's the ActionScript: btn1.addEventListener(MouseEvent.CLICK, vid1);btn2.addEventListener(MouseEvent.CLICK, vid2);btn3.addEventListener(MouseEvent.CLICK, vid3);

function vid1(e:Event):void{vidPlayer.source = "Video1.flv"};function vid2(e:Event):void{vidPlayer.source = "Video2.flv"}; function vid3(e:Event):void{vidPlayer.source = "Video3.flv"};

It runs fine when I test in in flash and even the .swf file runs fine alone, but when I put it in a .html file  via Dreamweaver and in the published .html it doesn't run. What up?

View 1 Replies

C# :: Create A Slider On Desktop To Access Some Of The Controls Of The YouTube Video Player Like Volume - Pause - Play - Playback Speed?

May 7, 2010

Is there any way I can create a slider on my desktop to access some of the controls of the YouTube Video player like volume, pause, play, playback speed? I know it is a flash player, but would this involve accessing the YouTube API or something else? For example, I'd like to program something similar to what's provided by the Enounce MySpeed application (control over play back speed).

View 1 Replies

ActionScript 3.0 :: FLVPlayback.complete - Play The Video Files With The Playback Component In Each Of The Frames Where The Video Was

Apr 26, 2010

I am wanting to play a number of movie clips and flash produced video clips. On the main timeline I have a frame for each clip I want to play. In that frame is a flash movie that contains the video that I have embedded onto the timeline for the movie. The filesize for this project is massive and I am struggling to work on the file. I want to be able to play the video files with the playback component in each of the frames where the video was.

[Code]...

View 5 Replies

Flash :: Video Contrast In Video Poor In Dreamweaver Playback

Oct 4, 2009

I am using Flash Professional 8 and Dreamweaver 8 to maintain a website. I have just started using flash to show video highlights from high school football games which I record. Using iMovie I export the video as quicktime file and then import to flash to convert to a flash video file to post on the web site. The video coming out of iMovie has very good contrast and the quicktime movie has the same good contrast. When looking at the file in Flash the contrast changes dramatically. I becomes washed out. I am using Max OX 10.6 operating system.

View 2 Replies

ActionScript 3.0 :: Embedded Video And External Video With Playback Component

Nov 9, 2010

I have trouble in choosing between external video with playback component and embedded video . I have tried adding video to dynamic page and everything is perfect .This video I have imported using the option File ->import video -> external video with playback component. If I try to execute flv on another system , the video is not playing eventhough it is in library.

So, I have imported video using the option of embedded video and this worked fine on another systems as it embeds video. The video plays for only 2 min 54 sec. I have compressed the bit rate to how much ever I can in premier pro. It resulted in reducing the size of the file but still I see the video occupying more than 3500 frames in the timeline. I feel this is not optimal.

View 1 Replies

IDE :: Video Streaming - Loaded An External Video With Playback Component?

Feb 18, 2010

I have loaded an external video with playback component in Flash CS4.

Now the question is do I need to add streaming script or not?

View 2 Replies

ActionScript 2.0 :: MP3 Player With Continuous Playback

Jan 10, 2005

[URL]. One thing though is that when a track is played it doesn't advance to the next one in the playlist. I read everything there is (probably not) on the onSoundComplete 'stuff' but couldn't figure it out to make it work!

View 5 Replies

ActionScript 3.0 :: FLV Player - Playback Taking Long Time

Feb 10, 2009

I implemented a flv player with actionscript 3.0. The player loads a list which contains the url of flv. Users allow to choose different flv to play. However, when playing 3rd flv, the player uses a lot of time to play.

View 1 Replies

ActionScript 3.0 :: Video Playback - 60 Seconds Video To Start Playing After 40 Seconds Have Been Downloaded

Jul 19, 2010

1) I want a 60 seconds video to start playing after 40 seconds have been downloaded - to do that I set the NetStream.bufferTime to 40 seconds and retrieve "NetStream.Buffer.Full" event causing the video to really start playing. This step is OK.

2) However, the "NetStream.Buffer.Full" causes data to stop downloading. So the remainder of the video begins to download no sooner than after the 40 seconds have been played. This step is my issue. Can anyone tell me how to avoid this unintended effect? (i.e. playing a video and downloading data at the same time?)

View 2 Replies

Actionscript 3 :: Flash Player 10 Real-time Audio Playback?

Jul 13, 2009

I'm trying to playback some sample data through the new real-time audio capabilities of Flash Player 10. I started with the example given at the bottom of this page on livedocs, which seems to work fine and plays a crystal clear tone.I assume that the two writeFloat's in the example write to the left and right audio channels respectively and that the data being written is 32 bit (because of the float).

However. I seem to be having trouble converting my old 8 bit audio data to a format that is understood by this interface. When I playback my sample data I can vaguely hear the sound I'm expecting but it is massively distorted. My sample data consists of raw 8 bit samples that ranges from 0..255 where 127 is silence.

I've been trying different conversion formulas but I seem to be missing some vital information regarding this conversion.

UPDATE:The correct formula turns out to be:

f = (sample.data.readByte() - 127) / 255

View 2 Replies

Professional :: Keyframe A Video Clip Without Effecting Playback Of Video Clip?

Aug 11, 2011

I've imported a Quicktime video clip into my scene. I want to slide this video clip in from off screen and have it stop at center stage using keyframes. When I use keyframes to move a video clip - the playback of the clip resets to it's first frame at every keyframe. Is it possible to move a rolling video clip using keyframes without altering the playback of the clip?

View 2 Replies

Flash :: Html - Add In Allowfullscreen To Enable Full Screen Playback In Player

Sep 16, 2011

I am using dreamweaver to embed a flash video, but cant find how to enable full screen.

[Code]...

View 1 Replies

Actionscript 3 :: Stream Playback From Wowza Has Audio Crackling On Flash Player

Feb 2, 2012

I have a custom Flash video player that uses the NetConnection and NetStream classes to stream mp4 files from a Wowza server. Lately the playback has been having audio problems. The sound is crackled and in some cases may cause the Flash player to crash. This is not consistent between files. Meaning that a file that was played once with bad audio could be fine 5 minutes later when played again from a new instance of the player , but 5 minutes later have the same problem.

My thought direct me to thinking this was an encoding problem, but that wouldn't explain how one second the playback is fine, and once refreshed messes up again.

I should note that the Wowza server does not stream the entire file but only a portion of it based on various parameters it gets.

View 1 Replies

ActionScript 3.0 :: FLV Playback Check For End Of Video?

Aug 12, 2011

I have a few videos that I have in my Flash file, that I would like to have them trigger the playhead on my main timeline move to a new frame upon completion of the video.

I have found this page, informing me that it is possible, but do not know what to do with this information.

[URL]

View 4 Replies

Stopping Video Component Playback?

May 20, 2009

I have a frame where I have added an flv playback component to play a flv file. Everything plays fine, but when I test the file and navagate away from the frame that the playback component is on, the video continues playing.
 
Is there any way to get the video to stop when the user navigates away from the frame? I'm sure this could be done if I add the video using AS 3.0 (that is what the navigation of the site is coded with).

View 2 Replies

ActionScript 1/2 :: FLV Playback Repeats First Second Of Video

Jul 18, 2009

I'm having trouble fixing a problem with an flv playback issue. A main swf loads a child swf which preloads a movie. If the movie is preloading and you close the child swf with _global.lightBox = false; global.nc.close(); unloadMovieNum(2); The global variable lightBox is set to false so when the video is fully loaded it sees that lightBox is false and does not try to play. The global variable nc is the movie's netConnection. The problem occurs when you click to close the movie and then try to load the movie again. What happens is it stays on the preloader going from 1 to 99 over and over again while playing the first small bit of the movie's sound.

View 1 Replies

ActionScript 3.0 :: Video Playback In Air Application?

Aug 5, 2009

The application serves as a presentation interface and plays slide and video content using the FLV Playback Controller. The user interface has three preview windows along with a list of slide and video content that gives the user the ability to select which slide(s) and or video(s) appear in the preview window(s). The content is simultaneously shown full screen on three projectors via multiple monitor outputs (2 nVidia SLI gfx cards, 4 outputs, 1 preview monitor, 3 for projectors).Our issue is centered around the playback performance of one 20MB flv (1366x768) after having played several 2MB flv files (same resolutions and bit rates).

The odd thing is that the 20MB file can be played seamlessly 1x, then the small flvs can be played without issue; but if we try to play the 20MB flv again, it begins to stutter in the last half of playback.We are looking at getting an official opinion letting us know if video playback performance can be increased and is so a quote letting us know what costs are involved to do so. We can provide the source code and all related files.The hardware this Application is running on is a PC running XP SP3 with a XEON 5130, 2 Ghz processor, 2 GB DDR2 ram, a Seagate ST3160815AS 160 GB SATA Hard Drive and 2 NVIDIA 9800GTX Video cards

View 1 Replies

ActionScript 1/2 :: Detecting End Of Video Playback?

Nov 3, 2009

how to catch the end of FLV playback. I have an SWF which is loading a number of FLVs dynamically, based on user interaction with a main menu. I am NOT using the FLVPlayback Component. I wanted to create my own buttons and interface, so I am using the basic Video Symbol that is added directly from the library.
 
I have already read about using listeners to catch the complete property, but that seems specific to using the FLV Playback component. I have thought about using cue points, but I didn't create the FLVs, and I don't have access to them, to edit them. I have also tried comparing the duration of the current FLV to the time played, but that breaks when a new FLV is being loaded.

View 4 Replies

Professional :: Best Method To Playback Video?

Mar 29, 2011

I import the video manually from the File Tab. I change the stage size to match video (I want it full screen because I have "liquid layout" AS3 code in order to match browser window) I center the video on the stage.I make the video an Object (MovieClip)

And that's it.

The video play well, matching the full brower window and resizing accordingly.

My questions are :

1 - I am making the video a movie clip but is it necessary. I have tried without and it still works!! The only thing I find weird is that the "publishing" doesnt work when the video is not made a MovieClip. (I struggle to center the SWF in the HTML page)

2 - I don't know about the Netstream class. My server is a normal FTP (with PHP MYSQL) but not a streaming server. Would it be appropriate (better) to call the video through AS3 using the Netstream class ? (actually I am not sure of what the Netstream class is for)

3 - I have tried to loop the video using the classic AS3 code (that can be found anywhere). What is funny is that the code works when the movie is not converted to an object. But when it is, the looping doesnt work at all. Do you see a reason why ? (Maybe because the video is imported manually and not an instance created from the Video MovieClip Object ??)

View 1 Replies

Professional :: Input Video For FLV Playback?

Sep 27, 2011

I am using the FLVPlayback component to play a flash video. Currently, the input video I am using is a H.264 encoded .mp4 file. My question is regarding the type of video input which the component supports. In the sense, I understand the kind of videos which the playback component supports(h.264, sorenson spark encoded videos and the like). I specifically wanted to know whether there is a provision to play a video which has chapters and is there any skin to support such a feature?
 
Background Info: I am using Flash Professional CS 5 and the language is AS3. I am using flash on an embedded platform.

View 5 Replies

Professional :: Video Playback On Swf Export?

Nov 22, 2011

I have made my site and now the protocols of Flash wont allow the internet to playback the video, I dont know if you understand me but this is the message I am getting every time I try to open my finished SWF Project."The following local aplication on your computer is trying to communicate with this Internet-enabled location: my site IP" I looked for the location to allow the settings yet I cant find it.

View 2 Replies

Flash Interaction After Flv Video Playback?

Dec 7, 2010

I have a video embedded in Flash as an FLV. I'm able to get the video to play through the way I want, but when the video plays through and ends, I want to have two options/"buttons" display that allow the user to either replay the video a la youtube, or link to another web page.

I know it must a very basic question but I can't seem to find any answers. I've included a screen capture of the end of the video.

View 1 Replies

ActionScript 3.0 :: Video Playback Air For Android

Jun 14, 2011

I'm trying to develope a simple video gallery app. It just has a few thumbnails that when clicked, play the select movie in my show movie area.It looks great when I export the .swf and see it on my laptop, but when I install it on my Android phone the movie takes over the whole screen.I am streaming the video via my server. The video dimensions are 800 x 600 on my server, but i only want then 500 x 333 on my app to make room for the thumbs. have set the flvplayback componant to 500 x 333 but everytime I install it onto my android the video just takes up the whole screen.

View 0 Replies

Actionscript 3.0 :: Video Playback On PC Laptop?

Apr 23, 2010

I have developed a Flash projector to play video files from a DVD. The presentation runs fine on Mac desktops and laptops. Also runs fine on PC desktops but not on some PC laptops. The videos are encoded at 772 Kb/sec. This seems very low for DVD delivery. What is the recommended setting for encoding video for a PC laptop? What other factors could be a factor?

View 2 Replies

ActionScript 2.0 :: What Are The Differences With Playback Of Video On A Mc And Pc

Apr 27, 2004

i've got a large video (48MB) that after 7% is loaded, it starts playback. on a pc it takes 10 seconds before it will start to play and it plays all the way thru with no problem. on a mac it takes 30 seconds before it will start to play and sometimes playback is choppy. why does this happen? what are the differences with playback of video on a mc and pc? is there some way i can get around this?

View 11 Replies

ActionScript 2.0 :: Preventing Video Playback?

Mar 12, 2008

I imported a video using progressive download method (so not embedded). I don't want the video to play until the user clicks on it. Right now, it's playing as soon as I get to the frame it's on. Is there a way to prevent it from playing until the user activates it?

View 3 Replies

IDE :: High Def Video Playback Without Quicktime

Apr 8, 2009

I'm in a bit of an emergency situation. I need build a high def video player in flash as3 for people WITHOUT the quicktime player.

Neither mov nor m4v files work (They obviously need quicktime), and when I convert my movies to FLV they look very pixelated.

IS there anyway to build a high def video player that does not require quicktime player!?

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved