# Pointer

**URL:** <https://forum.kirupa.com/t/pointer/174895>\
**Category:** flash\
**Created:** [January 10, 2006, 4:08am UTC](https://forum.kirupa.com/t/pointer/174895 "2006-01-10T04:08:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![NinoScript](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ninoscript/32/1484_2.png) [@NinoScript](https://forum.kirupa.com/u/NinoScript)\
**Post date:** [January 10, 2006, 4:08am UTC](https://forum.kirupa.com/t/pointer/174895/1 "2006-01-10T04:08:30Z")

</div>

is there anything like a pointer in flash?

for example: var mc:MovieClip = \_root.my\_mc  
that works like a pointer, couse if i modify mc, im actually modifying \_root.my\_mc.

but that just works for MovieClips…  
… is there anyway to do something like that but with another type of variable? so i can do something like this:

```auto

var s:String = "i am happy";
var p:Pointer = s;
p = "you are bored";
trace(s); //traces "you are bored"

```
