ActionScript 3.0 :: Importing 4 Videos Flv With Playback Component?
Dec 9, 2009
I am importing 4 videos flv with playback component. When a video is loading, I would like an mc to be visible (like a loading mc e.g.youtube) to be sure the users understands that it's working and loading. But when it starts to play, the mc needs to disappear.So I imagine something like this code is a start
import fl.video.VideoEvent;
vid1.addEventListener(VideoEvent.LOADING.videoLoad );
function videoLoad(e:VideoEvent){
[code]......
View 1 Replies
Similar Posts:
Sep 13, 2008
I'm using the flvPlayback and Captioning component/skin for some videos. Works great, but I can't figure out how to have the captions off by default and use the caption button to turn them on for users who want to see the caption buttons.
flvCaption.showCaptions=false;
Hides the captions, but also disables the captionButton in the skin, so there is no way to toggle showing and hiding the captions.
View 4 Replies
Sep 22, 2007
I'm trying to get a Media Playback component to play videos. I can get it all to work if I hard code the component with this code:
[Code]..
View 14 Replies
Oct 30, 2009
I have four flv videos (video1.flv, video2.flv,video3.flv and video4.flv) and I want to play them one after the other. When video4.flv is finished I need the movie to start playing video1.flv again and the rest after it, an endless loop. How can I do that? I'm using CS3 ,AS2 and Flash Player 9.
View 1 Replies
Mar 16, 2010
I built a flash player that has many external flv videos. The player functions perfectly when played in flash with the test movie function. It also plays fine in deamweaver when the .html file is imported into it. The problem is once the player is uploaded onto a site with all the files in the same folder the .html loads and the flash file functions perfectly but the videos do not load.
The skin of the videos load, but the area where you would be able to seek through the video has a rotating green barber shop looking thing like it would be downloading the videos, and the videos never load. I have debugged it and it came up with no errors. So now I come to the people that have more experience than me with this. I would be happy to forward a link or swf file to anyone if it can help see where the error is. I'm thinking it is a few lines of code that I am unaware needs to be in my file. I will leave it to the experts.
View 9 Replies
Dec 28, 2011
when i create an exe and i take it to fullscreen, my videos stop playing...and if yes how can i allow it to play my videos in fullscreen mode....
View 0 Replies
Aug 23, 2011
I have a video that is external, and is playing through the FLV Playback component.
I need to set Cue points in FLV video to trigger other MovieClips at certain times during FLV playback. I have read about them, but am unsure how to use them using Adobe Media Encoder. I am pretty sure I know how to set them in there, (unless there is a better way) but then how do you trigger the event?
View 1 Replies
Jan 12, 2010
Ive made a 3d object in 3d studio max and animated it as i want it. Now when it comes to bringing it into flash, is there a way for me to do so and making the backgroung transparent?
I was thinking it could be exported as some type of movie format where the black areas of the video were removed.
I tried doing this by making a movie clip of the video, and in this mc going through every frame and putting a mask on it so only the parts i want are visible.. there are however weird effects from this where the mask gets sliced into pieces and draws weird lines.
View 1 Replies
Dec 16, 2009
I imported multiple flvplayback videos on my file via the Video Wizard Import. After that I removed all videos except one. But it's still trying to load those old video and the skin of their player when I preload the file. I am sure there's no player on the stage except the one I need. And when I need to play the file, it's working well, the only problem is the extra loading for 6 skins that I don't use anymore and the time to look for 6 videos that are not there. So here're my questions;
1- When you import a video via Wizard, it there a script hidden somewhere that can be found?
2- When you import a flv to the stage, there's a loading bar saying getting metadata. Is there a place to edit or erase this metadata?
3- Any other ideas of where I could look to find this hidden data or trace or ghost that needs to be remove from the file ?
View 1 Replies
Mar 9, 2012
I have videos with DRM using flash Access. I would like to be able to play these videos on mobile devices using Air when offline. It is possible to play streaming DRM content on mobile devices but I'm unsure how to save a voucher for offline playback. Since DRMManager is not included in Air Mobile, is this possible and how would it be done?
View 1 Replies
May 28, 2009
Here is my code that plays the video:
import fl.video.*; var myVideo:FLVPlayback = new FLVPlayback(); myVideo.source = "video.flv"; } addChild(myVideo);
How to I set the size of the video? I have tried "myVideo.videoWidth = 400;" but that gives me an error.
View 3 Replies
Sep 9, 2010
I know you can put a playback component on a FLV. Is it possible to have a playback component on a swf?
View 3 Replies
Oct 25, 2005
I am sure I am just over looking some simple true/false thing somewhere but I can't figure out how to loop an external (progressive download) FLA file with the new FLA Playback Component..
View 14 Replies
Dec 30, 2010
Link [URL] Problem is the video doesn't play online. It works offline. There's no script involved, I have manually sourced the flv to flv play back component. There's no folders all files are together and easy to find.
View 4 Replies
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
Jun 15, 2009
I'm having a problem with the playbuttons, pausebutton and seekbar that I use on my flvplayback video. I don't know why, but these buttonaren's doing anything. I have put this code :
//slumdog is my flvplayback instance nameimport mx.video;
slumdog.playButton = my_playbut;
slumdog.pauseButton = my_pausebut;
slumdog.seekBar = my_seekbar;
View 3 Replies
Jul 1, 2011
I created a video in After Effects and rendered the output to an .flv, works fine when I embed in html and upload to my server. But now I'm having a problem with the next phase and that's adding a link to the flv using Cue points. I read the tutes on this but cannot get past the following. First I tested this by importing the flv picking the skin for the player and importing straight to an html page in Dreamweaver. I uploaded the html, flv and player to the server and it works great.
Now I need to add a url link to a certain frame of the flv and read the tute on how to import the flv into a new fla file, I see where I can scrub the timeline inside the flv and thought I was home free as all I had to do was upload and add the cue points. But now I see where I had to take the .flv and import as video to a new fla and after importing the flv it clearly states that the component will only play locally. After making sure the flv was on the server I uploaded the html and swf. When I try to playback from the server I get a browser Which is named "Flash Player Installation" with a blank screen.
View 2 Replies
Mar 16, 2012
I am currently working on a project (AS3), where I have 2 frames, with 2 videos (using the FLVPlayback component) and I want to switch from one video to the next video, however the catch is when I switch to the next video I want the new video to play at the previous video time. Example: Video 1 plays, 10 sec later, you click a button to go and see the next video (in another frame) and that new Video starts 10 sec into it.
This is the codes I been using so far:
import fl.video.VideoEvent;
import fl.video.MetadataEvent;
video1.addEventListener(VideoEvent.PLAYHEAD_UPDATE, timer);
function timer(e:VideoEvent):void {
var newTime = video1.playheadTime;
[Code] .....
View 3 Replies
Feb 2, 2011
i am trying to create a custom skin for my FLV component in CS5 ..but adobe's fla files have errors when i decompile...I get this error...
Actionscript Code:
Error 1046: Type was not found or was not a compile - time constant : NetStreamPlayOtions
When i do publish flash does recognise the custom.swf skin...when i do add it in my movie though i get this error
Actionscript Code:
Error #2044: Unhandled skinError:. text=Error #1009: Cannot access a property or method of a null object reference.
View 1 Replies
Apr 21, 2010
I'm Loading an FLV in flash using FLV Playback component in as3. And simultaneously i'm running sound on Phone. It syncs properly in my machine. But it is giving me terrible delay in slower machines. So is there any way to control the framerate of the FLV so that it can sync properly with sound.
View 1 Replies
Jun 30, 2010
Do i need to use the FLV playback component to load FLV files or can i load FLV files using loadMovie and use them like loaded SWF files? Can FLV files be loaded using ActionScript 1?
I searched for simple examples on how to load an FLV but i can't find any examples..
View 15 Replies
Feb 3, 2009
I have an FLV Playback component in a website that I'm working on and for some odd reason the controls do not work. The video loads and plays fine and the controls appear but you cant click on anything like you can when you assign the skin in the parameters. It is a default Flash skin. At first I thought it was due to the video layer being under a mask, so I moved it on top and it didnt change anything.
View 1 Replies
Jun 27, 2010
I want to add a simple audio control (play/pause/seek/volume) control to my flex application.
View 1 Replies
Mar 18, 2009
I'm trying to do a site with multiple videos, and I figured that instead of adding frames with new instances of the Playback component, it would be nice if I could get it working by just passing some actionscript to the component on the click of a button.
Here's what doesn't work:
Code:
on (release) {
_root.videoPlayer.loadMovie("Videos/theVideo.flv");
}
videoPlayer is the name of my Playback component. This does cause an interruption, as the video that's currently playing disappears, so it appears it's at least trying to load it, but it certainly won't play that video.
View 1 Replies
Nov 16, 2009
I am using the following code to load my video into the playback component, but the video is the wrong size, it's too small and isn't centered in the video player.
Code:
import fl.video.*;
var myVideo:FLVPlayback;
myVideo = new FLVPlayback();
myVideo.source = "videos/Logo Animation WEB.mp4";
myVideo.addEventListener(VideoEvent.COMPLETE, completePlay);
[Code] .....
View 1 Replies
Feb 2, 2012
After much discussions and great help I finally got the working FLV component. Here is my entire code from the label with an FLV component.
import fl.video.VideoProgressEvent;
stop();
close_btn.addEventListener(MouseEvent.CLICK, onClick_GoBackToHowTo2);
function onClick_GoBackToHowTo2(event:MouseEvent) :void {
gotoAndPlay("howto");
[Code]...
The problem is it doesn't dissapear once the video plays. How shoudl it be done, the whole video has to go to another frame with no play_btn on it or there is a code which can make it fade away?
View 9 Replies
Jul 17, 2011
As some Internet tutorial suggested I've built a simple server-client application for FLV Video Player using PHP and Flex. The problem I encountered is that I can't change the source of the video in the mxml file using Notepad++. The source could be changed if I run Flex but It's not a good idea because I want to run different videos through this player.how to run different videos with this Flex Video Player component because my application works only for this given in the source of FlexPlayer.mxml-maybe I shouldn't use this mxml file for the different Video Sources?
<s:VideoPlayer id="Player" left="0" top="0" width="493" height="382" chromeColor="#2875DE"
color="#000000" skinClass="MySkin" source="Video Source/Coldplay - Clocks.flv"/>
</s:Application>
[code].....
View 1 Replies
Jun 29, 2006
I'm importing text into a TextArea component and it all works fine and dandy.Though I want the textarea to not form a scrollbar but to actually just keep adjusting its height so there is never a scrollbar.I looked through all the properties and I have no idea what to test for to see if there is a scrollbar.
View 1 Replies
Sep 10, 2010
I am trying to loop my external video with flash cs5, I know little about actionscript 3.0 . Haven't be able to get anywhere it uses a component called FLVPlackback. I started off with a flash template that I have tweaked to my needs Here is the .fla file I am adding the video I want to loop the the photos page
View 3 Replies
Oct 19, 2011
I've never extended a component class in AS2, and I'm having problems with it now.
Here's my class file:
Actionscript Code:
import mx.video.FLVPlayback;import mx.video.*;class AkamaiFLVPlayback extends FLVPlayback{
public function AkamaiFLVPlayback(){
super()}}
Here's how I'm trying to instantiate it from the FLA:
Actionscript Code:
import AkamaiFLVPlaybackvar g = new AkamaiFLVPlayback()this.attachMovie(g,myVid,1)g.contentPath = "[URL]"
Now this does not work at all. I can see that the super class FLVPlayback is creating variables, but it's not loading to the stage or initializing.
View 1 Replies