ActionScript 3.0 :: Slow And Fast Motion
Nov 24, 2010I need flash player with can play flash video in slow and fast motion. Is it possible to use only ActionScript to build this one?
View 5 RepliesI need flash player with can play flash video in slow and fast motion. Is it possible to use only ActionScript to build this one?
View 5 RepliesI have been searching far and wide for a solution on how to offer slow motion and fast motion options for users that upload video to my webstie. There is an implementation on Google Video that has exactly what I am looking for: the option to speed up or slow down the video and continue to play the audio. The screenshot is below. I know that Flowplayer has an option to slow down or speed up video when implemented with Wowza server. However, when using that approach, there is no sound.
I have also seen the option from Enounce called MySpeed that allows video to be slowed or quickened, but this requires a browser plugin which is too much of a barrier for our users. How does Google do it? How can you add an option to a flash player to slow down or speed up video?Here is a screen shot. You can see the option to change the speed of the video to 1.5x. It also has options to go to 0.5x, 1.25x, 1.5x, 1.75x, 2.0x, 2.5x, and 3.0x.
I googled "as3 audio slow motion fast forward rewind" and found only this of relevance: playing slow motion, fast forward , rewind in a video player in flash video player, which briefly talks about how to fast forward and rewind a video as well as two options for doing slow motion on video. I only need audio, though. I think I might be able to do fast forward and rewind by stopping the SoundChannel and then playing the sound at a different position using addEventListener (Event.ENTER_FRAME, ~), but I'm completely lost on how to apply the advice regarding slow motion. I use Flash CS5.5 and all the sounds I want to operate on are already in the library.
View 1 RepliesThe player chooses the right figure(A) and hits another figure(B) and then a movieclip should start to play.What happens is that if figure A is moved slowly to B the hittest seems to be not noticed - nothing happens.If the movement is normally or fast it works and the movieclip starts to play.
View 9 RepliesHere's the problem: In some browsers, the navigation bar at the top works how I want it to. The "slider" moves over the various buttons rapidly. This is the case for Firefox and Safari on my PC. In others, namely Internet Explorer on my PC, or Firefox on my Mac, the "slider" moves much slower than I would like. Check it out. It might go fast for you, it might go slow.I've programmed before, in other languages, and I have found Flash to be challenging but not impossible. One thing you'll notice right away is that my code is very very messy. I haven't got all the efficient ways down pat just yet.At any rate, here's the entirety of the code involved:
Code: Select all////////////// BEGIN CODE ////////////////////////
stop();
var mcButtons:MovieClip;
var vLmc:URLRequest;[code]............
The sfw goes like lightening in explorar (yes) and in firefox and like a tortoise in chrome. Do I need to download a plugin for chrome or is there a problem with flash and chrome. It's important as I am about to release an important program in schools.
View 3 RepliesI'm trying to create a button that when pressed, will increase the frame rate speed, and when clicked again, will slow it back down. Is this possible and how it can be accomplished?
View 1 RepliesI have a small mask that I need to animate across the stage in response to clicking various buttons. It has to go a different distance each time depending on which button is clicked along the x axis. I can get at the starting and ending x co-ordinates. I need to develop a set of x coordinates so that the mask starts moving fast and slows down as it gets nearer - kind of like the easing effect. I figured using some sort of simple 1/x^2 expression and have spent an hour or so fiddling in excel. Trouble is its a LONG TIME since I did maths, and I can't remember what formula to use. Have tried google with "parabola", "simple curves" etc.
View 2 RepliesI am trying to make a sliding menu whose speed is responsive to _xmouse (slow at the center and fast at the sides...) does it need to exist in two pieces? The problem is that it seems impossible to define 0(zero) as anything but just that...
View 3 RepliesI have a projectile that generated by this code:
//initial code
bullet1.x = bullet1.x + (cur_speed_x / 10);
bullet1.y = bullet1.y - (cur_speed_y / 10);
cur_speed_y = cur_speed_y - g / 50;
[Code] .....
I want the projectile to keep the same path but just move faster without having to increase the frame rate of the movie. Where I should increase the motion in the above formulas to get that to happen?
Am doing a fighting game and i want to make it in slow motion if CTRL key is pressed.. http:[url]...I saw similar effect in another game..
View 6 RepliesWhat I need is a ball to be bouncing. It needs it needs to slow down when it reaches its peak and increase speed as it falls. It needs to bounce forever at the same height. And last ... I need a button to make the ball look like its moving in slow motion (while still bouncing at the same height).
This is the closest I have come to getting it right. if you click the button when the ball is at its peak it works. but if you click any other time the ball will fly up to far (it needs to bounce the same height when in slow motion and in regular motion).
movieclips - "ball", "ground"
button - "btn"
[Code].....
Is there any way I can play a video using flex in slow motion?
View 4 Repliesway to play back an FLV video in slow motion. Ultimately, I would like the FLV player that I am developing to have the ability to both:
1) Play videos in slow motion; and
2) Play videos on a frame-by-frame basis (i.e. a user would click a button to advance the video one frame at a time).
Do you know how I would be able to accomplish both of these?
I'm feeling a bit low now as I have been suffering this for months. A simple loader loads my simple game and runs VERY FAST on even slow pcs BUT when I build this other loader, it goes quite slowly and I don't know where the app is going wrong. WHERE is the processing consumptoin coming from out of my app.
[Code]...
How do I make a onion skin effect in my movie so it looks kind of like slowmotion.
View 2 RepliesIs there any ways to create a slow motion tween within a limited keyframe?
View 1 Repliesi have to create a movie where a text string move in horizontal.
the problem is that in the movie (800px wide) the text should go from right to left in about 7 seconds (so it have to go about 400px to the left in 7 sec).
i created a motion-tween with ease for my "text" and the tween is long (at 30fps) 30*7=210 frames.
the result is that the text DON'T MOVE FLUID... it's not a uniform movement... it's too visible the fact that it moves X pixel each x frames. it's the exact opposite of SMOOTH MOVEMENT.
How can i obtain a smooth slow-motion text movement?
I'm working with flowplayer and accordingly ActionScript. This project has slowmotion plugin, but there are two imperfections: it uses the special stream server and no sound in slow motion. Is there possibility to play flash video and audio in slow motion by just add something in ActionScript?
View 1 RepliesI have a ball bouncing that works great. What I want is a button that will make the ball look like its in slow motion (while still bouncing at the same height) and another button to put it back in regular motion. After hours of experimenting I still couldn't get it perfect. The following code is on the ball movieclip.
Code:
onClipEvent (load) {
var acceleration = 0.005;
var termVelocity = 20;
[Code]......
Tip#1: Some flash movies (mostly those with motion tweens) run slow in Firefox on some computers. To avoid this issue, do not use plug-ins perhaps provided by third-parties or drag and drop HTML programs. Just add the HTML page and flash file in your website's directory.
View 3 RepliesI have a project for mobile where some of my animations scenes look as though they are winding up or playing in slow motion (from the start). They start out slow for about three seconds, as if they are winding up or in slow motion, and then they run at a normal pace. It only happens on specific animations and is consistent on different devices. Also, once I come back to the scene (revisit), the animations run normally from start to finish.
I have had some success in speeding up some animation by doing the following: In some scenes, the following would occurr: 1) a character was walking 2) the character grew in size though tweening 3) the background was animated as well ect. In other words, there were several things happening in the animation. In this example, I made it less complex by keeping the character the same size and making the background static. This helped alot. However, for the aforemation animations, I have tried everything (I am aware of) and nothing has helped. I'm not sure what to do next.
I have an interesting project wherein I need to allow users to capture video of themselves with a webcam at a kiosk, after which I email them a link to their video. The trick is the resulting video needs to be a 'slow motion' version of the captured video. So for example, if someone creates a 2 minute movie, the resulting movie will be 4 minutes.I'd like to build this in Flex / AS3 if possible. I don't have issues capturing the video and storing it / generating and emailing a link, but slowing down the video is the real mind bender. I'm unsure how to approach 'batch post-processing' a set of videos using Adobe tools
View 2 RepliesIt's extremely slow to render any flash motion in CS4. I import to the stage some material and when I try to change and create any motion the processor usage raise up to 50% and the program freezing. It will be completly useless... Is there any solution to this problem?
View 2 RepliesProblem is that my rewind and fast forward buttons do not work properly in the sense that they start to mess up when you fast forward or rewind past the current scene. It seems to just skip through the whole movie and totally mess up the animation.the code for the controls is on a single layer and reads as the following:
stop();
play_btn.onRelease = function (){
play();
[code].....
If I perform a motion tween along a curved path, Flash CS4 does not allow to change the curves to "corner point" or "linear" in the motion editor. URL...
View 2 RepliesI would like to create a polygon that changes its shape (circle, trapezium, square, rectangle, triangle) based on specific buttons that the user clicks? An existing shape has to be able to morph into all the others. For instance, the trapezium has to morph to a square, circle, rectangle or triangle.
If I were to create each transition manually, I would end up with 5x4=20 scenes. Is there a way that I can just assign each shape to its own frame, and deploy actionscript to set in motion the transitions from one frame to the 4 other possible frames? I am very grateful to anyone to just point me in the right direction,
How do I add motion blur to a motion tween?
View 2 Repliesim writing AS3 under linux and as such do not have access to ANY of the fl.* packages, including tweens, motions, special animations and components. I can only use Math.* and XY Grid Coordinates to calculate motion manually.
I can make movement of sprites fairly easily on a coordinate system, but this restricts how the path can go. Usualy only an up,down,left,right movements for the simplest math. I suppose this could be expanded to move in more varied directions but its not quite what im looking for.
I would like to be able to draw an invisible line that a shape can follow. Then it can have curves or bends in it without problem. I want to then start the sprite at the 1st pixel of the line and set its next coorinate based on where the line is at, but at 10px down it (and so on) till it reaches the end of the line. Is it possible because I cant think of a way? Are there any other good PureAs3 motion tutorials around?
I'm getting the following error: Motion tweening will not occur on layers with ungrouped shapes or on layers with more than one group or symbol. I don't have any ungrouped shapes (it's all text), each layer has 5 instances of only one symbol (keyframes), no objects are grouped and text is all static text.
When watching the animation, the first word (web) looks fine, on the second word (design) the tween fails on the last couple of frames of that clip (the blur filter disappears), the third word (and) is OK, and on the forth word (development) the blur filter is not applied to the last 16 frames of that clip.I broke each animation into its own MC thinking that was causing the issue, but that didn't fix anything.