Professional :: Can Seekbar Component Control Movieclip Playback
Mar 24, 2010
I've created a site in CS4/AS3 (my first site, so I'm still pretty new at Flash and especially AS3). The site contains a number of embedded movieclips. For each movieclip, the user needs to be able to control the playback. I've created a play/pause button that works but I cannot figure out how to use the seekbar component so that the user can move around within the movieclip. Is the seekbar component only for manipulating video files? If so, how might I go about creating a seekbar-type feature for movieclips?
View 3 Replies
Similar Posts:
Jun 15, 2010
My big question is how to access the instance of the "SeekBarHandle" of the seekbar component which is created at runtime? I have a AS3 project (flashplayer 9) with a FLVPlayback component and custom FLV controls, partially build from standard FLV control components (play/pause component, stop component, seekbar component, volumecontrol component). The FLV control components are added at 'root' level of the project. What I'm trying to do is to switch the visiblity of the custom FLV controls where the seekbar and volumebar are the party poopers because of the on runtime created handle bars.
I read many many threads about people trying to access the instances of the handle bars but for the most of us out there with no luck. I know that the instance of the handle bar is created at the same level as the instance of the seekbar component but I can't trace/access/find the instance of the handle bar. NOTE: I don't want to add the seekbar component to a container mc/sprite because of the changing width of the seekbar. When I do it's disformed because by the scaling of the parent.
[Code]...
View 4 Replies
Sep 14, 2009
Can you tab into CS3 Playback components or control them with keyboard commands in a regular (non screenreader) browser like IE? If not, can you in CS4? I believe that all screen readers can control Flash playback now, correct? But I have a higher up who wants it to be keyboard controlled as well.
View 4 Replies
Apr 8, 2009
Is there a way to control a movieclip playback with a slider button? Just like a video player but scripted to control an internal movieclip playback in the SWF.
View 1 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
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
Jul 19, 2010
I just spent 2 hours scouring the web for the answer. All I'm seeing is a whole lot of "how do you do it" and a lot of "do a google search for it'. I found a tutorial for CS4 that looked promising yet when I tried it in CS5 the damned Preview attribute (or whatever) just sits there looking at me. You're supposed to be able to click on it and choose a frame. I click and double click and nothing happens.
View 3 Replies
Mar 7, 2010
I am importing a video (mp4 format) into Flash and selecting "Load external video with playback component". I am using one of the playback components that goes under the movieWhen I play the movie, everything looks like one, but when I export, the movie is one swf and the component is another swf file.
View 5 Replies
May 6, 2011
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 Replies
Oct 7, 2008
I have a quick question regarding cue points. I am creating a file (flash CS3 using AS2) that includes an FLV video with cue points. The video is an FLVPlayback component (vs. a video object), and the cue points have been embedded in the FLV using the Flash Video Encoder. The video is a simple video capture of a person presenting a slide show. The video does not include the slides that this person is presenting. When the video plays and the cue points are reached, I have set slides (not part of the video, just separate elements on the stage) to appear on the stage, and change as each cue point is reached. The slides display at the appropriate point in the presentation, and this seems to work well.
The issue comes in with the scrubber. I am using the SeekBar component to show progress through the video and to allow the end user to scrub through the video, if they wish. However, when they scrub, the slides do not change. Meaning, if the user moves the scrubber forward or backward, the slide does not change to match the new location of the playhead, so the slides are out of synch with the presenter in the video. Is there a way to "read" the current cue point, based on the location of the playhead, so that the appropriate slides display at the proper scrubbed time in the movie?
View 1 Replies
Jan 13, 2010
how to reference the SeekBarHandle? I'm using the seekBar component to control a FLVPlayback of course and am trying to reference the scrubber or SeekBarHandle.
View 1 Replies
Feb 7, 2011
I have an AS2 swf that loads FLV videos into a FLVPlayback component and attaches a seekBar component. When the video stops I unload the seek bar from the screen and set the FLVPlayback.seekBar = null. When another video is to be played I set up the seek bar again by attaching the seekBar component to the stage and assigning FLVPlayback.seekBar = newSeekBarInstance.
[Code]...
What Im noticing is that sometimes the seek bar is removed from the screen and sometimes it isnt? I cant seem to notice any pattern here. Has anyone had similar problems? Do I need to force garbage collection?
View 1 Replies
Sep 21, 2011
I'm fiddling around with the YouTube ActionScript 3.0 Player API. It's pretty cool and simple but one thing i can't seem to get to work, nor find any info on the web:
I want to use the SeekBar component with the Youtube API. I tried this, which works with the FLVPlayback component:
var seek:MovieClip = new SeekBar();
player.seekBar = seek;
View 2 Replies
Apr 19, 2009
I have the seek bar component on my stage and need to be able to use it to seek through the timeline just like any other video player. However, I am not using this to control a FLV movie, but just need it to control where I can seek through my animation.
View 4 Replies
Aug 17, 2009
For some reason this answer really eludes me, and my googlefu fails... Is it possible to customize a seekbar component so that the handle is a simplebutton (ie up/over/down states), or would I have to write my own seekbar for this functionality?
View 0 Replies
Feb 28, 2011
I've setup an FLVPlayback 2.5 component with no skin. Then I've added all the UI components and assigned them to the FLVPlayback instance. I'm using a PlayPauseButton, a SeekBar, a MuteButton, a VolumeBar and a FullScreenButton. All of the components had their graphics customized. Extra care was taken not to rename or delete any movieclips.
If I try the custom components by publishing the movie, everything works fine.The problem arises when I dynamically load this SWF into another one. The parent SWF loads the playback controls and instantiates everything and starts the video playerback.
What doesn't work is the SeekBar's and VolumeBar's Handle. It just doesn't appear. If I put a trace() in those MovieClips, they never appear on the console, as if they are never created.
View 1 Replies
Nov 29, 2010
I've got some moveieClips in container in a scrollpane component.The movieClips are draggable.I'd like to add extra functionality where if an item is dragged and touches the bottom of the scrollpane, it automatically scrolls up, and the reverse if you touch the top with a dragged object.I tried the scrollDrag, but I only want it to scroll once the dragged item touches the bottom or top.So I wrote this and put it in the drag function:[code]....
It needs a bit of work, and I think I can get it working, but the one thing I'm stumped on is how to make the scrollbar move too.Is there a way to communicate with the component using code (I created this component from the component inspector)?
View 1 Replies
Sep 22, 2011
Is there a way to control the frames of a movieclip that's in the scroll pane component? On my stage I've got four buttons setup. I've got the following actionscript but get an error.
import flash.events.MouseEvent;
scrollPane.source = pm_mc;
scrollPane.setSize(975, 500);
scrollPane.scrollDrag = true;
[Code]...
View 2 Replies
Oct 13, 2010
I have an external swf file loaded in loader component. The external swf loaded in loader component is stopped initially. I want to play it by a button outside the loader component which is located in the main swf movie.
View 1 Replies
Feb 6, 2012
I have a timeline that contains a video track and an audio track. I have created a working play button and pause button, but cannot get a seek bar or volume control to work. I cannot use ActionScript 3.0 because I have the video embedded into the timeline since I have hotspots throughout the video. How can I create a seek bar using behaviors/actions with actionscrip 2.0 to control the video/audio?
View 18 Replies
Jul 2, 2009
I am new to adobe forums and flash platform. I am using flash cs3 / 8 for almost a year now (timeline with some basic actionscript - AS2). What I need for my projects is a playback skin for the produced swf's. I tried captivate, but when I import the skin actions don't work any more (i tried several tactics - synchronize ... ect). Is there any other way to add a player skin with start /stop buttons and active scrubber bar (slider bar). I can easily create custom start/ stop buttons that does the job but I can figure how to make a scrubber bar that will respond to my flash project user interaction (e-learning purposes).
View 2 Replies
Aug 6, 2010
I imported an FLV video and selected a Skin via the Video import wizard. The Under... skin did not display. The Over... skin shows just a sliver of it at the bottom of the published video. There is also a black border about .38" high at the top and bottom of the video. The sliver of the playback control is over the lower border. I've tried resizing the video in the Publish Video dialog, using No Borders and nothing helps. Using Flash CS4 on Win XP. I used the AMEncoder to convert the MPG to FLV.
View 1 Replies
Sep 13, 2004
I'm using a php script to load avi file to my Flash as movieclip.How can I control the avi playback? Say if I have a stop button, how can I stop the avi from playing and while I have a play button and it will resume playing the video from where it stopped?
View 3 Replies
Nov 5, 2008
I have a web page with an SWF file on it which in turn loads and plays an FLV file. The SWF is embedded in a layer (referred to here as the "video layer") which is hidden at load time. Elsewhere on the page is a "view video" button which makes the video layer appear. However, I can't seem to find any way to make that video start playing when the video layer appears. My thought was to use Javascript and an onClick to start the playback but I haven't had any luck. I also have a "CLOSE WINDOW" button on the video layer that will have to stop the video playback and close the layer. I have been able to successfully make the video layer appear and disappear, but I have not been able to make the video play or stop. I will also need to make the video rewind at some point as well. Please note that the video itself plays fine if I set the FLV to Autoplay before publishing the SWF but then it starts immediately upon completion of page loading.
View 1 Replies
Sep 13, 2004
I'm using a php script to load avi file to my Flash as movieclip.
How can I control the avi playback? Say if I have a stop button, how can I stop the avi from playing and while I have a play button and it will resume playing the video from where it stopped?
View 3 Replies
Aug 15, 2011
How to control FLV Playback in flash with Action Script? I want to play Video in my webpage similar to YouTube. I have done it with automatic play but I want it when you press play button, then play and pause, volume, next & back as well.
View 1 Replies
Mar 20, 2012
I was wondering if there was a way to get the sound from a FLVPlayback component and manipulate it with using a custom volume slider? Within my Actionscript I currently have this code which enables me to control the volume of a MP3:
import fl.events.SliderEvent;
var mysong = new music();
var myChannel:SoundChannel = new SoundChannel();
var myTransform = new SoundTransform();
myChannel = mysong.play(0,10);
[Code]...
But Instead of using the MP3 for sound, is there a way to use an FLV's sound instead?
View 1 Replies
Jul 10, 2010
I need to have a swf playback be stopped at launch, but pressing spacebar starts playback. Pressing space bar again before the end is reached will pause playback until it is pressed a second time.When the end is reached, I need to pause on the last frame. Only pressing the spacebar again will cause the the animation to goto the first frame (essentially resetting the animation).I am using the following actionscript, but it takes three spacebar presses to get the animation to replay once the end is reached.[code]
View 1 Replies
Aug 18, 2006
i am loading external swf's inside a movieclip...is it possible to control the playback of the externally loaded swf, i mean i want to play and pause that swf file within the main movie..
View 2 Replies
Jun 8, 2007
Is there a way to control the playback of an externally loaded .swf?
I'm using the MovieClipLoader class to bring an external .swf into my "main nav" .swf, and I would like to allow the user to pause and resume playback of the external .swf.
How might I accomplish this?
here's what I have so far:
Code:
this.createEmptyMovieClip("mcHolder", this.getNextHighestDepth());
var mclLoader:MovieClipLoader = new MovieClipLoader();
var oListener:Object = new Object();
[Code].....
View 14 Replies