ActionScript 2.0 :: Make Audio & Video Rewind & Play Together

Mar 10, 2008

I am fairly new to Actionscripting and brand new to this forum. I hate to start out desperate but I am. Let me set the stage: I created a 7 scene swf in CS3 Actionscript 2.0 and have integrated (under excruciating trials) a voiceover tract (mp3) that is perfectly timed. Now, I have been asked to put in controls so that viewers/listeners can STOP / REWIND / PLAY the swf. After numerous trys I finally got the following script to play the audio with the video:

[Code]....

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Rollover Play Video Then Rewind Literally?

May 22, 2011

I have been asked to use a lady who stays still but then when you rollover a button her arms moves to that button, I have looked everywhere for some answers but just can't find a single example of one.

Sounds so simple, but I have been trying to sort this for ages and just can't make it work properly

View 3 Replies

Variable Video / Audio Play Speed?

Dec 11, 2010

Is there a way to change the speed of audio/video playing in VideoPlayer or any other such control?Let's say to play voice recordings of slow speaking persons faster to save time.Some mp3 players (e.g. COWON S9) can keep the pitch to avoid funny voice.

View 1 Replies

Play Audio/video Files In Flex?

Oct 18, 2010

I'm using flex 3. I've successfully played video and audio files by using following libraries:

flash.media.Video flash.media.Sound Live docs link. But the limitations are as follow: Video class can be used to play only flv file format. To play mp3 files I must use audio file.

So can I play most of the famous audio/video files by using single method?

Well by checking the file type we can some how achieve it. Then I should create a component for that.

So can any one suggest me such ready-made components? or is there any other alternatives to play audio/video files?

View 1 Replies

ActionScript 2.0 :: Loop Video But Play Audio Once Only?

Apr 13, 2012

I need to create a flash video for a website of a product rotating through 360 degrees - looping seamlessly. This will be 100 frames long. I then need to add a 500 frame voice over.

I need to optimize file sizes so what is the best way to tackle this?

Is there a way to loop the video with actionscript but not the audio? i.e. rather than extend and repeat the video phyiscally in the timeline inlind with the audio length - as I assume this will increase the file size?

View 2 Replies

Flash :: Rewind/Forward SWF With Background Audio?

Jan 25, 2012

I have a Flash animation (AS2) that contains a background audio file. I've been asked to add controls to it. So far, I have added buttons to pause/play the animation and stop and start both the root timeline and the attached mp3 audio. I also need to add a reverse button. I've seen tutorials that are enable reversing of the timeline's playhead. Is there a way to have the audio file reverse as well?

View 1 Replies

Professional :: Pause Video And The Audio Continues ... If Play Again It Causes A Major Headache

Apr 4, 2012

I am making my second video, so I'm not too knowledgeable. Anyway, I imported audio into my video and it plays back fine. So I play the video, and pause it to try and synchronize the audio. The video stops, but the audio keeps playing, and it will not stop until the whole thing has played. If I try to start from the beginning again and play the audio to sort of override it, it just overlaps with the original audio, and the resulting noise gives me a headache. I don't know if somehow I can stop the audio a
portion of the way through

View 5 Replies

Force Flash Player To Play Audio Stream Of A Video File?

Apr 20, 2011

I'm trying to force the Flash player to play video files without showing screens. I did try to set vidDisplay.visible to false. But it seemed not working at all.I was doing was try to build a generic media player. Whatever the source is(audio or video), the control panel always the same, namely, a mp3 player panel is always displayed:However, when I stream in a video file, it would end up overriding mp3 panel with a partial video screen. I don't have enough reputation to upload images...

View 1 Replies

ActionScript 3 :: Playing Slow Motion / Fast Forward And Rewind On Audio

Mar 16, 2012

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 Replies

Flash :: Actionscript - Remove The Audio - Put The Audio Into A Byte Array And Then Re-add The Audio To The Flv Video?

Aug 6, 2010

If I import an FLV video is there any way to remove the audio, put the audio into a byte array, and then re-add the audio to the flv video?

View 1 Replies

Professional :: Link Audio To Button To Make It Play And Stop On Click?

Mar 2, 2010

I am trying to connect audio to the button so when I click on the button music it starts playing and when clicked again music stops.

View 5 Replies

ActionScript 1/2 :: Make Audio Play And Pause / Stop When Different Buttons Pressed?

Jun 12, 2010

I am making a simple radio interface and i have 6 preset buttons which i want to have play the specific preset button's song which is in the library and stop/pause the current song when any preset button is pressed.

i tried using the attachSound function, with associated identifiers but not sure if that is the right way to go. It plays the songs, but doesnt stop them.[code]...

View 12 Replies

ActionScript 3.0 :: Make A Pause/Play Function For Multiple Audio Tracks?

Aug 13, 2009

I have a Flash file that has two music tracks. The player I built works well so far except for this, I am trying to make a Pause/Play button the works on either track. Right now it only works on one. With my limited knowledge of AS3 I tried different solutions but none worked.

Here is the SWF file; [URL]

You will see that the Pause/Play button only works on �Kiss My Dogg� which is track 1.

Here is the FLA file; [URL]

Below is some of the Script I wrote. The pause/play is the part I can�t figure out.

//function to load different tracks
function loadMusic(evt:MouseEvent):void{
//stop whatever is playing
SoundMixer.stopAll();

[Code].....

View 2 Replies

Flex :: Fms - Make A Single Connection To Handle Video, Audio And Chat?

Apr 12, 2011

I'm developing an application and i want to make one single connection for video(netstream) and chat(sharedObject).I have one connection for each but i have limited connection available in the server so i need to make a single connection to handle the video net stream and chat sharedObject.I use this urls to connect:

private var serverWebcamURL:String = "rtmp://myserverIP/live";
private var serverChatURL:String = "rtmp://myserverIP/multicast/chat";

View 2 Replies

ActionScript 3.0 :: Rewind And Play Mc?

Sep 3, 2009

I have a very simple animation in a movieclip (witch is placed on the stage) has about 300 frames.i also have for and back buttons on the stage. now i need to setup functions for the back button. to play my mc backwards and if its on the first frame it should got to .totalFrames and play backwards. i think i can use .play() for the for button.

View 7 Replies

Flash :: RTMP Streaming Server Implementation: Connect/createStream/play Message Sequence Passed, But No Video/audio In Flashplayer

Oct 8, 2010

Writing RTMP Streaming Server for streaming AVC+AAC video. And it works fine with rtmpdump. But I can't force it to work in flowplayer and other flash video players.The message sequence after handshake is similar to FMS / RED5 / erlyvideo / haxevideo servers: I've tried a lot of variations.

From Chrome debug console I can see, what all negotiating messages passed to the flowplayer. The last one is onMetaData. And after this the working sample (rtmp://flash.tvwmedia.net/LiveVideo//Live300) gets NetStream.Buffer.Full. And streaming from my server don't get it.

I'm starting with AVC Header message, containing sps/pps. After it first AVC picture passed. After - AAC header and AAC sample. And then AVC/AAC samples. This dumped OK by rtmpdump - I have working flv on exit. But flowplayer and others does not work.

[Code]...

View 2 Replies

CS3 - Play/Rewind Mc With Mouse Move Top/bottom AS2

Nov 2, 2010

i want to make a movieclip play when i move the mouse up and rewind when i move to the down, and when i don't move to continue playing or rewinding.
I have a code but it works only when i move the mouse up after half of the scene.

Actionscript Code:
this.onEnterFrame = function(){ if (action == "roll") { this.gotoAndStop (_currentframe + 1); }else if (action == "sstop") { this.gotoAndStop (_currentframe); }else if (action == "rew") { this.gotoAndStop(_currentframe - 1);

[Code].....

I want to follow somehow the mouse, when i move mouse up even a bit to change direction, now it changes direction only when i go after the half of scene, as in here [URL]

View 2 Replies

ActionScript 2.0 :: FLV Play And Rewind Buttons Not Working

Jul 28, 2010

My buttons are not working and I dont get it why. They should control an actionscript contolled FLV. There is an invisible button, which controls the pop up flv contorler bar. This bar mc contains the FLV video player controller buttons (play,rewind). Somehow this buttons are not working inside the bar.

Here is the code:
nc.connect (null);
var ns: NetStream = new NetStream(nc);
myVideo.attachVideo(ns);
ns.play("No More Oil Platforms.flv");
this.ControllerAnime_mc.Bar_mc.Play_mc.onPress = function() {
[Code] .....

View 2 Replies

ActionScript 2.0 :: Rewind / Play Frames Backwards?

Oct 10, 2003

i have 4 main sections of my site and i would like it if the user is deep into section 2 and wants to click a button to go to section 3, section 2 actually reverses every tween/action it has ( breaking down ) then goes to section 3. i would prefer this rather than an abrupt shutdown section 2 and section 3 starts.

[URL]

View 8 Replies

ActionScript 1/2 :: Forward And Rewind With Video?

Apr 29, 2009

I am building a video player and would like to have a forward and rewind button. I was looking at tutorials and it seems like none of them have this. Is there a reason for this?

View 5 Replies

ActionScript 2.0 :: Play And Rewind Movie Clip Button?

Oct 2, 2009

I made a vertical list of thumbnails and converted them into a movie clip. There is a total of 20 thumbnails. I masked the movie clips so that it only shows 5 thumbnails at a time. I created keyframes at every point in the clip that 5 thumbnails are shown so that I can pause it.I was trying to use this code to scroll down from the first set of 5 to the second:

on (release) {
design_thumbnails.gotoAndPlay (20)
}

When I click the button nothing happens I'd also like to know how to rewind the movie so that when I press the up arrow it goes up to the previous set of 5.

Here's what it looks like:I made a vertical list of thumbnails and converted them into a movie clip. There is a total of 20 thumbnails. I masked the movie clips so that it only shows 5 thumbnails at a time. I created keyframes at every point in the clip that 5 thumbnails are shown so that I can pause it.I was trying to use this code to scroll down from the first set of 5 to the second:

on (release) {
design_thumbnails.gotoAndPlay (20)
}

When I click the button nothing happens I'd also like to know how to rewind the movie so that when I press the up arrow it goes up to the previous set of 5.

View 3 Replies

ActionScript 2.0 :: Rewind Or Reverse Back To The Original And Play Over + Over Again?

Dec 20, 2007

Code:
onClipEvent(load) {
this.rotateTo(2,2,"easeinoutbounce",20);
}

i want to rewind or reverse back to the original and play over + over again....?

View 2 Replies

ActionScript 3.0 :: Creating A Video Rewind Button?

Jul 14, 2009

I'm using the FLVPlayback component and I need a rewind button. I don't want it to go back to the beginning of the video, only go back a couple of seconds everytime the button is pressed.

View 16 Replies

ActionScript 3.0 :: Video Player - How To Get Rewind Or Start Again Button

Jul 21, 2011

I am creating a video player with my own buttons, play stop are easy, but I can't for the life of me get it to rewind or start again (not loop). It may be worth noting that the flash video is store within a movie clip! The flv instance is flv_close and the movie instance is mv_close.

View 4 Replies

Professional :: Remove Any Ability For Visitor To Rewind Video

Feb 9, 2011

I need to remove any ability for the visitor to rewind the video, I need a button that will only come up at the end of the video that will be a link to another page.Is this something I would build from scratch?  Does anyone know of a way I can satisfy these requirements with an existing player?

View 3 Replies

ActionScript 1/2 :: Audio To Not Play When Moved To New Position For Audio Player

Aug 25, 2009

I have an audio player that has a custom timeline and playhead. I am using a start and stop drag to move in the time line but the only way i can make it work is to have it play when ever I release the play head. I would like it to stay stopped if the player is paused and play if the player was playing.
 
[Code]...

View 5 Replies

Flash :: Audio Player That Can Play Binary Audio Streams?

Apr 13, 2011

My server is streaming binary audio data (mostly mp3 files) to a client (a browser). This client stores the audio data in memory.

What I'm looking for is a flash audio player that I can input the binary audio data so that it can play the audio file.

Preferably, the flash client is merely a bridge to Javascript so that I can handle everything in Javascript and simply use Flash's audio features, but this is not a requirement.

View 1 Replies

ActionScript 1/2 :: Functions - Rewind / Play An Animation Depending On The Rollover State

Jan 16, 2011

below is some code i am using to rewind / play an animaion depending on the rollover state. only ting is i would like to have it so that i could do something like:

playFrames(homeBtn)...

this way i can use the same function over and over but i am not sure how to write this. i think its someting like function playFrames(obj); and then you do something with this...

[Code]...

View 3 Replies

Flex SWF Accepting Play Or Rewind Command From The Flash Player (Projector)

May 22, 2011

I'm trying to make my Flex SWF act like a Flash movie SWF so that when the user issues the Play command in the FLash Player it can trigger an event in my Flex SWF file. I'm not sure what event this would hook into or if this is possible with Flex.

View 1 Replies

ActionScript 3.0 :: Control PrevFrame On The Timeline With A Play / Rewind Type Motion

May 27, 2011

I am having a fair amount of trouble trying to control prevFrame on the timeline, with a play/rewind type motion. Basically, what I want to do is navigate between 3 keyframes on the timeline with 'next' and 'prev' buttons controlling it. I have no problem navigating forward, but when the previous button is pressed on the last keyframe, it just rewinds to the first keyframe. I have stop(); commands on each keyframe, but it seems to skip over the second keyframe when rewinding. The buttons are present throughout the length of the timeline. Here are my actions for the first frame;

[Code]...

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved