I used to use flash years ago, and have only recently come back to it in my course in university so im very rusty.
What i am looking to do is in flash create two sliders where the user can slide along to their shoe size, and their weight, so that as they do that, the numbers in two other boxes will periodically change to help indicate what size snowboard they need to get.
eg. as user makes shoe size slider go along to larger sizes, at certain points the number in a box labelled board width will increase.
also as an added touch I would like a character to actually increase in size as the slider is used, I'd imagine for this I would need to have a movieclip of the character getting bigger and allow the slider to progress through the frames of this movieclip.
XFL is the new uncompressed ADOBE FLASH (CS5) source file, it consists from XML definitions, most of them are clear but unfortunately, the important one are strange. Looking to various existing sources, I can see shape's EDGE definitions like:
I have an Image which should be color changed by sum kind of sliders.I tried several things (like quasimondos or gskinners stuff) but these demos are to heavy for me needs.
I have been using flash AS2 for about 12 months but I'm totally at a loss with something that seems totally straightforwards...How can I input only numeric data so that AS recognises it as numbers not text?in the test below the input field in _root.myNumand I'm using a button (_root.in2) to test. I've tried:
Code: this.in2.onRelease=function(){ var numVar:Number = parseInt(_root.myNum);
how do I sort the list component by numerical values? At the moment, the sort sorts as follows 1 10 100 2 20 200 3 30 300...i want it to be 1 2 3 10 20 30 100 200 300...I am using the following code to accomplish this.[code].Is there a way I can reuse my listeners because basically the actions of the lists are the same...when you mouse over the elements I want the booths to highlight.when you click it zooms to a booth and highlights it something else...I am accomplishing this by duplicating the listeners [code]
This ActionScript is creating reading an XML file, and laying out thumbnail images. I'm stuck though! Each thumbnail is given a value of thumbnail[x], going from 0-5. I wrote some mouse actions and need to access each thumbnail's number, not entire name (where I have it in red below).
I'm currently underway in designing the UI for my game's level editor, I'm not using Flash's build in UI components instead I'm doing it from scratch using OOP.I want to have buttons, drop down menus, panels/windows that contain text fields and buttons.
At the moment I have the buttons down whenever one is created it is added to a static class's static array, and given a unique id number dependent on how many buttons have been created and added to the array so far.I figured this would be good as whenever a button is created I could apply an Event Listener looking for a MouseEvent.CLICK. Then just using the event.currentTarget.getID(), to find out what button has been pressed.
I'm about to start making panels/windows so the user can enter numerical values then submit them via a button, which will also close the window. I was thinking about doing more of the same and having static classes for each input type which lists all instances of that type of object.
I am loading an array of movie clips and adding them to the stage with flash as3, but the problem is that the movie clips are added to the stage as soon as they finish loading, and not in order of there position in the array, so the order on screen appears messed up. How do I ensure that they are added to the stage in the same order that their references exist in the URL?
Here is my code: var currentLoaded:int = 0; function loadThumbs(){ for (var i in project_array){ var thumbLoader:Loader = new Loader(); [Code].....
var dataArray:Array = [ 5, 6, 3, 8, 10, 11, 32, 2 ]; var dataObjectArray:Array [ { "uid": 5 }, { "uid": 6 .... Similar to above ... } ]; I have the above 2 arrays in AS3. and i wish to sort them numerically (1 ~ X) in order [Skipping those that does not exist]. What is the best and most efficient way to do so for dataArray / dataObjectArray.
Up until CS4 the Colour effects dialog box was incredibly powerful. These 8 little fields were never the most intuitive, and it took a lot of fiddling before I realised their true power: the first column basically controls the contrast of an asset - and the 2nd column controls the brightness.Using these experimentally, you can acheive inverted colours, high contrast effects and colourising effect far superior to tints(see image).Well, you USED to be able to - when you could put high numbers in those fields.But the CS4 version of these controls caps any entered values to 100% and 255 respectively.It seems that it is only an effect of the interface - as I can cut and paste clips with the old settings from CS3 into CS4 and they display correctly.Is this an oversight on Adobe's part, or is there another explanation for the loss of a great design feature?
When using a notebook and I have remarked that I cannot enter numerical character with shift + a letter to enter number.Is this a bug in flash ? How to circumvent this ?
I've been trying to create a volume slider for about two hours now and it just doesn't work. I followed Ilyas' slider tute and Kirupa's volume control tute both to the letter and now no sound loads, the slider doesn't control anything and it sticks to the mouse when you let go i.e. it still drags left and right across the slider after you release the mouse button.I can't show you my code unfortunately as I just got really angry and wiped it.Could someone please either show me exactly how to load a sound and control it's volume in one tute (Kirupa uses a different method from the "load sounds using AS" tute to load his sound in the volume tute but he doesn't explain it. I don't want his source .fla+mp3.) or make me a .fla that loads a sound called "music" (linkage name) and controls it's volume.
I've created a slider control (using the excellent tute on kirupa) and am using two instances of it on my stage. I also have a lock that sets the variable locked to true or false. What I want to do is if locked == true have both sliders move simultaneously to the same values if either one of them is dragged...
I'm going to have the user choose how many robots he wants to generate. These robots are their own little movie clips, and they work on input variables like "speed" "path" "bump" etc. I want these variables to be controled by a bunch of sliders.
When someone clicks on a robot, I want that robot's control panel to come up, and show the settings for that robot. Then if I click a different one, I want it's own control panel to come up, with that robot's settings.
So, I'm wondering how to get these control panel MCs to retain their settings. Should I just use a bunch of _visible = true/false statements? How is this typically done?
I have 4 Sliders that I want to represent 100% of a total Number; Say the number is 100 and you start all the sliders off at 25. Each Slider has a Min of 0 and a Max of 100, to represent 0 to 100 percent of the Total number.So if one slider is all the way to 100% the rest of the 3 are at 0%;
Example: All Sliders are set to 25, and you slide the top slider to the right (increasing) say to 40%; The Sliders should say 40%, 20%,20%, and 20% since it would decrease the rest of the sliders accordingly, so they all add up to 100%;.
I'm trying to make 3 sliders that, depending on each other, changes the value of a text-box. Example: If Slider A moves to 150, the value in the text-box changes to 150. If you then move Slider B to 40, the value in the text-box changes to (150+40) 190. Same thing for Slider C. So basically I want the value of what you select in each Slider to be added together in real time like this: [URL]. Only this shows just one slider, and I want three, added together.
I have spent 2 1/2 days now looking for a way to make a movie of 16 pictures where the progress of the movie can be controlled by a slider. This is either not a very common use of flash, or a very advanced project to take on. I know nothing of action script, and am trying to learn how to make this happen. I have been able to do this with buttons to go forward and back a frame when pushed, but I can't get the slider component to corelate with frames.
I have three sliders and they are generating numbers. What I am trying to do is, liderOne.value is divided by sliderTwo.value. And that gives me a number named density... Everything is okay for now...ActionScript Code:var density:Number = sliderOne.value / sliderTwo.value ;But I want the third slider to change the alue density by itself. I mean, in the purpose of doing that, I tried;ActionScript Code:sliderThree.value = density;but by this way, sliderThree is showing me the values of density. Everytime I change the values of sliderOne or sliderTwo, sliderThree is changed as density changes. But when I test the movie and try to change the sliderThree , it was like a big rock and not even moving
I've recently downloaded the Flash CS5 and we wanted to upgrade license, but we experience VERY bad problem.Steps:
1. Create blank FLA AS 3.0 movie. 2. Add to first frame (stage), for example, TextArea component and name it "xxx". 3. Set in "Properties" window in "Component Parameters" tab:text - "hello world"maxChars - 10 4. Add script to first frame with next code:[code]
SO NUMERICAL PARAMETERS DON'T WORK! I not a new to Flash. Have worked more than 5 years with this. Also we've tested such behaviour with latest (downloaded today and yesterday) packages from OFFICIAL url...we've tested this behavoiur on different machines, with different operating systems.
how to develop a featured content slider. The following web sites are examples of what I'd like to create:
[URL]
the following behaviors are desired - using nothing but pure ActionScript 3.0 and Flash CS3. I realize some of these use jQuery or JW Image Rotator - we are not looking to do that.Preloader for each slideAuto play for each slide with fade transitions to the next slide. Markers (highlighted) indicating which slide is currently playingNavigation (back, forward and the ability to select each marker)Display corresponding HTML content underneath the graphic [URL].
So i am working on a widget and I cant seem to get the volume and balance sliders to work right. Can someone take a look at my code and see if you know what going wrong. The web address of the widget is [URL] . The only slider that works is the first one for now. Till i figure out why this one wont work. and the action script is below.
I'm creating a group of sliders that control the opacity of several MCs in the .fla file. Right now they move straight up or down, along the y axis. However, I would like to be able to customize the angle that each moves at (e.g., tilt slider01 45 degrees, slider 02 50 degrees, etc.).
I'm assuming that I would have to create a custom math class to do this, but I have no idea what logic to go off.
I can't figure out how to create dynamic sliders like the ones in the attached.
For the sliders there are 100 points available. The three sliders can only have 100 points between them. For example, if slider 1 has 50 points. Slider 2 and 3 would only have 25 points between them.
I want to be able to have a slider that loads movies. I am a newbie to Flash MX 2004 but I am a quick learn and have a very technical background in mathematics.
I am looking for sliders that let you adjust an MC (or graphic) through the interior hue specturm as well as another slider that will adjust tint level (brightness.)