ActionScript 2.0 :: Flash 8 Importing And Controlling Video
Nov 23, 2010
I have imported video using Flash 8 and am streaming it from my server.
I am trying to incorporate a play/pause button into the center of the movie clip, however, am having trouble controlling this streamed video.
View 1 Replies
Similar Posts:
Nov 29, 2009
All I want to do is have Flash play a single video based on the URL specified in an XML file. I am using the default Flash video player.
I go to File -> Import -> Import Video, and then click on the "Already deployed to a web server" button, and type in the path to an XML file.
I'm confused as to what needs to be written in my XML file as to make the flash video work. Let's assume my video file is located at [URL] What code would I need to write in the XML file to get it to play?
View 4 Replies
Mar 29, 2010
I have been trying to import a video into my flash file. I uploaded it to my server but when i try to use the link it always says it doesnt exsist. The file i am linking it to is in my remote files. The url i get on filezilla for it is [URL] this doesnt work as its not a html.
Edit: is there anyway of finding the http link for my video?
View 2 Replies
Jul 14, 2009
when i try importing video into the flash library i get a list of about 5 options. this is just for coursework which i will send my flash site to my tutor (it will not go online). so i was just wondering what is the easyest way to stream video inside flash.
View 1 Replies
Jun 25, 2009
I have a PowerPoint presentation that has video included and need to recreate it in Flash. I have the video in WMV format and am thinking the best way to have the video play in the flash presentation is to "Embed video in SWF and play in timline" especially since I have to add text and image effects. Or is there a better way to do this?
I'm also having a hard time importing the video especially due to the Flip4Mac WMV Player putting a watermark in the video. Is there a way that I can put use Actionscript to play the video at the beginning (and end) of the Flash presentation and then play the rest of the Flash slideshow?
View 2 Replies
Mar 24, 2010
How can I get this flash file to import this audio file and be able to pause and reset the audio?The file I have I was able to get it to play but I can not pause it, it just re-sets it.I also can not figure out how to get a progress bar to match the audios progress.Has anyone done this befor or have a fla with code I can look at and revers enginere? URL...
View 2 Replies
Feb 10, 2012
im currently making a multimedia product for my A-Levels ICT ... and had an issue with importing a video into my product the video was converted to flv using flash media encoding and then i embeded it into timeline using the movie symbol. the only issue which i have now is thatl it doesnt have a skin e.g. i cant stop or play the video.
I've tried creating buttons to stop and play it but they dont seem to work
here is the code which i used
play button
play.onRelease = function(){kvideo.play();}
stop button
stop.onRelease = function(){kvideo.stop();}
i cant rely flash to access the video from a folder because it has to be sent to an exam board which means that they will only take the .swf file and nothing else so i have to make sure that the video is embeded into the multimedia product... also the video has sync issues with sound ( i know it gave me a warning about this when importing it into time line..) would it solve this if i have two seperate files? have one just a video and the other with sound... maybe import sound seperately?
View 1 Replies
Jun 13, 2011
I am making a project, that includes many videos. In short: let's say I want to put 20 videos that are on the screen (I won't put them all together - they would be 4 together each on 5 pages for example) and the user could hear 15 seconds of them and then decide if he/she wants to play the whole video.this is the general code I use for import (just to understand how I import):
playlistVideoDisplay[i].movie = new FLVPlayback();
playlistVideoDisplay[i].movie.load("videos/somefile.flv");
To my understanding - It would be easier for flash to load 20 videos of 15 seconds each - and then when a user request a specific video - flash will load the full video of this specific short one.BUT - I would much rather use the other way - loading full-length (let's say 10/7/5 minutes) and when the user can play the 15 second sample and, if he/she wishes, he will play the full video (without re-loading a new video - and not making a smooth transform between the short one and the long one).
My question is: Am I wrong by assuming that importing bigger movies would make everything hard and slow on flash?
View 1 Replies
Oct 30, 2009
In Flash mx I want to import two and three videos. Now I go to File>Import>BrowseVedio file and and a dialogue box opened and I press OK. The Video appeared in an Embedded form and increases the file size. Now in another flash mx fla I saw they imported the video in this format ?streamvideo 222? but the video imported by me just named in this format? McDonalds_cromo? ( Nme of the video).
View 0 Replies
Jun 22, 2010
I've got a few encoded high definition videos that are now .flv files and I'm wondering which is the best option to choose when importing the .flv file into my Flash project? I'm looking for fastest loading/streaming with best quality to be the result. If I choose a streaming option like progressive download from a web server, would the choice be dependent on the type of server the file(s) are hosted on? I'm using Flash Professional 8.
View 3 Replies
Jan 1, 2011
I am running on Dreamweaver CS5 in Code View...I have imported a flash video, which displays in design view, but will just keep loading in the actual browser and never start the video. It is running through an Apache localhost and is a PHP file...could that mess it up? I am also using jQuery with a bunch of hidden popup views, that work fine. What's wrong with my flash? Here is my source code to my flash video file:
[Code]...
View 1 Replies
Feb 3, 2011
I am having a problem getting my flash file to work on my webpages. I first converted the original .avi to a .flv format,then I imported the.flv into flash. It has a skin because I wanted the users to be able to stop and pause the video. When I test the file outside of the web page it works fine. The skin file, the .flv and the .swf are all in the same folder. But when i Upload the webpage , the flash does not play online. If i preview in design mode, the flash file plays. Although with out the skin. Now if i open the flash file outside of the webdesign software it opens in a web browser and all works.
View 1 Replies
Dec 2, 2008
I am making a training video list on a web page. When a training video is clicked, the training video is played by an swf file on a new tab, and at the end of the video, the swf displays a web form to gather some data to be saved in MySQL db. The name of the training video is passed to the swf file as parameter to play the training video dynamically. When loading the training video dynamically in the swf, should I load the training video in the flv format file or swf format? The training video can be produced in swf and flv format. I noticed lots of web sites say that flv should be used. But I think training video in the swf format file size is smaller than the flv size. What is the advantage and disadvantage of loading the training video in flv format and swf format whith all other fators being equal?
View 2 Replies
Jul 2, 2010
I've used the import video tool in flash with the settings I wanted (buttons - forward, backward, play ...), after it was finished I added to my site,from here starts the problem - when I check the site on the computer (local mode) the video file works when I check (Web mode) it does not work.All files are together in the same folder?
View 1 Replies
Oct 13, 2010
Just like the subject states, I am indeed having frame rate problems importing video to Flash CS3. When I export a video from Premiere with the settings: 1280x720frame rate of 23.976using H264 or Animation (basically every codec produces the same results),"embed video on SWF and play in timeline" When I do this the file exports fine. Playing it in Quicktime works fine and the audio syncs up no problem. But when I import it into Flash using the same settings, for some reason the movie clip is now too fast in that the video does not match the audio and seems to be at more like 12 fps now (just a guestimate). The action of the video is over long before the audio even comes in.I have verified that the frame rate is correct in Flash so it's not that.
I've done this literally hundreds of times in the past and suddenly it does not work and I can not figure out why. I'm not even really using video, but actually artwork that I am putting together as an animatic for an animated piece so the video could not have been imported incorrectly or digitized wrong either.
View 2 Replies
Mar 9, 2010
I attached the code here. The problem is after importing the video in the first frame while navigating the video sound is heard which means the video is still playing. How can I stop it when moving to other section. Here is code
[Code]...
View 2 Replies
Jul 19, 2010
I have supplied several progressive download flash videos to our web site programmer. Our web site is in PHP. All videos play well except for one thing: I would like them to start automatically. How do you change that? One the server, he added the Clear_Skin.swf, FLVPlayer_Progressive.swf and flvProgress.swf files. Are those the ones that control the autoplay action?
View 1 Replies
May 7, 2010
I have this site I'm doing in Flash with an embedded video.The site has background music that is loading automatically, but when the embedded movie loads, the volume on that is mixed in witht he sites music.If you mute the sites background music, it mutes the video sound as well. Make sense?How can I seperate them out or make the sites background music not load on that particular page.
View 1 Replies
Apr 4, 2011
Is there a standard set of JavaScript controls for controlling a flash video created with swfobject?
I'm using Akamai Multi Player and I'm trying to find a JS control to seek the video when it loads.
View 2 Replies
Mar 24, 2009
I have a .flv file which I would like to import into my stage. I use the import video option, select the file location, select progressive download from webserver and select the skin. However when I export my swf, the video doesn't appear. I have been successful in the past doing this but for some reason it doesn't appear. I have looked at the publish settings and compared files and everything seems to be ok.
View 1 Replies
Nov 8, 2009
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?
View 1 Replies
May 20, 2009
create a watermark that fades into my videos 20 or so seconds in, then fades out after another 10 seconds.
Here's what I've done so far in Flash CS4:
- Import Video
- Pointed the "player" to an external URL for the video.
- Selected a generic Skin
The video plays well, all is in order.
Now, to add a watermark to the player. I figured you'd simply import the new animated SWF file, then write some Actions to tell it when to fade in and fade out. Not that I know how to do that at all .
I'd even be up for other options, if this simply won't work I've thought of pushing all my videos through a third-party program to brand the video with an animated watermark, is there such a thing?
View 7 Replies
Jul 3, 2009
When I import flv video on Flash CS4, I have a option to choose a skinning. When I choose SkinUnderAll, a lot of contorl buttons are available including full screen mode button. However, it does not include movie mode button. I am not exactly sure if it is called movie mode button. When you press it, a video clip will be displayed in center and surrounding area become transparent black. How can I obtain such a button?
View 3 Replies
Jan 13, 2010
Great book but I'm finding stuff that's not working as it's supposed to The first item I came across was adding a stop(); on a separate layer at the end to stop my swf from looping. I followed the directions to a T but no matter what, the .swf would loop. I came across another forum where it mentioned to change the publish settings to Player 8 which automatically changed the ActionScript to 2.0 instead of 3.0. Well the movie didn't loop anymore but why shouldn't it work with Player 10 ActionScript 3.0? I have the most up to date player that I can get.
The next item I came across was on the Import Video function. The tutorial was to use the video encoder to make a usable movie for my file. When I tried to import it I got nothing, no errors, nothing appeared on my layer as it was supposed to. Same thing here - I changed my publish settings to Player 8 which, again, changed it automatically to Actionscript 2.0 and then the movie imported fine and played and did everything it was supposed to do.
View 2 Replies
May 12, 2010
I trying to set up my video progress bar so it shows the video streaming in. Currently it only shows the video progress. If I pause the video using my pause button, the progress bar pauses to.
ActionScript Code:
import caurina.transitions.Tweener;
var fv:String=root.loaderInfo.parameters.vars;
[Code]....
View 0 Replies
Aug 19, 2010
I am trying to control the audio of an embedded video from a mute button. I can get the audio to play and the mute button to control the volume using the following script:
var my_nc:NetConnection=new NetConnection();
my_nc.connect(null);
var my_ns:NetStream=new NetStream(my_nc);
[code]....
The problem I am having with this is that the video is not appearing on the stage and when I place it on the stage the audio is playing twice. how I can get it to appear on the stage and still control the sound as the button is doing at the moment?
View 1 Replies
Jan 22, 2009
i need to ctrl the audio of a video clip, but im not sure how to do itwhat actionscript do i needi imagine i would need something like_root.video_movieclip.soundlevels = 100%
View 2 Replies
Mar 8, 2012
I've been following/combining a few tutorials across the Internet. I'm looking at controlling the speed of a video with a slider. I've currently got the slider working and the video on stage but I'm a little unsure as to the algorithm required to make such a slider work. The video I want to control needs to move from half speed, 0.5-1 on left half of the bar and to double speed 1-2 on the right hand side of the bar.
The below is my code so far.
Code:
import flash.events.MouseEvent;import flash.events.Event;
import fl.transitions.Tween;
import fl.transitions.TweenEvent;
[Code].....
I'm looking for 1) an algorithm to slow/increase the speed and 2) a way to use the videoSpeed var to control the speed of a Movie Clip.
View 6 Replies
May 12, 2007
We are quite familiar with action scripting but are facing an awkward situation. We need to call different instances of youTube Video into our own swf and play them. Now as youTube video is from a different domain, the Flash sandbox restrictions naturally come into play. We are loading the youTube swf into a clip using the MovieClipLoader Class.
If we remove the instance using the removeMovieClip() command the video is removed but the sound continues. We have even tried the MovieClipLoader unloadClip() method but that too did not yield results.
We wish to be able to kill the sound object or atleast mute it so that it does not play even after the movie clip containing the video is removed. As the swf belongs to a different domain we are unable to control the sound object directly through script. We have even tried loading another youTube instance into the same movie clip after first removing it using the removeMovieClip() command, then creating it again, and finally loading the youTube instance using the MovieClipLoader class, but the earlier sound still continues to play even while the second clip sound also plays.
View 4 Replies
Sep 4, 2011
I want to know if it is possible to use javascript, flash or flex to make a youtube video player that is capable of controlling left/right audio channel volume. For example, mute the left channel and play right channel audio on both left/right speakers.
View 1 Replies