# Variable Paths

**URL:** <https://forum.kirupa.com/t/variable-paths/318708>\
**Category:** flash\
**Created:** [January 27, 2011, 6:51pm UTC](https://forum.kirupa.com/t/variable-paths/318708 "2011-01-27T18:51:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jkuzma](https://avatars.discourse-cdn.com/v4/letter/j/3ab097/32.png) [@jkuzma](https://forum.kirupa.com/u/jkuzma)\
**Post date:** [January 27, 2011, 6:51pm UTC](https://forum.kirupa.com/t/variable-paths/318708/1 "2011-01-27T18:51:53Z")

</div>

I have taken an existing gallery I made and added a preloader to it. Now it’s not working.

The preloader and the gallery (scene named "index) are in seperate scenes. The gallery has a dyanmic text field, instance named “productlabel” which is set in the first frame and changes to different values based on button rollovers and rollouts as follows:

productlabel.text = “Gallery”;

on (rollOver) {  
productlabel.text = “Photo Name”;  
}

on (rollOut) {  
productlabel.text = “Gallery”;  
}

Since I’ve added the preloader scene, the text field functionality does not work. If I delete the scene from the project, the functionality returns. I’ve used “\_root” “this” “\_parent” tried setting the text field’s variable, all to no avail.

Any suggestions?
