ActionScript 2.0 :: Reduce The Volume?

Mar 2, 2006

My problem is... I import two sound files and give the linkage name snd1 and snd2. In the first key frame I add this

sound1 = new Sound();
sound2 = new Sound();
sound1.attachSound("snd1");

[code]....

View 3 Replies


Similar Posts:


ActionScript 2.0 :: Reduce / Increase Volume Button?

Sep 4, 2010

I am new to action scripting and am looking for a code which will reduce the volume of sound coming from my flash to 0, but then allow it to go back to 100 if pressed again, from the same button.[code]...

View 7 Replies

Actionscript 3 :: Disable System Volume Reduce In Flash

Dec 17, 2010

I have a flash chat application and when app create new conversation system reduce volume of incoming sound stream at 80%(and any other sounds). How can i disable volume reduce from flash? Here is some additional information Problem with sound quality.i think only win7 has that problem because of URL...

View 1 Replies

ActionScript 3.0 :: Simple Volume Slider That Controls The Master Volume Of The Entire Swf?

Oct 6, 2009

does anyone have an example of a simple volume slider that controls the master volume of the entire swf?

View 1 Replies

Flash :: Volume Slider - Volume Doesn't Change Until Mouse Over?

Nov 21, 2009

I've created a small music player with a sliding volume control. I'm having trouble with the volume. Though it does control volume properly, if I set the initial volume to less than 100%, the volume always starts at 100% until I move my mouse over the player. At that point, the volume changes to whatever the initial volume is set to.Is this a flash bug, or am I missing something? Here is the affected code (code for other buttons/functions omitted for brevity):

var song_initvolume:Number = 100;
slider_1._x = groove_1._x + song_initvolume;
playSong(0,song_play);[code]....

I'd like to be able to set the volume at say 50%, but the above mentioned behavior happens each time.

View 2 Replies

Flash :: Reverse Sound Volume Math For Volume Slider?

Feb 1, 2010

I'm building a video player and am kinda stuck at the volume slider part. It's a YouTube style vertical slider, meaning if the slider is in the top position volume should be 100% and if the slider is dragged to the bottom position sound should be 0. Currently it's doing the opposite of what I want :(

Dragging the slider down will make the sound louder, while dragging up lowers it.

Here is my code below dealing with the volume slider.

[Code]....

The (-4) is an offset value so when you drag it all the way to turn it off, it's 0 and not 4. I need to reverse this somehow, so the traces above will swap... going down will make userVolume = 4 and going up will make it 30.

View 4 Replies

Actionscript 3 :: Volume Controls - Volume On Or Off Through The Games?

Apr 12, 2012

I've got a serious of games which in turn load off a main main swf.I have mute and unmute buttons on the main menu and the same buttons in each game.When I unload/load a game I want the volume to stay as it is so they player doesn't have to keep turning the volume off. AudioOff is the button shown when the volume is off and AudioOn is the button shown when the volume is on.The code I've got now keeps the volume on or off through the games but the buttons aren't showing up correct with this code..

if (SoundVolume.volume == 1)
{
AudioOn.visible = false;[code].....

View 2 Replies

ActionScript 2.0 :: Volume Slides But No Volume Change?

Sep 10, 2011

I converted the slider bar and slider button to buttons. Then, I made the slider button into a movie clip.

Here is the code I placed while slider button was a button:

Code:
on (press) {
startDrag(this, false, left, top, right, bottom);
}

[Code]....

It seems right to me but I don't know. The movie button slides down the slider bar but it just doesn't affect the volume. Going to try to attach my FLA to offer better insight. Just tried to upload it and no matter if it's FLA or zipped FLA, it says it failed.

View 1 Replies

Reduce The Swf Size?

Jun 25, 2009

how can i reduce the swf size? it's 9MB and it takes a bit to load online. is there any solution to reduce its size so it can load faster? the pictures and loaded externally so they're not embeded in the file. There are some inside the movie but they were already reduced from their original size.

View 1 Replies

IDE :: How To Reduce Fla Size

Jan 9, 2009

i decompiled a swf & convert it to fla .after geting swf ,again i decompiled it,results in increase in file size of fla.is there any way to reduce the file size of fla...as PC hangs when i save fla.

View 2 Replies

Reduce My Swf File Size?

Jul 3, 2009

I am using Flash CS3. Now i did some image with mc(Movieclip) animation. Its come near 150kb. But i dont need this like file size. I want less then 75kb.also i did publish settings and reduce the jpeg quality near 40. But its come near 106kb...

how can i reduce this swf file size.

View 2 Replies

ActionScript 3.0 :: Reduce These Code Using Oop?

Jun 7, 2010

i have 8 movie clip and i use it as a navigation buttons and when clicked it should go to different links. i use these codes but i think these codes are not pure oop so reduce programming using oop but works in same way as it is doing right now.
the codes are follows 
 
function buttonmode(link:MovieClip):void{
link.buttonMode = true;
}
buttonmode(rec1_mc);
buttonmode(rec2_mc);

[code]....

View 6 Replies

Reduce Load Time Of SWF?

Apr 26, 2011

I have a Flash 8 a/s2 site but I feel the load time when a visitor visits the site is too long. The site does have music, pictures and videos but they are all loading externally.

Is there a way I can reduce the load time of the SWF?

View 4 Replies

Reduce AIR App File Size?

Feb 20, 2012

I've uploaded an AIR-built .ipa file to Apple. From Apple: "The app binary listed below was 8 MB when you submitted it, but will be 20 MB once processed for the App Store"

So I'm trying to trim it. I've gotten rid of all unused .as classes and all unused assets. Does anyone have any clever way of reducing file size further? One way I thought of is this[code]...

View 4 Replies

IDE :: Reduce The Flash Swf File?

Jul 1, 2009

reduce the file of flash file as well as swf file to upload.I am a fresher. I don't know advance actionscript, xml etc. reduce the swf file size. So that i can easily upload the file.Also briefly explain me how to externally load the swf file in flash.

View 1 Replies

IDE :: Reduce The Swf File Size?

Jul 2, 2009

reduce the file of flash file as well as swf file to upload.tell me a simple way to reduce the swf file size. So that i can easily upload the file.how to externally load the swf file in flash.

View 3 Replies

ActionScript 3.0 :: Will OOP Reduce Performance

Nov 21, 2009

Will OOP reduce the performance of the application.I have to query 4 database with more than 1000 rows between each user inputs to give the output. The whole thing must be less than 5 seconds to the maximum extend and an average of 2 seconds. Which type of design is better for performance.

View 1 Replies

IDE :: CS5 Reusing MC - Reduce The Size Of Swf

Mar 1, 2011

I am trying to reduce the size of my swf, and I see that I am using a movieclip on each frame on the Timeline, which has to be adding considerable size to my file, since I have placed the movieclip(animation) on every frame. How could I do this more efficiently and still acchieve animation between each frame? I have included a ripped version of the fla. , since the attachment limit here is pretty low. In the file the video - files and the picture files have been removed, but the rotate... mc's(animation) are placed in the interanim Layer and the Menustate Layer, on each frame.

View 1 Replies

Flash8 : Reduce The File Size?

Nov 6, 2009

I am designing a website. My flash file comes up to a size of 1.5 mb. It takes around 1 minute to load.reduce the file size.

View 1 Replies

Reduce Frame Count In Flash Mx?

Jun 9, 2011

I have a image sequence of 350 images. Is it possible to Reduce frame count in flash mx, (remove every other frame)automaticy, not by hand one frame at a time. I do also have flash cs5 can it be done in that?

View 1 Replies

Media Server :: How To Reduce Echo

Feb 26, 2010

i m using these setting

[Code]...

i am facing the problem of echo .i am speaking than i can also hera my voice . how to reduce that problem that user can not hear own voice .

View 12 Replies

ActionScript 3.0 :: Reduce CPU Load In Game?

Mar 22, 2011

Having a problem with a game, The cpu load at the start when all the elements are on the stage is between 120 - 150%. Far too high. I reduced the frame rate from 30 to 24 and now the cpu load is around 100 - 125% which is still too high for my liking !! I'm wondering if this code can be optimized, I'm sure this is the cause, it's running within a movieclip class on 15 movies at the start.. 

[Code]......

View 3 Replies

Professional :: How To Reduce Export Time

Apr 23, 2011

#Hi, does anybody know if there is a way to export faster other than changing pu/overclock/memory? Maybe a especial video card or GPU?I notice that when I export Flash just use 25% of processor, any way to improve this?I have a fast processor (phenom 3.4) and enough memory (4GB), but still need more speed.

View 1 Replies

Reduce Flash Movie Size?

May 5, 2011

I make a very simple movie but its 5 Mb i dont know why >>> do image size i use in movie enlarge the movie size?

View 1 Replies

Professional :: Reduce The Size Of Swf Files?

Jun 28, 2011

I would like to reduce the size of swf files for easy uploading. Is there a way I can reduce the size of swf files

View 2 Replies

Professional :: Reduce Mp3 File Size?

Dec 24, 2011

So I have this .fla file that a freelancer made for me before. I noticed that the mp3's he imported have really low size of about 800kb only for each sound. When I sent this songs to him, they were in WMA files and have 3MB size each. I noticed that the file location says "program files/total video converter/...", so I assume that he used the Total Video Converter software to convert the WMA to MP3. But how was he able to make the size to only 800KB? Because I tried other converters and the size doesn't change significantly. Lastly, I noticed that it says in the properties "50.0% of original" and the use imported mp3 quality is checked! Also, since the above situation has a WMA file. How about if I already have the mp3 file? How can I reduce the size?

View 5 Replies

Flash :: Reduce PS Image Size For It?

Jan 6, 2012

I am importing layers from my Photoshop file to Flash to create a Flash Banner ad using CS5.  My Banner size is set-up in PS as 160x600 72DPI. Are there any tricks to getting my file size down without losing anymore resolution when importing to the flash Stage?

View 1 Replies

Flex :: Reduce Spacing Between Components?

May 4, 2010

How can I reduce the space between my linkButtons and inside each linkButton ?

I've set padding to 0 but it was already 0.I've been able to only change the height of the LinkButtons, but I cannot do that with the width because the text is dynamic.[code]...

View 2 Replies

Flex :: How To Reduce The Unwanted Noise

Jan 17, 2011

In the below code sometimes when microphone is not connected some noise is generated and the system just keeps on buzzing the same sound.Whats wrong with the code below and how to reduce the unwanted noise. Should i set myMic.setLoopBack(false) in the below code

[Code]...

View 1 Replies

.net :: Reduce Number Of Remote Objects?

May 4, 2011

I am making a flex application with .NET at back end (connection using WebORB and remote objects). I have five drop-down boxes in Flex component, each having unique values from different tables (e.g. city name, county name, user name, etc.).On page load (or can say creation create) I need to display these values so that users can select from the list. I was trying to get data using five remote objects (one for each drop down box.). I am wondering if there is way to get all data in one remote call.

View 1 Replies







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