ActionScript 3.0 :: Create A Slider Bar That Also Has Arrows?
Aug 18, 2009
i have two Sprite.one sprite have background image and another has some drawing.Now i want to earse some part of drawing by eraser and want to store those point in server where eraser used.because i want use it again to show where user rubbed.
I am trying to create a slider bar that also has arrows. Basically the same thing youd see on the right border of most browsers or document editors.
Everything works fine except for the following: as soon as I use the "dragger", the up/down arrows break.I've poured over this code for several hours and just cant see why. I have a distinct feeling its something to do with the nested onEnterFrame in dragger.onPress.... this.startDrag().
Anyway, here's the code:
/// -------------------------------------------------------- var ratio = 0 var spd = 7; var scroll = 0;
i need to make one of these image scroller things, click the left arrow and all the images scroll left and the one in the middle gets bigger, scroll right and all the images scroll right and the one in the middle gets bigger, if an image reaches the either end of the stage it should re-position itself back at the end or beginning of the image line up.make sense?anyway, for the life of me i just can't seem to crack it, i've tried a few approaches but all seem a bit "in-line" i wanna use for loops and arrays and stuff.. but i'm not smart enough!
I was wondering if anyone knew or could point me in the direction of a tutorial that will allow me to achieve this slider effect - but without using xml The effect is exactly what I need but on the particular network I need to upload to it doesn't seem to be able to load the images, I have tested it on other sites so know it is not a error.s there a way to achieve the same effect with the images already embeded in flash?
I have an animation of someone dancing, frame by frame over several frames, if I slide the timeline back and forth I can change the rhythm and speed he dances and make him dance in time to whatever is playing on the radio! I would like to make this sliding timeline an interactive element, so I want the viewer to be able to slide the position of the timeline for the dancing frames so they can make up there own routines, so they are essentially sliding through the different frames back and forth how they choose, can you point me in the direction of a tutorial for this type of thing or is this something you have done before? I guess what I am trying to achieve is similar to a rewind/fast forward slider?
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 trying to create a slider/scroll bar similar to the one at this site: kurtnoble.com. If you'll notice, the scroll bar can "bounce" of its perimeters. I'm not very experienced with actionscript at all. so any guidance, help, etc.
I'm trying to create a slider/scroll bar similar to the one at this site: kurtnoble.com. If you'll notice, the scroll bar can "bounce" of its perimeters. I'm not very experienced with actionscript at all.
I am new to Flash and trying to create a vertical slider bar that will return a ratio between 0 and 1, change color while doing so, and display the resulting ratio on the side of the slider as you drag. Everything works except for the dynamic text box displaying the "ratio." I want the text box to be invisible until you drag, then display at about 70% alpha when you drag, and go back to invisible when you release (because of the 70% alpha I have decided not to use the "visible" property).
I have attempted to use the _alpha command to accomplish the above, but the actionscript appears to ignore and just display the text box at 100% alpha. I have put the dynamic textbox in a movie clip, but still can't make it work. Could I accomplish this with a rollover button covering the entire slider?
I have posted the .fla file here for your review; can anyone let me know where I'm going wrong?[URL]..
how to have 4 or 5 images continuing or looping at the top of a web page, no thumb nails just the images changing. This is the site I'm working on [URL], you better see what I'm trying to do.
I searched the internet and this forum but can't seem to find a logical answer to how to best set this up.
So inside my sliderMC clip I have the sliderScrubber.
Inside the sliderMC, I also have 4 mcs labeled "mc1", "mc2", "mc3", "mc4".
I have noted down the x position of each mc, but am not really sure how to use it in code? Also, how would I be able to calculate "sliderScrubber" to snap to the closest x value to each mc upon release?
How would I go about being able to slide along the x and perform the above functions?
i want to create a slider that controls 2 images and when you move the slider to half 50% it will have to show 50% of one image and 50% of another image . when i'm at 70% i want to show 70% of one image 30 of the other.the problem is that i coudn't find a way to show just half of image , i don't want to move the image to the left and animate it , simply i want to cut the image in half.
I am looking to create something along the lines of www.pyott.co.uk with the animation being scrollable in all directions - left, right, up and down - I've seen some references to it called 'dynamic images slider'.
I use this code to try to create a photo thumbnail slider from an array loaded with the images names. The problem is that I can create one thumbnail with my code as shown, but I get in trouble when I try to make thumbnails of more than one image from the array. How should I work around this?
I want the thumbnails to create a nice row, that I can use in a "infinite image slider"...
Code: //image array //the array that holds the images names imgArray = _root.getCurrentArray(); //the path to the images folder
I'm trying to create an interactive slider that the user will slide an icon left to right, in order to select a numeric value. This numeric value will then be output to a dynamic text box to capture the data. see the example on the link below...
I am totally new and beginning my journey in actionscript 3. I want to create a progress slider for a control window where I have play pause btns and i am loading external swf on the stage and controlling it. so I want to create a progress slider for that externally loaded swf which slides as the swf proceeds and stops after it finishes. It wll be more efficient if it shows tha timing of proceeding swf.
I have a music controller that I can turn on/off, but I would like to add a triangle slider volume control too and also set the default volume to be 50% so the users can choose if they want to turn it up/down.
is it possible to create a horizontal image slider which browses through photos? [URL]However, I want to make the transitions much smoother and eventually add audio which changes to suit each image.
I am trying to create a slider that will move a series of images in a movie clip based on the location of the slider. The problem I have is that when you click and drag the scroller it will move the images once but after that the images will not move. I am guessing that the problem is with my code. I want to move the _x of the images movie clip based on the _x of the slider. Here is the code I am using which is placed in frame one of the "timelineSlider" MC:
[Code]...
If it will help I can send the the original .FLA file by email as it is too large (225kb) to post on the forum.
What I have is a map that you can click on points and it will zoom in, you can also click on a "plus/minus" buttons to zoom in and out (I even have the mouse wheel zooming in and out). The client wanted me to add a "zoom slider bar" to it so you know you could move it up and down to scale it. Everything is working except the slider, I can't seem to get it to work with the position of the slider. All of the zoom functionality is there but the slider is killing me.
I am putting up the fla file since there is a lot of code in there and I didn't want to put it all in the forum. if you look in the fla in frame ten on line 726 you can find the function that is supposed to handle the zooming when you move the slider. Up on line 74 you can find the slider onPress and onRelease functions, but those I believe should be fine.
Is there any way I can create a slider on my desktop to access some of the controls of the YouTube Video player like volume, pause, play, playback speed? I know it is a flash player, but would this involve accessing the YouTube API or something else? For example, I'd like to program something similar to what's provided by the Enounce MySpeed application (control over play back speed).
I am trying to create a basic timeline, similar to the timeline we all use in flash (see attached).
I have a playhead slider, which when dragged, just drags within its startDrag() limits.
I also have horizontal window scroller which also when dragged, just drags within its startDrag() limits.
I am trying to work out how to get the horizontal window scroller to scroll when the playhead slider hits the left or right edge. I am using hittest for this collision.
I have the playHeadSlider scrolling along the top. When playHeadSlider collides with hittestThing I want mcContents to then move.
It kind of works.. mcContents moves when the playHeadSlider is in collision with the hittestThing.. but it just moves rather than 'drags' across. I have it set up so that mcContents is twice the width (approx) of mcScrollWindow.
I need to somehow update what I have so that if the playHeadSlider collides with hittestThing on the right, mcContents only moves to the right and if playHeadSlider collides with hittestThing2 on the left, mcContents only moves to the left.
I have an SWF movie (1375 frames) and created a progress bar (248px wide) with a slider that moves according to the movie progress. I'm doing that next way:Calculating the distance for the slider to be moved each frame (248 / 1375) On each ENTER_FRAME moving the slider for the calculated distance The problem is - the movie ends far before the slider reaches the end of the progress bar.
I'm thinking that the distance (Step 1) is is somehow ends floored by Flash and the actual distance it moves the slider is smaller than required. That's why the movie ends, but the timeline control just passed the 2/3 of its way. My question is - is there any solution for the problem? Or any other way to go, if it's a wrong one?
looking to create an image/mc slider that moves form right to left via user clicks of a left and right button.I would assume I would create an array to hold a series of mc's in (my images) and then tell the left and right buttons CLICK events to move linearly through the array (displaying next in line and previous etc.
I am using this method to create a slider to control frames in a movie clip.
[Code]...
The slider works well when I'm in the scene that contains the slider. When I go to a scene that does not include the slider, I get the following output error. TypeError: Error #1009: Cannot access a property or method of a null object reference. How can I stop the stage.add.EventListener when I navigate to other scenes that don't include the slider. This is my first as3 project. The project functions as it should but I don't know if the output error will cause problems later.