# Get to certain value from another class

**URL:** <https://forum.kirupa.com/t/get-to-certain-value-from-another-class/295432>\
**Category:** Uncategorized\
**Created:** [August 30, 2009, 7:04am UTC](https://forum.kirupa.com/t/get-to-certain-value-from-another-class/295432 "2009-08-30T07:04:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lope](https://avatars.discourse-cdn.com/v4/letter/l/43a26b/32.png) [@lope](https://forum.kirupa.com/u/lope)\
**Post date:** [August 30, 2009, 7:04am UTC](https://forum.kirupa.com/t/get-to-certain-value-from-another-class/295432/1 "2009-08-30T07:04:59Z")

</div>

I have a slider class, something like this:  
[http://www.openlaszlo.org/lps/docs/guide/images/slider1.png](http://www.openlaszlo.org/lps/docs/guide/images/slider1.png)

and in the end it calculates slider value based on its position and outputs that value in a textfield, but how do I get to this value from another class so i can do something with it?

```auto
private function updateValue():void {

   _holder.sliderValue = Math.floor( (_handle.x * 100 ) / _track.width);
   _txt.text = _holder.sliderValue;

}

```
