ActionScript 3.0 :: Load An AS2 Swf With Video Component In It?
May 18, 2010
I have my main file which is built in AS3 and I am loading some older AS2 files. These AS2 files have some video in it and use the FLVPlayback Component.
When I click my button to load the AS2 swf, they load fine and the video plays.
When I hit my back button, I do a simple removeChild on my swfLoader object (Loader).
When I go to open a different AS2 movie with video, the video does not work, however, if I restart the movie and click that AS2 movie first the video plays fine.
View 6 Replies
Similar Posts:
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
Nov 4, 2010
question about file reference: i have a file reference that can browse for media files (*.flv, *.f4v, *.wmv, *.wma, *.mov) i am trying to load the file Reference in to a video component. i do that by:
video.attachNetStream(ns);
ns.play(null);
myByteArray = fr.data;
ns.appendBytes(myByteArray)
flv files are OK and i can see them and hear them & controll them. but when im trying to load any other kind of movie type, the all thing fails.
View 2 Replies
Jun 3, 2009
can i ask if it is possible to load different video formats in my flv component.I am trying to load a .mov, and ,mp3 and ,wmv in my player but its not working.
View 3 Replies
Oct 13, 2008
I simply have one FLVPlayback component in the background and a movieclip on the layer above with an FLVPlayback component inside it. The first FLV component is constantly looping a five-second video. So all I need is for the movieclip containing the second FLV component to load the right file, fade in, and when the video ends, fade out. Absolutely all of that works... apart from the fading in. What I noticed was that my movieclip was fading in correctly, but the FLVPlayback component was empty and transparent until the fade had finished - then it played the clip. Here's my code, which gets called at random intervals:
[Code]...
View 3 Replies
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
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
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
Oct 13, 2011
Im trying to make a video class so I can put in my src and video dimensions to load up a video .. I am wishing to implement this in the following way
[Code]...
View 2 Replies
May 31, 2009
I would like to load a video into a video at certain cue points along the main video. Does anyone know how to do that?
View 20 Replies
Oct 25, 2011
I make my base swf in which I load external swf's. In my base swf I have mp3 player. Everything works fine until I need to load external Video gallery or mmedija.swf. In video gallery I have
import flash.media.SoundMixer;
SoundMixer.stopAll();
to stop my mp3 player sounds and play video files.... But then when load some other files I want to stop playing video files and restart mp3 player.
[Code]...
View 0 Replies
Nov 3, 2010
I need to load dynamiclly video in flex video player on the web,I'm using standard video player component,when page load a want to load a video in it.I'm not flex programmer
View 1 Replies
Jun 10, 2009
I am testing a flash to run video on my web site [url]... it loads the skin but not the video. I have tested the page in a browser from my computer and it works but it does work when loaded from the web. When I test the page on my computer in internet explorer it gave a blocked content warning but worked when I allowed blocked content.?
View 2 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
Dec 30, 2005
I have FLV video component waiting for the user to push play. However, I want a thumbnails that I can stick in there because it is just black. How does this work with the FLV playback component? I can't find anything about this.
[URL]
View 4 Replies
May 18, 2010
I have my main file which is built in AS3 and I am loading some older AS2 files. These AS2 files have some video in it and use the FLVPlayback Component. When I click my button to load the AS2 swf, they load fine and the video plays. When I hit my back button, I do a simple removeChild on my swfLoader object (Loader). When I go to open a different AS2 movie with video, the video does not work, however, if I restart the movie and click that AS2 movie first the video plays fine. Essentially whichever AS2 swf I load first the video works. Any of the SWFs after that, the video doesn't.
View 6 Replies
Feb 3, 2011
Works fine however online it takes some time to start and it just has a blank screen for about 7-8 seconds before it starts the videoIs there any way to add a buffering message until it loads the video?I know that buffering is easier to do with NetStream.. but in this case im using Flash's CS5 FLV component which it doesnt give it as an option in the properties...
View 6 Replies
Sep 5, 2008
i'm trying to add the (list) component to a video player...i have all of my info being read from a basic xml page.i want it to play three videos
<vid desc="video2 dark knight"
src="video/DK480p.mov" />
i can get the list to display the desc but i can not get it to play any video when i click the list.
View 1 Replies
Sep 7, 2010
Is it possible when publishing a Flash CS4 file to have the Video swf and the Skin swf be in one swf file? I have a Flash CS4 (AS2) file that has a FLVPlayback Component. When I publish or test movie 2 swfs are output. I need only 1 swf as I am then going to insert this 1 swf into a Captivate 4 project. When I insert the video swf by itself into Captivate 4, I do not have a play bar/skin. If it is not possible to publish as one swf, how I can insert the 2 swfs into a Captivate file and get them to work?
View 3 Replies
Jul 27, 2011
i'm trying to embed h264 mp4 video into website using flash cs3 professional.
when i select the source file it's looking for .flv files and not the mp4 file so the mp4's are greyed out.i read a great tutorial using a pc which shows the workaround for being able to see the mp4 files.url...I'm however using a mac and this method of putting an * in the file name box doesn't work on mac.
View 1 Replies
Oct 19, 2011
Is there any way to read cue points from a flv which i load intro a netstream object? I dont want to use a component.
View 1 Replies
Feb 3, 2012
I have a video which my client wants me to cut in pieces. I see that I can set up starting and ending points in Media Encoder, i.e. cut out the part from beginning and end. Is there an option to cut out parts in the middle?
I am familiar with After Effects but my client doesn't want to invest in this program. Are there any smaller/cheaper programs which allow more video editing that AME if AME indeed can not do it?
View 1 Replies
Feb 19, 2010
I have developed a video player using Flash 8 Professional and the FLVPlayback component. Recently I have been testing a few 720p .mov files converted to FLV by FFMPEG running on an encoding server. I am noticing that these files do not play back in my video player. It appears that they do not have any audio attached to them but when I play them in Adobe Media Player the audio is there.
Is this due to the FLVPlayback component in Flash 8 not supporting HD videos? When I test locally the video picture plays with no sound but when I run in a browser the video freezes and does not play. The progress bar appears to move as if the video is playing however.
[Code].....
View 2 Replies
Jul 27, 2011
I have a flex 4.5 application that uses a mx:VideoDisplay component to display the webcam. how can I add realtime effects to that VideoDisplay component? for example: changing colors, particle/grain looks, wave effects,
View 1 Replies
Nov 20, 2009
I have a presentation with two pages, each of which contains a video component with an associated video.
When the user clicks a button, the presentation changes from one page to the other. If a video is playing, I need to be able to stop it on the page change.
I can use stopAllSounds();, but if the user returns to the page again, the player is doesn't work unless the user clicks the Stop button before attempting to restart the video.
Is there any way to pause or stop the player that will still leave it fully functional?
View 0 Replies
Jun 19, 2009
Anyone know if you can move around a video component using tweener.I'm pretty new to flash and I seem to have everythig working with tweener exept when I try to move or transition out a Video component using tweener.The Component is in a movie symbol that is has an instance name.
View 1 Replies
Jul 27, 2009
I have a video component play on frame 1. When my movie goes to frame 2, the audio continues to play even though the video component is no longer on the stage.
View 14 Replies
Sep 23, 2009
I'm a new Flash user, trying to build a fairly intricate website by newbie standards. I have a basic understanding of Actionscript and OOP, enough to build a fairly nice looking full-featured website. Most of my goals for the website have been met, including dynamic XML content, a dynamic navigation menu, dynamic screenshot galleries.My current nemesis is a flash video gallery. I'm using xml lists of video locations (different types of video, including flv, wmv, and avi), and I've tried both the stock CS4 video player component (FLVPlayback) and the ubiquitous ToobPlayer 1.0.
Here's the problem. When I compile the video and view it offline, with either player component, it works beautifully! Loads each video from the XML gallery and performs as requested. When I upload it to an FTP and run the website (in an html file) as an http:// link, the video player component is no longer visible and nothing playsIt's driving me ape! Do I need to include some .as files when I upload or something?
View 7 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
Sep 12, 2009
I want to load a MSML component from another MSML component in Flex. To be more specific, I have a Login MSML component that loads from my main Application file and a Overview MSML component. When a user clicks on some button from that Login component it should redirect to the load Overview MSML component in place of Login component.
View 6 Replies