ActionScript 3.0 :: Make Multiple Slider Values?
May 3, 2011Is there a way to make a statement where if the slider is >=30 and <=40?
View 3 RepliesIs there a way to make a statement where if the slider is >=30 and <=40?
View 3 RepliesI'm looking to make a slider bar reveal movie clips on my stage as you drag it along. I've written some sloppy code that works, but isn't smooth by any means. I basically put MCs on different frames on the timeline, and I want those MCs to fade in or out relative to where the pointer is on the bar. This was a workaround, what I think I need is a boolean solution, but I'm not familiar enough with AS to write one from scratch. Here is the code I have so far. Does anyone have any ideas?
[Code]....
I've gotten these sliders to work but can't get the output values to add up. For instance, depending on the values for slider 1, 2 and 3, I need the total to show up in a separate text box. I keep getting a NaN message in the text box.Here's the code I have so far:
//item 1
sliderOne.width = 600;
sliderOne.value = 0;[code].....
I'd like to make a circle slide ( Slider that on the shape of circle instead of vertical and horizontal Slider) like this one:
[URL]
Is there a ready Component on the web.
First, is this even possible? Inside a function, I want to change the min and max values that the slider component will use. Say for instance, the slider by default has the min set to 100 and the max to 200. Using the slider to scale a graphic, I want to increase the min/mal values.
Can this be done? I've been searching the web for things like ".min.value" and the sort, but can't seem to find anything.
i have a slider bar taken from the compnents in flash. What i want is to duplicate a movie clip i have on the stage randomly with in a nother movie clip called square_mc. I have the movie clip spawning accoring to the slider value.But what i want to happen is to sapwn the movie to a custom number assignd to certian incraments of the slider, instead of it spawn 1-11, which are my slider values. And each interval i go up the slider i want it to reset, so for e.g. the first incrament of the slider value is 2 and the second is 5, when i slide to the second one i only want 5 movie clips not 7.This is the code i currently have.
timeline_slider.addEventListener(SliderEvent.CHANGE, dotspawn)[code]........
I have to create a slideshow that loads 16 different swf's into a container_mc. Each swf has an image with accompanying voiceover.
I have the basic next, previous, first, and last slide buttons working but they want to add a slider bar that plays and u can slide to a specific section of the slide show. The slidebar is where I am having troubles.
Here is what I have so far...
This is the code on the first frame for the buttons
Code:
nowPlaying = 1;
lastPlayed = 0;
playingNext = 2;
autoPlaySlides = false;
[Code]....
For the slider I need to create some kind of loop that checks where the dragger is. If it is between 1 and 6 slideLabel = "Go to slide 1"; If it is between 7 and 12 slideLabel = "Go to slide 2"; and so on up to 16... when the dragger is released on the slide the user wants to go to it needs to load specified .swf.
[URL]
can i handle multiple sound through one volume slider by passing parameters and MC instance name?
I have to create a slideshow that loads 16 different swf's into a container_mc.
Each swf has an image with accompanying voiceover.
I have the basic next, previous, first, and last slide buttons working but they want to add a slider bar that plays and u can slide to a specific section of the slide show... The slidebar is where I am having troubles.
It is partially working now, just needs to be tweeked... It is reading the variables, and setting the slide label text to the correct label, BUT it is only doing this once when the mouse is pressed and does NOT update when the mouse is dragged. I tried so many different ways and can't figure this out.
Here is what I have so far...
This is the code on the first frame for the buttons
Code:
nowPlaying = 1;
lastPlayed = 0;
playingNext = 2;
[Code].....
For the slider I need to create some kind of loop that checks where the dragger is.
If it is between 1 and 6 slideLabel = "Go to slide 1"; If it is between 7 and 12 slideLabel = "Go to slide 2"; and so on up to 16... when the dragger is released on the slide the user wants to go to it needs to load specified .swf.
I'm loading a bunch of images through XML like this:
[Code]...
Pretty simple. Loads each image into a imgHolder_mc named 0, 1, 2, etc. Each image is also set to alpha = 0 since I don't want them to show unless the slider is changed.
[Code]...
I have mad this from a tutorial. Now the slider goes left but i wants it to go right but i just cant seem to get it to work.[code]
View 2 RepliesI'd like to make a news slider for flash that not only shows images and text, but can also play videos that are presented as news, through an XML file or something.A good example is the flash news slider that ea.com uses, which can play videos on clal as well.Can anyone direct me to a tutorial or guide me here on how I cna achieve this through Flash CS4?
View 18 RepliesI'd like to make a circle slide ( Slider that on the shape of circle instead of vertical and horizontal Slider) like this one: [URL] Is there a ready Component on the web.
View 7 RepliesHere is the code I started but I want to make a slider naviagation once the page is click then the page marker will move to what page I am on?[code]...
View 5 RepliesHow to make this excellent "auto slider" Check the Portfolio section [URL].
View 2 RepliesHow would you script the movement limitations to create a diagonal slider? Im not looking for anything tricky. Just a plain 45 degree, .785 rads, um i think angle movement.My current Horizontal slider is as follows.
onClipEvent (load) {
min=50;
max=400;
[code]......
I'd like to make a news slider for flash that not only shows images and text, but can also play videos that are presented as news, through an XML file or something.A good example is the flash news slider that ea.com uses, which can play videos on clal as well.how I cna achieve this through Flash CS4?
View 2 Repliesis there a way to make the slider work with the gotoandstop. I would like to us a slider as a navagation bar and when u slide to home all the stuff related to home pops up and so on.
View 1 RepliesHow can I make the slider track a bit thicker with CSS?
View 1 RepliesExplain the code, or point me to a good tutorial for making a volume slider for an FLV player?
View 6 RepliesI am trying to make a song position slider, ala most media players, which will slowly slide along as the song progresses, but also allows me to drag and drop it to change the position of the song. I have some code which works perfectly in regards to the progress and dragging parts but the song doesn't change position and the bar reverts to the pre-drag position when I drop it.
Code:
// Sound
sneaker = new Sound();
[code].....
Well Ive been trying to make a small flv player in flex, came across 2 problems.
1. How would you make a slider to control the video (Is it called a scrubber?)?
2. How do you change the icon of a button at runtime? (For the play/ pause button, changing the labels I can do, the icons have stumped me).
I couldn't find an example of a mp3/flv player online made in flex that has either of these, so I havn't got a clue how to proceed.
I'm making a Image slider. When the mouse is rolled over, It'll slide to one direction. Just like a normal image slider.The problem is, the images that I want to be inside this slider are in a folder and I want them to dynamically load into flash and into the slider.
For example, Lets say there are 5 images in the folder. I want flash to get all the 5 images and load them into the slider and do the normal scroll thing. When the 5th image is reached, I want the slider to display the first image. (in a continuous loop). If a new image is put into the folder, flash should now have 6 images in the slider.I've manged to get the Number of files in the folder to flash.How can I make a slider where images are loaded dynamically?
I'm using AS3, CS5.5, on Windows764bit. I created an animation with many different layers (and nested movieclips) on the stage, then wrote a short bit of As3 to add a slider control of the playback. The problem/mystery is that when I change the slider, the nested MCs act strangely/independently. How to control everything at once? Here is the current file: [URL]
Here is the code I added:
package {import flash.display.*;
import fl.controls.*;
import fl.events.*;import flash.text.*;
//for TLF crap public class SliderClip extends MovieClip {
var slider:Slider;
public function SliderClip() {
[Code] .....
Im trying to make a slider that when moved will scroll through the timeline. There is 5 snap intervals in the slider and 5 "key moments" in the movie. When the slider is snapped 2 one this will scroll to the first "key moment".
View 1 RepliesI am trying to make a flash slider similar to that in HTML Code: [URL]
View 1 Replies[Code]...
I am adding a mc to the stage (linkage name: SavedTopic) via mouse click calling this function. There will be a random number of these clips, based on user decisions. How can I set the 'savedTitle' and 'savedText' as variables unique to this specific MC, that can be accessed later via textbox inside the 'topic' movie clip. I've tried:
[Code]...
how to make the slider disappear when you click (for example) on an extra button?
View 3 RepliesI want to put multiple inputtext values into an array, but code below wont work.
This is the inputTextFields:
output1.text
output2.text
Simply dont know how to write it, tried:
output +i+ "." +text;
output +i+ ".text";
[Code]...
When you want to split a string in to an array, seperated by the letter "e" for example. So string: 0e5e8e7 would become 0,5,8,7..[code]Is there a way you could split a string by multiple values? So instead of it splitting the string when it comes across "e", could you have it split when it comes across "e", or another character.
View 5 Replies