ActionScript 2.0 :: Attach And Control A Video?
Nov 24, 2009I need to create a flv player in flash in that i have to attach a video and i have to control the video.
View 2 RepliesI need to create a flv player in flash in that i have to attach a video and i have to control the video.
View 2 RepliesIs it possible to attach a timer to control a slider? Or alt remove the slider_mc and replace with a timer so that an image desaturated gradually after 60 seconds? Here is the file I am looking at [URL].
View 3 RepliesI have a problem with attaching more than one movie clip to this control structure, I need to attach 8 different movieclips. Till now the code attaches only one mc the "window".
windows = 8;
for (c=1; c<=windows; c++) {
attachMovie("window", c, c);
}
just wondering if it is possible to play an FLV and attach the video from that netstream to another and publish it to FM2.
is there a a way to attach video and audio from one netstream to another?
i have tried everything so far that i know of. when i think its attaching and publish it, i see nothing. publshing my cam and mic work flawlessly.
here's my code:
Quote:
nec = new NetConnection();
nec.connect(null);
nes = new NetStream(nec);
nes.play("http://testbox/transformers.flv");
[Code]....
The stop button plays as expected. The play/pause button plays as expected. The issue is when you press pause which will cause the play button to appear, then press stop. the video automatically plays and it shouldn't. I have bolded the control button script for convenience.
[Code]...
by following a tutorial on [URL], I was able to display a youtube video in flash, but the problem is that the video doesn't have a control menu. Just wondering if there is a way to make one, either it is customized or some default menu provided by youtube or flash.
View 0 RepliesI'm using the following rather than the FLVPlayback component, how do I attach a generic skin?
[Code]....
Where to begin? Anything thoughts, or direction I should start with?
View 1 RepliesI have been at this for about 19 hours straight! I am going to go to bed immediately after this post, but for crying out loud, I have NEVER had this problem before today! Before anyone reads ahead and says 'you have to attach your sound object to a completely separate mc to be able to control it independently from all other sound/root volumes.' see if the following code accomplishes just that:
[Code]...
how to eliminate previos attach before move to next attach MC..let say as u can see in my code..I just settign the interval..for 2 second..in other to attach the mc on eby one...so how to set up the code so that if the 2nd mc has attach it'll remove the 1st one attach for certain time...and so on..the scenario like this..
mc1 attach
after 2 second
mc2 attach --> remove mc1
after 2 second
[code]....
i like to add btns to control flv video. the btns are: play, pause, stop & volume control. i know flash itself has some standard btns to choose from, what i want is my own customisable play, stop btns.
View 1 RepliesI'm making a portfolio site, with simple navigation between pages (layers), nothing too tricky.
one of the projects is a video. I've imported it to Flash as an external video with playback component and it works fine when I play the flash movie.
the problem is, when I navigate away from that project page, the movie goes on running - I can tell by the sound.
how can I make the video stop when I navigate away from its page?
I need to add a control bar (play, pause, progress bar) to a SWF video in Dreamweaver. It can be very simple, the look and feel is not that important, it just needs to be functional. The only way I can figure out to add one is to import a FLV file into Dreamweaver instead. The problem with this is that I can't figure out how to export a FLV file directly from Flash CS3, and using a converter program to create a FLV file nullifys the links in the menu at the end of the video. Any help would be great! This seems like it should be really simple to accomplish, but I have been pulling my hair out over it all day now.
View 6 Repliesi am working in Flash AS2. still now i want one flv video play back with seek bar control animation script (not a Flvplayback component).
View 0 RepliesI have looked everywhere to find out how to add a seekbar (so user can scrub and pause). It is so easy to skin a video, but I need the same type of controls for a swf. I see them on the web.
View 0 RepliesI have tried to make simple buttons to control play, stop, paus and play again of a video.When that did not work I found the below instructions, and made movieclips for the buttons to use with the imported FLVPlayback (with none skin).In step 2 I choose play (for the first play-button/movieclip).In step 3, there is no video to choose in the box - only my own movieclips.In step 4 - what's the difference?In step 5 - there is no setting field...Control video playback using behaviorsSelect the movie clip to trigger the behavior.In the Behaviors panel (Window > Behaviors), click the Add (+) button, and select the desired behavior from the Embedded Video submenu.Select the video to control.Select a Relative or Absolute path.If required, select settings for the behavior parameters and click OK.In the Behaviors panel under Event, click On Release (the default event) and select a mouse event.
View 1 RepliesI'm having an issue with an FLV video playback in a scene. When I go to fullscreen mode, I seem to lose the ability to adjust the video object.
I am loading a new video via FLVPlayerback(). Since the video is being loaded into the scene on top of everything else, I use swapChildren() to put my button back on top of the video. When the video is done playing, I removeChild() the video.
This works in the normal playstate.
However, if I am in fullscreen mode, swapChildren() and removeChild both do not work. If I exit fullscreen mode, they are indeed working.
i have something like this
private var video:Video;
...
private function init():void {
[Code]....
which property should i change or bind a slider to in order to be able to change the sound volume ?
how can I remove the space between my video and control bar.I tried to change margin and padding to all element without success. There is still a thin white space above the controls.[code]
View 1 RepliesI had mx:Video object that play live strreamingvideo So how I can take snapshote of that Video
View 1 RepliesI haven't been able to figure out how to control embedded youtube video on my web page. What Happens is that if I navigate away from the page that contains the youtube video it keeps playing. If I go back to the page a copy of that video is playing but the one I view is not.I'm trying to figure out how to stop the video when I move away from the trailer tab.I have the youtube video embeded in a MC.Here is the code I try to stop it with:
Code:
function clickSection(evtObj:MouseEvent)
{
[code]....
Well Ive been trying to make a small flv player in flex, came across 2 problems.
1. How would you make a slider to control the video (Is it called a scrubber?)?
2. How do you change the icon of a button at runtime? (For the play/ pause button, changing the labels I can do, the icons have stumped me).
I couldn't find an example of a mp3/flv player online made in flex that has either of these, so I havn't got a clue how to proceed.
I'm not using flvplayback. I'm using a simple video player that has a pause button on top of it. I want the pause button to just look exactly the same. I've got a ton of other elements on the site, but I just want the video to go fullscreen and the pausebutton to stay the same size...
View 2 RepliesI have embedded a flv video into my timeline, it uses the flv playback component to play and the SteelExternalAll.swf skin. I would like to control this flv using buttons that I have created that are postioned next to the video player. Ideally, these buttons would be thumbnails, similar to chapter thumbnails on DVDs and would serve a very similar function. As these thumbnail buttons are always present, I want them to change while the movie plays, I think a border around the currently playing would suffice.
The video is nearly 3 mins long, I have made cue points from Sorenson Squeeze.
I am trying to use HTML to embed a flash video, however I encounter the following errors:
Error #2044: Unhandled skinError:. text=[IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text=" Error #2035: URL Not Found. URL: SkinOverPlaySeekStop.swf"] Here is my HTML code:
[Code]...
Whenever I open the page I'll get a popup window with the above errors and once I click "continue" it will go ahead and play the video, but without the control skin. how to get the skin to show up?
I have a client who wants me to create a flash presentation (interactive - non-video) and they want the presentation to contain a standard seekbar and volume control at the bottom (as you would see when watching a video) but in my case these controls will not be controlling a video, they will instead allow you to scrub through the playback timeline and control the volume of audio in the timeline.
View 2 RepliesI am using using Flash Builder to create an AS3 video player which needs to support Closed Captioning. However, I am not using the FLVPlayback component. Is there a way of doing something like addASCuePoint() to flash.media.Video;, or is my only option using Flash' Timer to do my own check?
View 2 RepliesCreating a simple video for embedding by importing a video into flash creates a separate swf for the controls. Is there a way to have the controls embedded in the main SWF, so you don't have to worry about paths to the control swf?
View 1 RepliesI have a HTML5 video with jquery hooking into the player like so: video.currentTime += 1; But when IE comes along and insists on using Flash plugins, none of my JQ will work - How am i supposed to control the video when Flash takes over from HTML5?
The player im falling back to is JQplayer as "player.swf"
I am making buttons to control a video in flash and all is working fine except I would like the fast forward button to continue going forward as you hold it. At the moment I have this code:
[Code]...