ActionScript 2.0 :: Sound Overlap And Plays On All Frames?

Nov 29, 2010

the sound is place inside a movieclip timeline on the first frame. its about 600 frames long the sound. the main timeline were the movieclip is situated is only 1 frame long. The main timeline is 50 frames long.I thought if the movieclip was not on the frame the sound wouldnt play.

i have an issue with the sound in the game.ive place a soundtrack on the first frame. its a long sound track. over 600 frames long. I place the sound inside a movieclip due to a large size. My issue i have is it sound plays even on the frames the movieclip is not situated on.when i return to the frame. the sound starts to overlap and play twice which is a bit of a mess and a racket.

View 4 Replies


Similar Posts:


IDE :: Create A Preloader That Plays A Certain Amount Of Frames As It Loads The Rest Of The Frames

Nov 16, 2009

I want to create a preloader that plays a certain amount of frames as it loads the rest of the frames. So, I have labels on the frames basically and need a preloader to play the "loading" frames as it is loading the "content" frames. Does that make sense? I have no idea how to even start this one... p.s. I am using AS 2.0, but if it can be done in 3.0 easier, I can switch over its no biggie

View 4 Replies

ActionScript 2.0 :: Sound Overlap And Mov Does Not Work?

Feb 26, 2009

Im using Flash CS3 with Action Script 2. I create a Flash file with few scenes in it. im using movie clip button in every scenes plus i embed .mov file in some of the scenes. I also have sound in every single scenes.

i create btnHDPage1 with instance name hd1 to be linked to scene1 and i create btn2 with instance name hd2 to be linked to scene2. (all these buttons are movie clip buttons). i have a sound and both scenes and a .mov file in scene1

The problem is, when i click on hd1 or hd2, yes it goes to appropriate scene. but the sound is overlapping and when im in scene2 and click on hd1 to go to scene1, my sound does not play and my .mov does not working.

[Code]...

View 4 Replies

ActionScript 2.0 :: Sound Overlap In Music On/off Button?

Nov 4, 2009

I'm having is everytime I click on the home button it goes back to the first frame and replays the music, it overlaps which is very annoying and the buttons are made unclickable. Here is a link to my site [URL]

The AS2 code i used was

bgSound = new Sound(this);
bgSound.attachSound("sound 2");
bgSound.start(0, 99);

[Code].....

View 3 Replies

Actionscript 3 :: SoundTransform Is Muting The Sound But Sound Still Plays

Apr 6, 2010

I am using the following code, in the last line when I play the sound I can still hear it even when I have transformed it to 0.

[Code]...

View 1 Replies

ActionScript 3.0 :: Sound Autoplay Overlap When Navigate Back To Main Page

Feb 20, 2010

I have this script (below) and I'm using the next/prev button script to navigate back and forth. When I navigate back to the first page which has the actionscript code to load the music, it begins to load the song again and they overlap. How do I stop loading when song is already on?

var audio:Sound = new Sound();
var req:URLRequest = new URLRequest("MenuBackground.mp3");
audio.load(req);
var channel:SoundChannel = audio.play(0,1000);
var xForm:SoundTransform = new SoundTransform();
musicOn_btn.addEventListener(MouseEvent.CLICK, playSound);
[Code] .....

View 1 Replies

ActionScript 3.0 :: External SWF Only Plays First Few Frames Then Loops?

Mar 21, 2012

Have read everything I can read  Have tried everything I that has been posted. And still I can seem to get a simple external swf to load and play using AS3. I have tried numerous ways with the same results everytime  Here are a few of the scripts I have tried. What I would like to have happen is to have one main timeline where I load sequentially external SWF files - there is no interaction required - it is a presentation that includes video and other Flash SWF files that I have created. Now I just want them all in one flash file.  I had no problems with AS2 doing this, but I'm sure having fits with AS3

var myLoader:Loader = new Loader(); 
var url:URLRequest = new URLRequest
("script1_3.swf");
 
[code].....

View 14 Replies

ActionScript 2.0 :: F8 Create A Button That Plays Random Frames / Not Repeat Frame

Aug 6, 2009

I'm trying to create a button that plays random frames, and not repeat the frame. Like, if Frame 3 was shown, it won't be shown again. I'm kinda new to Action Scripting.

View 1 Replies

ActionScript 2.0 :: Make A Sliding Gallery That Plays A Certain Amount Of Frames And Stops

Sep 9, 2009

I want to make a sliding gallery that plays a certain amount of frames and stops. I have this script

[Code]....

Instead of play() i have tried putting a counter in like counter 8 but it does not work.
The idea is that if i click the contact button but im on the home page its scrolls over all
other pages and stops on the home page.

View 1 Replies

Button Plays Sound Twice

Nov 28, 2009

In my flash game, every time you click a button, it plays a short sound. Almost all of the buttons work - Except for a few random handful. Those couple play the sound twice. I don't know why either - I double checked everything.None of the frames have sound. The buttons that play twice are only set to play once. I didn't do anything different between the ones that worked and the ones that don't work.

View 2 Replies

Professional :: Site Sound When .FLV Plays

Apr 18, 2011

I have a Flash 8 site that plays a music clip throughout the site.  I have a flv video on one of my site's pages and would like to know if there is a way to stop the site's music when the user clicks on the "Play" button of the video and to have the site music start again when the video either ends or the user clicks on stop.

View 1 Replies

ActionScript 3.0 :: Sound Still Plays When Unloading Swf?

Oct 26, 2009

We have 4 buttons, each calls a different swf. Cannot get one swf to unload audio when another is called.Have tried many scripts but none work. Still hear audio of previous swf on top of newly-loaded swf. This was never a problem in AS2 but too late to go back to AS2, must resolve in AS3.I read that this is a bug but everything I have tried does not work. Have been using UILoader to get position accurate x=150, y=40.

For loading have tried List, UILoader, addChild, etc. Don't know which is best to use so it can be unloaded.

View 4 Replies

ActionScript 2.0 :: Sound Only Plays On Timeline

Nov 20, 2009

sound it only works when placed on timeline. Im pasting the as where im using so that anyone can maybe see a solution. One thing to note, my swf is being loaded by another swf, ok...?

[Code]...

View 1 Replies

30 Buttons With Sound But Only Plays The Pressed Ones In Sequence?

Jun 12, 2010

I�v build a simple flash projector to offer to my local fire department Essentially they used to in internal audio alarms to warn firefighters when there is an accident, fire, aggression, etcIn the version 1.0 they click several buttons, one to play the alarm sound, otherto announce the vehicle or vehicles that goes out, and a last one that says what is occurring.

The problem they report is that the sounds play immediately when you click in each of the buttons, and even the sound overlaps the other, which makes they click on each button and have to wait for the sound to finish and then click next. All this is normal because I associated the sounds to the buttons. What do I need to do the flash in this order in the version 2 of my projector:

1 The Fireman choose the type of alarm you want to play and click the button corresponding (but do not want the sound to play now) let's imagine that he pressed the button "alarm 1"

2 The Fireman choose (s) vehicles which are going out to the occurrence (but do not want the sound to play now) let's imagine that pressed the button "ABSC01"

3 The Fireman choose the type of occurrence (but do not want the sound to play now) we will imagine that pressed the button "fire"

4 finally the fireman holding down the "PLAY" (the green on on the top of the image) and this Makes the sounds selected to start playing in sequence, liker "Alarm 1" then "ABSC01 "and then" Fire "

Logically speaking I believe that each button must declare a variable associated with every unique sound, and then pressing the button takes the variables and plays them in sequence and without overlapping sounds.

View 1 Replies

Flash8 :: Plays A Sound In The Library On Loop?

Aug 21, 2011

i was looking into if there is anyway to work with sounds using actionscript?Basically im looking for something that

* Plays a sound in the library on loop

* stops that sound

* mute that sound (so it's still playing but cant be heard)

* unmutes that sound

the idea is so i can spread out this in scripts instead of in the frames.

View 1 Replies

Actionscript 3 :: Sound Plays Multiple Times At Once?

Apr 10, 2012

I'm having trouble with sound in Flash. I may have went about coding the wrong way, because most of my codes are on frames.

So, I have these two variables

var outsideDay:Sound = new daysong();
var outsideNight:Sound = new nightsong();

And I want to play these songs on a specific frame. However, the sounds play sporadically, like 50 times at once. I think it's because I have other codes that link to the frames with a Enter_Frame function. How can I get the sounds to loop and not play multiple times at once?

View 1 Replies

Flash :: Plays Unwanted Sound On DOWN Event?

Feb 27, 2011

I'm newbie in flash. I have created a button - it looks perfect. I got seperate keyframes for UP, OVER, DOWN and HIT events. The OVER (and only it) has assigned the sound. The problem is flash plays sound (assigned to OVER) for DOWN event (no sound assigned). I have no idea what is wrong, tried everything with this. I am unable to find soultion,

View 2 Replies

Php :: Test If A Flash Animation Plays Sound With PHP?

Oct 25, 2011

I'm developing a web app with PHP and I need to test if a page of a website has background music. As many of you already know, this is the list of the tag (I miss someone?) where the background sound can be inserted in a webpage:[code]While checking if there's background audio because of the presence of the tag bgsound or audio is easy to do, testing if a flash animation has the sound is not so easy (at least for me).I know that I can check if a tag embed has in the src attribute something like sound.mp3 but how can I test if the sound is totally embedded in the flash animation?I searched a lot to find an answer but unfortunately I've not found one.

View 1 Replies

ActionScript 2.0 :: Sound Plays Several Times During Hittest Instead Of Once

May 9, 2010

I posted a previous thread on this but i have found the problem but cant fix it!!

i have balls that can be thrown around the screen and when they touch i want them to play a specific sound to those balls.[code]...

View 0 Replies

ActionScript 3.0 :: Sound Plays When I Click Button

Aug 4, 2010

I have a movie clip with a sound at the beginning of my project, and when I click a button in another scene it starts playing the voiceover from that clip. I don't have the button linked to that clip.

View 2 Replies

Flv - Flowplayer Flash Component Plays Sound But Not Video?

Jan 17, 2010

The flow player will play the audio of a *.flv, but doesn't play the video and I've no idea why. The initial example page using the default flowplayer flv url works fine. When I change the url to my godaddy site, it doesn't work. I'm using Movavi Video Suite 8 to perform the conversion to flash from mp4. I think the metadata is included in the flash file when it converts, but I'm not certain. I used the meta data injector found here: [URL] to inject meta data into the flash files and it still did not work.

Also of note is that the player's progress bar shows the start, current, & end time values of the video, so I think the metadata is there. I've still no clue why this isn't working, though.

I wonder if it's my *.flv file as the player will load the mp4 file it was generated from. I used a premium application called MOVAVI Video Suite to perform the conversion. I don't think this is the case because I can upload the converted *.flv file to youtube and it plays fine.

Also worth noting is that the Flow Player plays audio and not video both when the flv source is pointed to my godaddy site as well as when its pointed to a local folder on my hard drive that contains the player, it's files, the video files, and the example .html page being used to test this.

Possibly something else worth mentioning is that I have not put the flow player files on my godaddy site yet because the video picture isn't showing locally.I have the same issue with the LongTailVideo player.

Here is the html for my test page:

<!--
include flowplayer JavaScript file that does
Flash embedding and provides the Flowplayer API.
-->
<script type="text/javascript" src="flowplayer-3.1.4.min.js"></script>

[code].....

View 2 Replies

ActionScript 3.0 :: Sound Only Plays When Clicking On Pause Button

Sep 2, 2009

All my sounds work however, the play button only seems to play my sound when I click on the pause or stop button first! Plus, my stop button acts like a pause button, it doesn't start the song from the beginning once it stops. [code]...

View 3 Replies

ActionScript 3.0 :: Got A Toggle Button That Plays Sound When Clicked?

Jan 3, 2010

So I got a toggle button that plays sound when clicked, now I need it to stop playing sound when clicked again.

[Code]...

View 1 Replies

ActionScript 3.0 :: Sound - When Press Stop Then Play It Only Plays From The Last Pause And Not The Beginning

Apr 26, 2009

i'm habing abit of problem with this code, its supposed to play pause and stop, the problem being that when i press stop then play it only plays from the last pause and not the beggining how to get it to play from the start after the stop button is pressed

[Code]...

View 1 Replies

Professional :: Button Over Sound Plays Again Before Button Down Sound

Apr 15, 2010

I've assigned a sound to the button over frame and a different one to the button down frame. When i over over the button the button over sound plays. When I then click the button, the button over sound plays AND the the sound I put in the button down frame plays.

View 8 Replies

ActionScript 2.0 :: XMLsocket - Make A RSS Reader In Flash That Plays A Sound When The RSS Feed Is Changed

Jul 31, 2006

What I try to do is make a RSS reader in flash that plays a sound when the RSS feed is changed. In an older version I reloaded the xml via a little timer, but what I understand about this socketthingy is that it keeps an open connection with the server/feed? Am I correct that this socket parses data (or smth) as soon as the xml changes ? If yes, why dont this work ? (it does after loading, but not if the swf is running and the xml is changed)

[Code]...

View 2 Replies

ActionScript 1/2 :: Make A Flash Application Which Will Record The Sound Or Else Just Grabs The Voice Input And Plays It?

Oct 1, 2007

i want to make a flash application which will record the sound Or else just grabs the voice input and plays it..!

View 7 Replies

ActionScript 2.0 :: When Click A Button It Plays The Movies Assigned To The Variables Gallery & Button To The Frames Mentioned

May 2, 2006

[Code].....

Ok- so the idea is that when you click a button it plays the movies assigned to the variables gallery & button to the frames mentioned. Then the variables are changed and then when another buttons is clicked it does the same - 'except it doesn't - it does it once then sits there I have to use variables because there's a lot more buttons..but i don't understand why it doesn't work - it seems such a simple and obvious thing to try and do - why is it so HARD???

View 14 Replies

Frame Jumping - Click On Button 1 > Plays Frames 10 - 15 > Goes To Frame 20?

Oct 11, 2010

I have 5 different buttons for the navigation on my flash website.The first page is on frame one.When you click on any of the 5 buttons I want it to play frames 10 - 15 before moving to which ever frame the button 1-5 corresponds to. So:

Click on button 1 > plays frames 10 - 15 > Goes to frame 20
Click on button 2 > plays frames 10 - 15 > Goes to frame 30
Click on button 3 > plays frames 10 - 15 > Goes to frame 40 etc

How do I make this work?

View 3 Replies

Professional :: Sound Won't Play When SWF File Is Inserted In HTML Page--plays Fine In Flash Test Movie?

Dec 1, 2010

I have created a SWF file that plays/stops sound. The SWF file works great when previewed in Flash CS4, but does not work when inserted in the HTML file.Here are the 2 files that are automatically generated when I INSERT>MEDIA>SWF in Dreamweaver CS4:

swfobject_modified.js
expressInstall.swf
Here is the ActionScript3 that I am using in the Flash file:

[code].......

View 6 Replies







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