Actionscript 3.0 :: Create A Slider That Controls 2 Images?
Sep 15, 2009
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.
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).
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 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 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.
I want to control some movieclips animation using a slider. I have this code for a custom slider, but I don't know how to link the track of the slider with each movieclip timeline.
ActionScript Code: var bounds:Object = {left:98, right:449}; var currentX:Number = thumb.x;
I'm new to Actionscripting and I want to add a sound file to my project with controls to stop and play and a volume slider. I'm using this actionscript for the controls. It works but right now you need to click the play button for it to start. Is there a different way to write it so that the music starts playing when the scene starts, and then the user can stop or play it again and change the volume?[code]
How to add label controls b/w two images dynamically?I have two images i need to get label controls for source image and target image.It should get after drawing the line b/w the images. First label should attach to first image output and second label should attache to second image input.This should be dynamically and also when drag the image it label should move along the image.
I am a complete newbie at flash(it took me 10 minutes just to figure out where to put actionscript code lol). Anyway I'm trying to make a flash where you can cycle through images using a slider bar. They are images of a persons face from 13 angles starting from looking 90 degress left, to center, to 90 degrees right. I want to be able to rotate the face using the slider. What I'm trying to do is similar to another thread I was reading(though not exactly the same goal) so I took the code from there just to start myself off. Currently when I test the movie the face is moving back and forth(in loop play) and the slider bar does not interact with the images/frames at all. This is the code I have in Layer 1 Frame 1. I'm aware this code might be completely wrong for what I want to do since I pulled it from someone elses project.
how to create zoom and pan controls in Flash -- I'd like to create controls with functionality similar to that you see in Google Maps, GigaPan.org, etc. Does anyone have suggestions for where I might find a tutorial or instructions for how to create these controls using ActionScript? I browsed some threads in this forum on zoom and pan controls, but I'm not seeing anything that really explains how to write the code.
I'm currently working on a project for a simple scroller left to right gallery, images get loaded from an xml file, but the width of my images variate, therefore i need to find a way to vary the attribute else I get black blocks before images.. here is my source code for the main comp..
import caurina.transitions.*; var urlRequest:URLRequest = new URLRequest("pics.xml"); var urlLoader:URLLoader = new URLLoader(); var xml:XML;
the proper code that I should use to scroll images like a slideshow but i want it to keep going like on this site [URL] I figure the script below but it makes it keep going on.
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'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 working on a gallery with slider control that must display several thousand images.
1) The images must load dynamically just before they appear on stage and remove images / listeners as they leave the stage.
2) Have the images slide left / right with the slider.
best ways to dynamically load the images? I considered adding placeholder mcs on the stage, performing a check to see if the mc was within bounds and then loading it, but the player will definitely chug with several thousand mcs on stage.
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 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 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'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 working on a gallery: the slider rotates the container with the images using Tweener class and easeOutCubic transition. There are 45+ images around the center of the container The movement is not smooth, especially when comparing to the way it would be with a small container. Also, and most important - A rough "snap" appears randomly in the end of the motion.
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]..
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?