IDE :: Stop On Rollover This Endless Vertical Slider In Fixed Centered Position?
Mar 13, 2009how to stop on rollover this endless vertical slider in fixed centered position?
[Code].....
how to stop on rollover this endless vertical slider in fixed centered position?
[Code].....
I have this animation: [URL] I need it to be like a circular tape playing. It has to play Nš1 image after getting to Nš8 or to Nš8 going backwards from Nš1.
View 1 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.
The website: [URL]. How to make the Loading Bar to be always centered in the box that resizes horizontally and vertically.
View 1 RepliesWhat 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.
In my flash application I want to slide a button on the y-axis of a kind of thermometer, but I want to establish fixed slider positions so you can only move the slider up and down from fixed position to fixed position.
I already use this bit of code with startDrag and stopDrag behaviours:
Code:
on (press) {
startDrag ("_root.schuif",true ,245 ,190 ,245 , 480)
var h
[Code]....
In my flash application I want to slide a button on the y-axis of a kind of thermometer, but I want to establish fixed slider positions so you can only move the slider up and down from fixed position to fixed position.
[Code]...
I am using a ScrollPane in my application(viz., instance name is: myScrollPane). When I view the contents of the ScrollPane, it shows them perfectly. My issue is: When I try to view data present inside the ScrollPane, if I move the Vertical-ScrollBar of the ScrollPane to middle(or somewhere from top to down) and then click on Submit button(viz., instance name is: submit_btn), then its Vertical ScrollPosition must be reset from middle(or any position where we leave it before) to top(or initial position). Hence, I need to move the Vertical ScrollPosition of ScrollPane to top (or) initial position. Everytime, I need to refresh the VerticalScrollBar Position when I click on the submit button. How to do it?
View 1 RepliesI need a vertical volume slider, but flash is crazy and instead of increasing volume as you drag it up it decreases it instead because of the origin point. the entire slider device is dragable too, so that is another dillema.
View 4 RepliesI 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 hav movieclips in a flash document that i have autocenter when the stage is scaled code is something like this:
clients_mc.y = Math.round((stage.stageHeight/2)-15);
stage.addEventListener(Event.RESIZE, resizeClients);
function resizeClients(event = null){
clients_mc.y = Math.round((stage.stageHeight/2)-15);
};
any way to make it esae in to position or bounce, something?
Just like in HTML / CSS you can set the position of a div to be 'fixed' using css. For example, a header that is fixed at the top of the web page when the user scrolls down the webpage.
Is this possible in Flex?
I have had a look at the
VDividedBox
control which kind of does what I'm after but don't like the 'divider'.
my question is:i make swf file in html using "swfobject" and footer position fixed.that all going good. but when i open in widow (ie8 or another) and i make small window, position footer in back from swf file?swf file always in front and close the footer..so what i want.. a.. the footer position in front of swf.
View 1 RepliesHow to make vertical slider which will generate the number from the numerical range?
View 5 RepliesI have been working through this tutorial [URL] and have everything working pretty well but have two questions/problems:
1. Does this only work with buttons? I have tried to replace the buttons with MC and keep the same instance name but then it does not work - can I get this effect using movie clips instead of buttons?
2. How can I get the slider to appear on rollover (on any button) and then start its sliding effect as demonstrated?
What I'm trying to do is to position the text in the top part of a combo box vertically. I need to make the height of the textfield section a minimum amount because of touchscreen considerations. It's taller than appropriate for the font size I've chosen.
I know how to reference the textField element of the combo box, so my actual question is can I position the text so that it is centered vertically in a textField? I've seen several of the formatting options, but just haven't stumbled across a setting that allows me to change the default "top justification" that textFields get for their text.
I added a Menu_mc on my stage. Initially, this should be at the center of the stage and when I click on it, it will tween on the upper left corner of the browser. However, when I resize the browser, the Menu_mc goes back to the center of the screen.
I have tried separating a different actionscript file where it is specifically for initialization of the object and another one for resizing. And then when I call it on my main AS file it goes like this:
Code:
// Add the symbols to stage
var Menu_mc = new Menu_MC();
addChild(Menu_mc);
[code]...
But it seems futile.
I'm building a vertical portfolio viewer which uses the below code to create my gallery. I'm loading the data externally via xml (which loads fine, so no problems there). The data which loads is a set of separate .swf files all of different sizes in height. The only thing I can't do is position the newly created .swf file right underneath the last one in the array, based on the height of said last .swf file. The only way I can do it at the moment is per below, which duplicates my project clip (the clip which the .swf's load into) and places the next one right underneath the height of the actual project clip, not the height of the .swf being loaded into it. How I can target the height of the external .swfs, and position the next one in the array right underneath the last one, based on the height of that last .swf, (so if at anypoint in the future the height changed, it would psition itself correctly).
code:
// set up gallery...
setGallery = function () {
// Builds gallery projects menu based on XML Data...
for (i=0; i<total; ++i) {
// Build arrays...
image[i] = xmlNode.childNodes[i].attributes.Image;
[Code] .....
Using this code made by Genesis F5:
Code:
// EXAMPLE CREATED BY GENESIS F5 (www.flashkit.com)
stageheight = Stage.height / 2;
overhangy = ((stageheight * 2) - image._height) / 2;
[code]...
Basically, my problem is that i've got 15 buttons labeled Channel 1 to Channel 15, but when the page first loads up, it skips down showing the very last button at the bottom, rather than the very first button at the top. The top button is off the screen.
I have a slider control that I need to update based on the time of the song. How do I move the slider cursor over dynamically?
I tried this and it didn't update:
sldAudioPosition.value = channel.position;
I 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].....
I have a var that captures a slider position like this:
Code:
var sliderPosition = Math.round((thumb.y-bounds.top)/(bounds.right-bounds.top)*100);
which outputs a number between 0 and 100 starting on 0. I need to scale an mc from 1 at sliderPosition =0 to .42 at sliderPosition = 100.
I'm trying to get the handle on a slider to reset to its original position whenever the frame is changed.
View 2 RepliesI have the following working great:
stop_btn.setStyle("icon", square_mc);player_btn.setStyle("icon", next_mc);
import flash.events.Eventimport flash.events.MouseEvent;import flash.media.SoundTransform;
var alreadyDefined:Boolean;volumen.value = 1;
[Code].....
I have another slider component on the movie with instance name PROGRESO
I would like for PROGRESOnto indicate (update) the sounds progress as it plays and be able to scrub through the sound.
I have a slider in my movie (depositAmount) and in the component inspecter it has Initial value for the slider. In my first frame I have an input field for depositAmount and i want the position of the slider button to reflect that. So if the min and max deposit amount are 0 and $10,000 respectively and the user inputs deposit Amount as $2000, I'd like to position the slider button 1/5th of the way across the slider. Is that possible? At the moment the slider button will just reflect the initial value position.
View 0 RepliesDoes anyone know what I can do to change the claudio scroller so that it will scroll ease depending on the vertical mouse position?
View 4 RepliesFirst, when you download attache file, make sure that file will be in same directory(c: emp). in file test.fla in frame 5 in layer snowing is movie clip, name mcPoly. Now, load testing.swf and hit the movie button. The movie(test.swf) is load, now push the play button and wait until the snowing come, then press the pause botton, and you will see that the snowing keep snow.My questions is, how to stop the snow, when the pause button is press, and when you move the slider, where the snow is starting, the snow has to rest until the play button is press.
View 3 RepliesI have two movieclips in the centre of my stage. One is on top of the other and fade's between them using left/right buttons.I want to change this so that they slide in like a jQuery slider does. I don't want to change the initial position of the movieclips (on top of each other) just change the fade effect to a slide in.
View 1 RepliesI would like to know if there is a way to update the position of the thumb on the Slider component when a movie clip plays. Currently I have a movie clip symbol on my stage with the instance name ShapeMC. It has about 10 frames or animation and two actions. the first frame has a stop action as does the last frame. The actions are on their own layer, separate from the actual animation. I also have the slider component in my library, but it is only there so I can reference it through AS3. My AS3 instantiates a variable of type Slider. I then define the properties, like the width, hieght, thumb size, minimum, maximum, as well as enabling livedragging. I did this so the user can drag the slider and move through the Movie Clip symbol. I added a button that allows the user to click it and autoplay the Movie Clip symbol (ShapeMC). All that works. What I would like to do is when I hit the play button, I would like to see the thumb on the slider move along the slider as the Movie Clip symbol (ShapeMC) plays. So if the Movie Clip symbol reaches frame 5, the slider thumb show be seen as being half way through the tread. I tried putting the currentFrame into the .value property of the slider, but that didn't do anything. No errors, but it didn't move the thumb at all.
View 3 Repliesthis may seem like an odd question. well after spending ages getting my slider to act like I want I now want it to stop at a certain point - but to act 'naturally' - basically the slider accelerates the more a button is pressed and uses a set deceleration number to slow down the slider when the button is unclicked. So the faster its going the longer and further the slider takes to slow down - 'ease' down. when it reaches zero it stops.
If you click on the blue arrow in the movie youll see what i mean. The problem comes up when i want to get the slider to stop. I want the slider not to go beyond a certain point (say 600). This gets very difficult if the slider is to act naturally (as before). I guess some kind of reverse engineering is required that works out what point to start the slow down based on where the slider is and what speed its going at??