Learn how to control and track item position on stage using the slider component.
HERE IS THE SOURCE CODE!
// Avraham Saltoun
// solutions at say-web dot com
// FREE to USE, COPY and DISTRIBUTE
import fl.controls.Slider;
import fl.events.SliderEvent;
// This will import slider
// properties, methods and events
xSlider.value = ball.x;
ySlider.value = ball.y;
//This will adjust the sliders
// to hold the value of the
// coordinates of present location
xSlider.addEventListener (SliderEvent.CHANGE, sliderChange);
ySlider.addEventListener (SliderEvent.CHANGE, sliderChange);
//Both Sliders will go to the same function
function sliderChange (event:SliderEvent){
switch (event.target.name){
case ‘ySlider’:
ball.y = event.target.value;
break;
case ‘xSlider’:
ball.x = event.target.value;
break;}
x_txt.text = String(ball.x);
y_txt.text = String(ball.y);
}
//thanks for watching
// subscribe from the website.




January 29th, 2012 at 12:45 am
buy xanax no prescription – purchase xanax online no prescription
January 29th, 2012 at 2:32 am
buy meridia cheap – buy meridia online no rx
January 29th, 2012 at 6:25 am
ativan no prescription – buy ativan no prescription
January 29th, 2012 at 8:08 am
soma generic – buy soma online
January 29th, 2012 at 9:26 am
buy cialis generic online – buy cialis no rx
January 29th, 2012 at 1:23 pm
xanax without prescription – order xanax no prescription
January 29th, 2012 at 2:26 pm
online generic klonopin – buy klonopin no perscription
January 29th, 2012 at 3:08 pm
buy ambien without prescription – ambien no prescription
January 29th, 2012 at 7:58 pm
order cheap ativan – order ativan online
January 29th, 2012 at 8:38 pm
buy cheap valium online – buy valium online
January 30th, 2012 at 2:12 am
buy meridia online no rx – buy meridia no prescription
January 30th, 2012 at 2:49 am
purchase ambien – buy zolpidem online
January 30th, 2012 at 9:46 am
order xanax no rx – buy 2mg xanax
January 30th, 2012 at 10:08 am
buy cheap online soma – soma online order
January 30th, 2012 at 10:30 am
buy tramadol – buy generic tramadol
January 30th, 2012 at 5:42 pm
buy phentermine no rx – phentermine 37.5
January 30th, 2012 at 6:08 pm
oNdySz nwumpjjcnztg, [url=http://lfhfccmbmdak.com/]lfhfccmbmdak[/url], [link=http://icklvuzffsof.com/]icklvuzffsof[/link], http://dlerrvpkfppy.com/
January 30th, 2012 at 6:50 pm
purchase valium – buy valium cheap
January 30th, 2012 at 10:28 pm
cialis order – buy cheap cialis online no prescription
January 30th, 2012 at 11:37 pm
buy cheap ambien online – buy ambien online wthout prescription
January 31st, 2012 at 6:18 am
valtrex order – order valtrex
January 31st, 2012 at 8:34 am
buy tramadol online – tramadol to buy
January 31st, 2012 at 11:54 am
buy diazepam online – order valium online no prescription
January 31st, 2012 at 3:29 pm
buy cheap xanax online – order xanax no prescription
January 31st, 2012 at 7:12 pm
buy ativan generic online – online ativan
January 31st, 2012 at 8:08 pm
cheap xanax – buy xanax 2mg
January 31st, 2012 at 11:44 pm
meridia order – order meridia cheap
February 2nd, 2012 at 2:44 am
order ambien online – order cheap ambien
February 2nd, 2012 at 6:09 am
online xanax – order xanax online
February 2nd, 2012 at 6:11 am
buy ambien online cheap – order ambien no prescription
February 2nd, 2012 at 9:44 am
buy ambien without prescription – ambien online order