ActionScript 2.0 :: Move Frames In Time With Audio?

Sep 13, 2009

I'm putting together book in Flash. The audio starts with frame 2 but the naritive continues on frame 3 and 4.[code]...

Is it possible to have code to move to the next frame after a certain amount of time instead of a button?

View 14 Replies


Similar Posts:


IDE :: Moving Frames In Time With Audio?

Sep 12, 2009

I'm putting together book in Flash. The audio starts with frame 2 but the naritive continues on frame 3 and 4. I can code a "next" button like so:

Code:
on (release) {
gotoAndStop(3);

[code].....

View 1 Replies

ActionScript 3.0 :: Playing Audio And Moving Frames In Time?

Sep 14, 2009

What I'm looking to happen is that on frame 2 I want audio track 1 to play and:

after 1 min 45s move to frame 3
after 1 min 51s move to frame 4
after 2 min 47s move to frame 5
after 3 min 15s move to frame 6

How would I code this or what would be the easiest way to do it??

View 6 Replies

ActionScript 2.0 :: Move Frames Within A Movie Clip With Buttons On Other Frames?

Nov 24, 2011

basically im making a quiz on my main timeline ive got my questions and answers and on the last frame i want it to say how many answers the user got right. ive made a movie clip on this last frame. in the movie clip ive got 11 frames with the posible totals so frame one would be 0/10 frame 2 would be 1/10 etc what i want to do is when the user clicks the correct answer on the other frames i want flash to make the frames within the movie clip to go 1 step forward.

View 2 Replies

IDE :: Auto-Insert Frames For Audio?

Apr 10, 2009

I'm looking for a way to automatically insert enough frames to span the length of embedded audio. Currently, when you add audio to the timeline in a frame, it doesn't expand the frames.

View 3 Replies

Flash :: Edit FLV And Mute Audio On Given Frames?

Dec 8, 2010

I've been given a avi file that I've turned into an flv and now need to create two versions of that flv, one with all the audio and one with a small section of the audio removed (its narrated and we need to remove the mentioning of a specific item).

I know I can import an flv into the flash timeline but am not sure how to kill the sound for a given portion of frames,

Was considering redoing the flv as two separate flv's, one with video and one with audio and then putting them into the timeline and cutting the audio up, but I would love a cleaner way, preferably with ActionScript

View 1 Replies

ActionScript 3.0 :: Activating Different Audio Files Over Different Frames?

Oct 6, 2009

Recently I bought CS4 as I decided that I wanted to design and create a new website for hosting my music productions, I have used dreamweaver in the past so I am quite familiar with XML etc but I wanted to make something with a little more to it. After talking to quite a few people and reading into it all I found that this would be my best option. After thinking that it was all going to be quite nicely straight forward Im banging my head against a wall in trying to learn and understand Actionscript.

I have currently designed all of the pages, I have used a few tutorials on actionscript 3.0 and have the whole website is functioning, my pages, frames, labels and buttons are all functioning how they should on the timeline and there is around 14 pages..

The problem i've had for around 4 days now is getting all of my audio previewssnippets to work, i have around 20 of these and I need them to be spaced out on about 6 pages (frames) ; Each frame is a different release etc

In each frame, I have 8 buttons 4X play buttons next to each track and 4xStop next to that... play_btn, play_btn2, stop_btn2 and so on..

I've set it so that all I want to do is be able copy the code into the other frames and also the buttons (which are on a different layer) and then all I have to do is enter the filenames in the code below (Track1.mp3, Track2.mp3 etc)

So... it all works fine on my first frame of my release page.. The audio plays and stops for each track, no problems at all.

Now,, the problem happens when i copy the actionscript from my first release page(frame) to the next.. its about 25 duplicate functions, duplicate variables etc

Is there some kind of way I can put all of this into some kind of Class or Tag.. And this code only operates inside this frame and not in the next to cause the duplicate errors? I realise that I could Label every single variable, function and button differently covering all of the frames so that it dosn't cause the duplications to occur but, I am hoping there is some other way around this..

import flash.media.SoundMixer;
//PLAY TRACK 1
var soundReq:URLRequest = new URLRequest("track1.mp3");
var sound:Sound = new Sound();

[Code]....

View 2 Replies

Professional :: Scrubbing Animation Frames - Coordination With Audio?

Nov 25, 2010

If I have a 2 minute audio, and I want to scrub the animation frames around the 1 minute point, to see how they coordinate with the audio, is that possible?

View 3 Replies

Actionscript 2.0 :: NS Video And Audio Out Of Sync When Called From Frames 3-11?

Dec 18, 2009

I am calling some streaming video on frames 1-11 to play for a multiple choice game. My video and audio are out of sync at times on frames 3-11? [code]...

View 1 Replies

Professional :: Modify Frames In A Voiceover (audio/sound) Timeline?

Feb 11, 2011

I'm trying to modify many .fla files (in CS3) that have a voiceover layer on them. Because I'm adding or deleting other items on the stage, I need to adjust the audio fo synch with the modified flash file. I have tried deleting frames and this happens - I select the unwanted frames, such as frames 200 to 300 of a 500 frame file. Then, the audio from frames 300 to 500 (at the end of the file) gets deleted instead.

I need to create gaps (like 200 frames of no sound) in the audio (.wav) file so I tried adding blank frames. When I click on "insert frames" in the middle of the timeline, Flash adds the new frames to the end of the sound timeline.

I also tried adding a keyframe at the beginnig of the range and Flash deleted all the frames after the keyframe.

It looks like any modification to the sound/audio layer only affects the end of the timeline. How do I modify sound parts in the middle of the timeline? I know this can be done but how?
 
Details: The audio layer (.wav) runs the whole length of the Flash file. The .wav file is a sound file in the Library;  22kHz Mono 16-bit 27.4s 12.1kb. The files were created in CS3. These files work fine.

View 1 Replies

Actionscript 3 :: Syncing Frames To Audio And Channel.position Acuracy?

May 30, 2009

Calling channel.position on an ENTER_FRAME event, I notice that it's not being updated every frame, but it looks more like every frame and a half.

var sound:Sound = new Sound(new URLRequest('music.mp3'));
var channel:SoundChannel = sound.play(); // assume the sound is completely,
// totally, 100% loaded

[code]....

View 1 Replies

Professional :: Flash Play The Audio For The Subset Of Frames Being Tested/scrubbed?

Jul 28, 2010

if I want to play/test only 30 frames of 100, is it possible to hear the audio that just pertains to those 30 frames?  Or is this only possible, IF the audio segment STARTS WITHIN those 30 frames?

View 2 Replies

Buttons: Clicking Mouse Outside To Move Between Frames

Jul 6, 2009

I am working on a menu that uses a number of these buttons: [URL]

The button works quite well, except that I would like the sub-menu to close up once the mouse clicks elsewhere on the screen. I have tried to find the Action Script for this but have been unsuccessful. What script can I use to cause the menu to close up when a user clicks outside of the button?

I've posted the fla file below.

[URL]

View 1 Replies

Move X Number Of Frames Instantly During Play?

Jun 30, 2010

[code]...

obviously it doesn't work because it's not the correct syntax but i wrote it for you to understand ..

how can i make something that add's a x number of frames to the actual timeline?

View 3 Replies

ActionScript 2.0 :: Creating MC With Flag And Move It Over Frames

Sep 29, 2011

I am trying to make an API in which there are 3 screens:
1. User drags items to a blank square(area) and makes a flag in the area with the items-i will call it "the flag" from now on
2. User dresses a puppet-i will call it "the puppet" from now on
3. User can print puppet+the flag(and he can arrange it-over/under the puppet, resize, rotate etc.)

I think all I have to do is create an MC with the flag and then move it over frames, or insert the flag (blank square+components used) to an MC in advance, and by code remove unused items and then "pop" it in the other frame (but then i need it to be the edited one, not the original). I attached the frame. The square is the area and the blue squares are the draggable items. I want to preserve that edit (post drag locations).

View 0 Replies

ActionScript 2.0 :: Using Mouse Wheel To Move Between Frames?

Jun 22, 2008

I wish to know if is possible to use the mouse wheel to move frames back and forward. And how the script will be like.

View 3 Replies

Cs4 :: Move Point / Add Single Frames On A Motion Twean In It?

Sep 26, 2009

I just want to add/delete a single frame (not a second worth of frames) inside a motion tween.

View 2 Replies

ActionScript 1/2 :: Script To Move Playhead Randomly To Frames?

Apr 4, 2010

Is it possible to have a script that sends the playhead to specific frames randomly, wait for say 8 seconds then move on?For example, frames 1-20 will have an image on each frame. I want the playhead to land on those frames in a different order and keep looping.

View 11 Replies

Professional :: Move Multiple Frames In Motion Editor?

Apr 22, 2010

Is there a way to move multiple frames in the motion editor (CS4)? Like now I have to move them one by one and it's hard to make them keep their values coz the shift+move doesn't seem to work.

View 3 Replies

ActionScript 1/2 :: Play XX Amount Of Frames ONLY Within A Move Clip?

Apr 19, 2011

EXAMPLE: I have a movie clip on the stage with 100 frames inside of it. If a hitTest == true, I want it to play a certain amount of frames depening on what the item is. I tried the following code:

[Code]...

I get the trace to show YES. I can't get the MC to play 5 frames and 5 frames only!

View 3 Replies

ActionScript 3.0 :: Disable IE Function Keys To Move Between Frames

Apr 20, 2011

While a user is in a frame, I have the user press F1 to gotoAndPlay another frame, press F3 to gotoAndPlay another frame, etc. But when the user presses the F1 or F3 function key, they get the IE browser search screen or IE keyboard shortcut. How do I use AS3 to have the action taken when the user presses F1 perform the function within my flash file and not the IE process for the function key?

View 0 Replies

ActionScript 2.0 :: NextFrame Equivalent To Move From One Frame To Two Frames On?

Aug 25, 2009

its my way of going around scripting lol. the reason i would like to know is coz the same movie clip will be used several times, but once a button inside this movie clip is clicked, i would like the playhead (on the root timeline) to move two frames forward.

Also, if im correct (if not, please tell me) nextFrame() goes to the next frame and stops? it deosn't play on? is there an equivalent that moves to the next frame and plays on?

View 2 Replies

Selecting Entire 'line' Of Frames In Order To Move It Manually?

Aug 24, 2009

Still getting used to the subtle changes in FL CS4...how can I select all the keyframes within one or two lines in order to move (drag) them further down the timeline? In previous versions, you simply click on the first frame, then hold down shift and click on the last frame, and it would grab everything in between. Seems like in CS4, the new tween "hi-lighted" frames do not want to be included, so I am unable to move the entire line, as a group.

View 2 Replies

ActionScript 3.0 :: Play 2 Audio In Same Time?

Jun 26, 2009

I want to play 2 audio in same time is it possible.....

View 3 Replies

ActionScript 3.0 :: Audio On The Time Line?

Feb 9, 2009

What I mean is, can I add a sound that will only play if there are enough frames for the sound?I want to only play on the frames that it is on, but it plays all the way through the sound file regardless of the amount of frames.

View 0 Replies

ActionScript 2.0 :: Control Frames At Run Time?

Mar 4, 2006

I want to know that how to control frames at run time, I mean how we know that currently I am at which frame (running stage). Can we fetch the value of Frame at runtime?

View 3 Replies

ActionScript 2.0 :: Set A Time To Play A Certain Frames?

May 8, 2003

i have a about 20 frame animation but what I want to do is to find out is there a way to set a time to play a certain frames i.e when movie starts it plays only 10 frames and then stops for a minute then after 1 minute it continues from frame 10 to frame 20 and then again stops for one minute and it starts over again

View 1 Replies

ActionScript 3.0 :: Move A Nested Movie Clip To Next And Previous Frames With The Mouse Wheel

Mar 6, 2011

I was browsing through the AS3 help in CS3 and came across good ole Delta. I've been playing around with it and it zooms things just fine but I had an idea for a birthday card for my niece and now would like a way to have the mouse wheel do something perhaps outside of what Delta will permit. I want to move a nested movie clip to next and previous frames with the mouse wheel and until using it with delta for zooming only used it for scrolling. I got it to work but not how I'd like. Using this code I got it to go to next frame which is 1/3rd the battle:

[Code]...

View 9 Replies

IDE :: Total Running Time In Audio Skin

Aug 10, 2009

I'm using an mp3player skin, but the running time won't work (bottom of code)--it stays at "0:00" when you hit play. Everything else is working fine.[code]

View 1 Replies

ActionScript 2.0 :: Change 2 Frames In Frameset At The Same Time?

Apr 7, 2009

I know it's possible in flash to change one frame of an html frameset with the click of a (flash)button, for example:

Code:
on (release) {
getURL("page.htm", "framename");

[code].....

View 4 Replies







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