# String Passing

**URL:** <https://forum.kirupa.com/t/string-passing/26632>\
**Category:** flash\
**Created:** [July 24, 2003, 9:10pm UTC](https://forum.kirupa.com/t/string-passing/26632 "2003-07-24T21:10:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![grandsp5](https://avatars.discourse-cdn.com/v4/letter/g/6bbea6/32.png) [@grandsp5](https://forum.kirupa.com/u/grandsp5)\
**Post date:** [July 24, 2003, 9:10pm UTC](https://forum.kirupa.com/t/string-passing/26632/1 "2003-07-24T21:10:41Z")

</div>

I am trying to create a string on the main stage which I will use to load swf’s externally into a scroll pane. Say I create a string called name (name = new String()) and when I click the button called home, name is changed to home.swf (name = “Home.swf”). The button home also loads a movie onto the main stage from the library called animation which is a nice little preloader and a couple of things flying around before I want the page to show up. Within the movie I just called onto the main stage, I include the code myScrollPane.loadScrollContent(name). How come it doesnt load Home.swf when I click the home button?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 24, 2003, 9:13pm UTC](https://forum.kirupa.com/t/string-passing/26632/2 "2003-07-24T21:13:39Z")

</div>

Can you post the code or fla?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 24, 2003, 9:20pm UTC](https://forum.kirupa.com/t/string-passing/26632/3 "2003-07-24T21:20:48Z")

</div>

i can email it. its 500k.
