Actionscript :: Achieve Volume Slider Effect Like On Vimeo In Flash?
Apr 15, 2012
The video player (aka moogaloop) on vimeo.com has a neat visual effect for the audio volume slider. There are a number of sound bars that rise and fall when the mouse hovers over them. The volume level is shown by a blue filled area under the bars with pixel precision.
how can the multiple masks (bars) be used to cover a single blue rectangle?
Update: Masks in flash: "the mask item acts as a window that reveals the area of linked layers beneath it [...] A mask layer can contain only one mask item". How do I get multiple masks to clip over one layer?
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.
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.
I am asked to prepare an interactive and dynamic presentation in the area of enterprise architecture. The source of data should store in database. The effect I want to achieve is something as the link below. Can Flash do it (I guess so but still want to confirm)? But I could not find any similar Flash samples on the internet [URL]..
Is it possible to make a glow effect any other way then flash? I want to get rid of the whole flash menu and use something browser friendly.I am looking for alternatives or similar effect.
I have a flash movie playing some music, but the slider controlling the volume has become unresponsive. I have no idea why. msg me if you want the see the actionscript.
URL...And really like way the yellow animated stars are replaced by blue animated stars, with a central number of the opposite colour to the background being present in the centre.I wondered if anyone might be able to throw any light on how those effects are done please?
Dreamweaver How I could create the page showing a similar zoom in/out map as on the below link. I was referred to come here. How do I achieve the zoom in/out effect? [URL].
I'm having some trouble with the code below. the flash player has a default volume slider, but I want to use the jQuery slider to change the volume. the volume value(nr) is changing while I move the slider, but the volume of the song doesn't.
I was wondering if anyone could show me how to achieve the effect on this site:asically, the script for how to make the mouse position effect the position on the movieclips.
I want a ball to roll along, and as it does, grass and flowers spring up behind it, in it's wake. I have worked out how to get the rolling ball effect, but don't know how to do the grass springing up. I found some grass and flower symbols in Illustrator which will suit the purpose. I thought of loading them into the deco tool as one possible way, but there might other ways.
I have done a fair amount of searching, but haven't found anything that will tell me how to achieve the transparent blurring effect I'm seeing on the barrels on this page: url...
I was wondering if anybody could show me how to achieve the Parallax scrolling effect like seen on here :[code] I literally just need it to work with 2 layers, a foreground and background.
Can anyone recommend the best way to achieve the following continuous scroll effect - I want to simulate a circular room with 12 (numbered) doors in it. There are 'sights' over the 3 middle doors. The sights remain in the same place, but when you press the left or right arrow key the clip of the 12 doors scrolls in that direction and stop at the next door. When you scroll to the right of door 12, door 1 then becomes visible again.
I was wondering how best to go about constructing 'floating' panels that change their perspective as the mouse movies around them, as seen to good effect at Train Your Business Brain. how I might go about this?
how best to go about constructing 'floating' panels that change their perspective as the mouse movies around them, as seen to good effect at Train Your Business Brain.
Any pointers as to how I might go about this? Ideally as a nice plug-in, because I don't want to go too deep into the theory of coding geometric transformations.
URL...after the stick figure walks past the words xiaoxiao in blue, how would I achieve the lighting effect that passing over the letters? I'm sure it's a mask but don't know how to achieve this effect?
I have a container (CONTAINER_MC), containing one or more containers(CONTAINER_01_MC) that is rotated arbitrary. Inside these containers I have one or more MC's (MC_01, MC02...)
I want to achieve the effect of zooming and centering in on MC_01, MC_02 ect. I'm scaling and rotating CONTAINER_MC to get this effect, I figured out how to calulate the rotation and scale. But I am having difficulties calculating the X and Y position of CONTAINER_MC.
var scale:Number = stage.stageHeight/MC_01.height; var rotation:Number =CONTAINER_01_MC.parent.rotation*-1;
But I cant figure how to calculate the new X and Y for CONTAINER_MC the ensures that MC_01 is centered on stage.
I'm a designer that inherited a project with a volume slider. I'm not that good with actionscript yet and haven't been able to figure out the code. The volume and slider starts at 100%, and I need it to start at 50%. Can you tell me how to set both the volume and slider at 50%? I'm sure it is a simple solution but I can't figure it out. I tried a few things but have not been able to get it to work correctly in both the volume level and start position for the sliderHere's the code on the 2nd frame of the mc:
Code: stop(); var NiVol:Sound = new Sound(_root.Container);
I made a volume slider which works with a draggable mc to control the volume. But I want to do a bit different slider using a mask like the slider in Component box. The aria I want to drag over is a rounded rectangle. I make a rectangle which will be my bound and i use the rounded rectangle to mask it. How should i continue.
I'm trying to achieve a scrolling effect like this one.[URL].. I'm trying to achieve a scrolling effect similar to that where the page will scroll with the mouse and rotate like that, also have a maximum scroll and rotation, but also be able to be pushed aside for sub content.
I'm obviously not asking anyone to build the whole thing for me, just point me in the right direction.
Direct me to a volume slider tutorial that works for actionscript 3.0? there are some out there but they are all outdated.
I did one that enables me to mouse over an item and move it all over the screen, but I need to get it to scroll along an axis. thats where Im getting hung up.
I actually have a really cool project. an online studio that enables you to rehearse individual parts of songs that I prerecord.
i'm triying to do a slider bar for control volume but all scripts are for vertical or horizontal movement, but i need do it with a light inclination i have been thinking to give to the limits line a value of x an y for upper possition and other value for x and y for lower position but i don't know to do it.