ActionScript 3.0 :: Loading A SWF With An FLVPlayback?

Aug 20, 2009

I have the following situation:I have a SWF file, "A.swf" loading another SWF file, "B.swf" that contains an FLVPlayback. Using the Event.INIT of the loader.contentLoaderInfo, I add a listener to load and display file "B.swf". It loads and displays the file "B.swf" but it does not play  the FLVPlayback which was intantiated in actionScript3 in the "actions" layer of frame 1 in "B.swf".

View 6 Replies


Similar Posts:


Loading Video To FLVPlayback?

Jun 26, 2009

I'm doing the exercises included in the book "ActionScript 3.0 for Adobe Flash CS4 Professional Classroom in a Book", but I have run into a problem I cannot solve regarding the use of the source property of the FLVPlayback component.

[Code]...

An error like this appears: "NetsStream.Play.StreamNotFound", saying that there is no video file there I also try with absolute paths, with slashes instead of backslashes..., and I just get to get it working if I copy this video file in the same folder in which lesson11_start.fla is, and enter "solution5.f4v".

View 1 Replies

ActionScript 3.0 :: FLVPlayback Skin Not Loading On Some Computers

Apr 29, 2009

A video should be loading to the second pane of this carousel[url]...
 
But, on some systems, the playback controls, and the video, are not loading. When working correctly, as the swf seems to do on some systems, the video is covered by a movie clip of the first frame, and then a play button is loaded atop the image. When a user clicks the play on the skin controls or the button that has been loaded on top of the video, the image and button are moved off the stage and the video plays.[code]...

View 1 Replies

ActionScript 3.0 :: Loading Multiple Videos In FLVPlayback

Jun 4, 2009

I am building a video player which should load multiple videos in a FLVPlayback. When the loading of the first video has finished, the second one should start, using the VideoProgress Event.

My code looks like this, videos is an array with the paths to the videos:
 
flvPlayback.addEventListener(fl.video.VideoProgressEvent.PROGRESS, progress);
flvPlayback.addEventListener(VideoEvent.COMPLETE, onComplete);
private function progress(e:fl.video.VideoProgressEvent):void

[Code]....

Now I have the problem when I test this locally, the first video is invisible sometimes when starting to play. This is not happening everytime, but sometimes the video is not shown, but I can hear the sound, and I can see the scrubber on the seekbar moving.
 
I already tried to check in the progress function if the video is already playing, and if not, set a timer that will call the progress function again in 1 second.

View 7 Replies

Professional :: FlvPlayback/flvPlaybackCaptioning - Video Not Loading?

Jul 14, 2010

I'm using the flvPlayback/flvPlaybackCaptioning components.My file works perfectly when I test the movie within Flash.When I publish it,I cannot see any video, even on my own PC.I have the fla, flv and xml files in the same directory.In flvPlayback component,I have skin set to None and I'm using a captionButton and playPauseButton.The source has the flv filename and autoPlay is set to False.In flvPlaybackCaptioning, source has the xml filename and the captionTargetName has the textbox instance.showCaption is set to False. Everything works fine until I insert the captioning elements.  The captioning works perfectly when testing.I can't see where I've gone wrong.

View 2 Replies

Actionscript 3.0 :: FLVPlayback Skin Not Loading On Some Computers?

Apr 29, 2009

A video should be loading to the second pane of this carousel:But, on some systems, the playback controls, and the video, are not loading. When working correctly, as the swf seems to do on some systems, the video is covered by a movie clip of the first frame, and then a play button is loaded atop the image. When a user clicks the play on the skin controls or the button that has been loaded on top of the video, the image and button are moved off the stage and the video plays.Here is the code referencing the video:

Code: Select all//Import FLVPlayback components
import fl.video.*;
import fl.video.VideoEvent;

[code]....

View 1 Replies

ActionScript 2.0 :: Making FLVplayback Stop Loading An FLV?

Sep 8, 2006

This problem is driving us crazy. The idea is simple. We have one instance of the FLVplayback component on stage as well as a playlist of videos. When we click a video in the playlist the FLVplayback instance starts the progressive download and plays the video.However, when we click a new item in the playlist, the FLVplayback instance won't start playing this file until it has completed loading the previous file. Stopping playback makes no difference.Is there a way to stop the FLVplayback instance from playing AND downloading so it is instantly ready to start loading and playing a new oneOf course removing the instance and attaching it again is an option, but that screws up the functionality of the player's controls and really feels like a hack that we shouldn't have to use.

View 5 Replies

ActionScript 3.0 :: Default FLVPlayback - Loading Or Buffering

Sep 17, 2009

Take a look (click on one of the right banners): [URL] The lightbox should almost immediately play the videos, but instead (only) with ie7, the video take a really long time to start. All 3 videos. But only the first time I play them. So, I suppose there's maybe some loading or buffering problem that occurs only with ie7. The swf files are simple default FLVPlayback pointing to a .flv in the server. Any way to optimize the playback so that will start soon in all browsers?

View 1 Replies

ActionScript 3.0 :: Loading A Swf With FLVPlayback Component And The Flv Restarts Playing?

Mar 31, 2012

i have an fla file with 5 keyframes. Each keyframe navigates forward to the following keyframe. On the fifth keyframe, a Loader loads an external swf. The external swf has an flv playback component with sound.
 
The fifth keyframe, other than having a button to click to load the swf, has a movie clip that navigates you back to the first keyframe. The loaded swf, once loaded, may be removed using removeThis function which has removeChild code as well as a flv.stop(); which makes the flv stop when the swf is removed. So u're back on keyframe 5, no sound ASo, all is well and the user can navigate back to the first keyframe (from keyframe 5), and from there continue on to the 2nd, 3rd, 4th and 5th keyframes again,  problems start though, when you get to that 5th keyframe again: that keyframe has an FLVPlayback component playing an flv, which at that point becomes very sluggish as all the mc animations on that 5th frame. And worse, i realize, the flv in the external swf that was previously loaded, starts playing by itself, which i know, because i hear its sound track.
 
I tried putting a conditional statement to tell the _flv to stop on keyframes 1 and 5, but that causes errors, considering that the flv is an undefined property from the perspective of those keyframes.

View 3 Replies

ActionScript 2.0 :: Loading External HD Movies With Flvplayback Component Slowed Down On Netbooks

Nov 21, 2010

I've been working on webdesign for some years now, having worked mainly in full flash websites with a lot of actionscripting. Thus I consider myself quite familiar with actionscript but only AS2 as I've still haven't made the cross to AS3 (I know i'm almost 5 years late...).I've been recently hired to convert interactive points on some museums that were working with dvd menu's to flash. I've constructed and programmed everything with no trouble at all using some programing to use a circular menu and the flvplayback component to load external 720P HD movies on f4v format. Everything was working perfectly until I was faced with the real PC's that were being used on the museums. Some of them are okay PC's and so I just had to reduce the quality of the videos a bit (a 20 mb bitrate was too much... lol).

However some of them are the equivalent of netbooks (like the Asus EEE PC) and that's where my nightmare begun.So the real problem is this: the computers can run the HD videos perfectly through the VLC media player. However, using the flash presentation either on flash projector or an swf running through an html on internet explorer results in an unwatchable video all sloppy and with buggy sound.I've even tried loading the videos inside a totally empty flash project which still resulted on the same problems.What happens is that when the flash loads the videos the system usage of the processor results in 60 percent with peaks reaching the 80 percent.The weirdest part is that sites like youtube that run HD movies work on those pc's but my presentation does not.Do you have any suggestions on what might be happening?? Is this a problem that has to do with the FlvPlayback component and that I could solve using the Open Source BetterFlv component instead?

View 6 Replies

Professional :: Video On Site - Showing Error - Warning : The Linkage Identifier 'FLVPlayback' Was Already Assigned To The Symbol 'Video/FLVPlayback',?

Apr 27, 2010

I have attached a video on a frame of my website in Flash. When I preview the movie the film plays as it should.But when I export the Fla. as a Swf. file it then doesn't have the movie there anymore?It does show this error:
 
**Warning** The linkage identifier 'FLVPlayback' was already assigned to the symbol 'Video/FLVPlayback', and cannot be assigned to the symbol 'FLVPlayback', since linkage identifiers must be unique.

I really don't know what that refers too.

View 1 Replies

What's Going On With My FLVPlayback?

Jan 25, 2008

I went to start a video project this morning and can't get the FLVPlayback component to do anything. Opening a new Flash file, dragging and dropping a FLVPlayback object from the Components panel onto the stage and then building the movie results in the following laundry list of errors:

1119: Access of possibly undefined property isRTMP through a reference with static type VideoPlayer.[code]...

All these errors take place in the UIManager.as file.

View 4 Replies

IDE :: FLVplayback In FLash 8 And FMS 3.5?

Feb 22, 2009

I have a little Flash 8 FLVPlayback-based video player, designed to read a list of video URLs (pointing to a demo version of FMS 3.5) from XML. The player works the first couple of times you select a video but then stops displaying anything when you select more videos. The seek bar seems to move but there is not picture or sound. You can see it here:

[URL]

My ActionScript is as follows:

Code:
var vidList:XML = new XML();
vidList.ignoreWhite = true;
vidList.onLoad = function() {

[code]....

View 1 Replies

IDE :: FLVPlayback Too Big In Fullscreen

Oct 13, 2009

I have an FLVPlayback component in an video.swf, and it has a fullscreen button. video.swf is being loaded by another main.swf. when the fullscreen button is clicked, it goes into full screen. But, the FLVPlayback scales too big and even the overlaying controls are out of the screen.

View 9 Replies

ActionScript 3.0 :: FLVPlayback And Metadata?

Sep 20, 2008

I don't know why, I don't know how, but for some reason setting the FLVPlayback.bufferTime property to anything past its default value of 0.1 will (more often than not) make it so the .flv metadata does not ever make it to the video player. Granted, this may also have to do with my slow connection, but I know I am not the only one who has had this problem hose of you who have made players with custom seek-bars know the lack of metadata is can be a problem because the FLVPlayback.totalTime property is set directly from the"duration" property of the FLVPlayback.metadata objecty suspicion as to why this is not a more widespread issue is due to the "one video per player" nature of players on websites. I don't believe that players often reuse the net connection of the same FLVPlayback control to load one video after another (however, I could be wrong, this is all assumption on my part anyways).1) The FLVPlayback's net connection is reused (that is, you call the load() or play() method several times during the lifetime of the videoplayer.

2) You notice that occasionally meta information is never received when you increase the buffer time to a value above the default.3) Your seek-bar does respond or you get a run-time error when you try to seek (most likely because totalTime property NaN and the playheadPercentage property relies on this value)The simple solution (or so I am led to believe ): set the buffer time back to the default value before every call to the new connection. In other words, make sure that the the FLVPlayback.bufferTime property is set to 0.1 before calling the load() or play() method for a new video. This will ensure that the metadata is properly received by the component for playhead calculations.

Code:
//assume we have an existing FLVPlayback component
myFLVplayback:FLVPlayback = this.flvPlayer as FLVPlayback;

[code].....

View 9 Replies

ActionScript 3.0 :: Play Next In FLVPlayback?

Jul 9, 2009

I'm using the FLVPlayback component to play 4 FLVs.

There are 4 buttons in the swf that can call up each video to start playing. Here's what's on the button 1:

-----
function vid1(e:Event){
vidPlayer.source = "mymoviename.flv"
}
vid1_btn.addEventListener(MouseEvent.CLICK, vid1);
-----

All the controls in the skin (play, stop, pause, etc) are great, except I need to also have a "play next" control.

What type of script to do I need to attach to the "play next" control?

View 1 Replies

ActionScript 3.0 :: FLVPlayback To An Still IMage And SWF?

Aug 5, 2009

I have to use AS3 starting now and I have the AS2 script for a FLV1 to FLV2.how to have a FLV1 to Image1 for one part and another part for FLV1 to a SWF...Here's the AS2 code:

import mx.video.*;
var flv1:String = "flvs/VG1_01n02.flv";
var flv2:String = "flvs/VG1_Bintro.flv";[code]...........

View 2 Replies

How To Loop Flvplayback Component

Aug 17, 2010

I know nothing about flash but this is what I am doind with CS5 Adobe Flash Professional:1. Import video. I type in the server location of my .mp4 file.Now when I save it and embed on a webpage it loads and works perfect, however it is not looping. So my question is in adobe flash professional what do I need to exactly?

View 1 Replies

ActionScript 3.0 :: Use NetStream Or FLVPlayback?

Aug 22, 2010

I'm currently on a project where to build a site with with several video-clips being played and reached from a menu. The video-files will be in FLV-format.I've done some video solutions in flash a few years ago but this time it will be in CS5 (AS3) and I'm not sure which solution that will suite this project best.The video clips must run smooth and I guess we'll need some cuepoints and buffering to make the transitions from the user inputs smooth. I think they need some MovieClips on top the videopart as well for navigation/information.

Should I use the NetStream-way or use the FLVPlayback-way? I got some demo-video-files yesterday and I ran an example using the FLVPlayback-method and it showed up smoothly but is this the way to go?Why would you use either NetStream or FLVPlayback?

View 5 Replies

Media Server :: DVR With FLVPlayback 2.5?

Apr 23, 2009

I'm creating an application in Flex that needs to use the DVR capabilities of FMS 3.5, ideally I would like to do this using the FLVPlayback 2.5 component, however I'm struggling to find any tutorials or info on this, I was wondering is someone could point me to one.
 
I heard that I need the DVRCast application to do this, but this hasn't been released yet, I was wondering if I could get a rough idea of when this is going to be released?

View 5 Replies

FLVPlayback Connection Error

Jun 3, 2009

I am using the FLVPlayBack component and it is working when I access FLVs stored on my local machine or even another machine on my network. However with one particular computer I am getting a Connection error reported at the same time after I have started playing back any FLV file. It occurs 25 seconds after the playback has been initiated.
 
It is my preference to use the computer on which the playback error is regularly occurring so I would like to get to the bottom of why I am always getting the same error.

View 7 Replies

Going To Next Frame After FLVPlayback Is Done Playing?

Jun 9, 2009

Flash CS3, and I have an FLV video(40 seconds) and a postcard which I want to show in the video farme after the video is complete. The postcard at the end will a link to a URL I've tried all the codes I could find on the internet, but I couldnt accomplish anything. I must be doing something wrong. Here is what I am doing:I put a FLVPlayback component in the first frame on the stage. Give the FLVPlayback component an instance name.Link the FLVPlayback component to a flv file on my server.Put the postcard in the second frame on the stage

View 12 Replies

FLVPlayback Keeps Playing Off Stage?

Aug 23, 2009

I'm doing a small Flash 10 site for a friend of mine at [URL] and my problem is if you click on the WATCH button, you'll see the FLVPlayback component comes up and the video starts playing. Fine so far. However, click on any other button and it takes you to the correct place in the timeline but the audio from the video keeps playing and I can't get it to stop even though the FLVPlayback component is nowhere on the stage anymore. How can I fix this bug?

View 4 Replies

ActionScript 3.0 :: How To Resize FLVPlayback

Sep 5, 2009

What is the proper way to resize an FLVPlayback component? I am reading flashvars from a swf object that contains the proper demensions. Anybody know how to set those demensions and get the proper width and height?I've tried a lot of things, but now I give up.

View 1 Replies

Add Time To FLVplayback Component?

Feb 9, 2010

Im using the FLVplayback component for a project im doing. I want to add the time elapsed and time left on the controls. I dont really want to create my own controls, as im happy with the flv playback component. The FLVs playing in the component are external and are loaded into it via as3

View 13 Replies

Professional :: Image Over FLVPlayBack?

Jun 13, 2010

I would like to take a PNG image over the FLV media. While FLV is loading, i see the image, but when the FLV starts to play, the image goes under it.
 
I have two Layers. Layer 1 with the FLV playing, and Layer 2 with a transparent button for weblink (it works). Order of layers in the timeline area: Layer 2, Layer 1

[Code]...

View 1 Replies

ActionScript 3.0 :: FLVPlayback FFW + RWD CurrentTime

Aug 25, 2010

to make a fast forward and backward functionality for my FLVPlayback I want to use the seek method to jump a second from the current video position. I tried to read the current time by .. video_mc.videoPlayers[0].netStream.time but I get an error message that this might not exist. How do I get the time where the video is? Or is there even a better method to do this?

View 1 Replies

Professional :: Detect The End Of Flvplayback?

Oct 1, 2010

i have an flvplayback component on stage, named the instance flvPlayer and added this code to frame 1, so a video loads in it. flvPlayer.source = "clip1.flv";
 
the videos plays from the local folder perfectly. I need a code that when the video ends, it jumps and stop to frame 1 of scene2.

[Code]...

View 4 Replies

ActionScript 3.0 :: Control Bar On FLVPlayback?

Nov 29, 2010

I am using a FLVPlayback component.Is there a way to turn off the 'control bar'?

View 1 Replies

ActionScript 3.0 :: CUE_POINT In FLVPlayback?

Feb 17, 2011

Iam playing a .flv file  with FLVPlayback component . when cuepoint  reacheded the playhead how to show the currrent cuepoint data

View 3 Replies







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