# Tricky variable

**URL:** <https://forum.kirupa.com/t/tricky-variable/35041>\
**Category:** Uncategorized\
**Created:** [November 9, 2003, 7:16pm UTC](https://forum.kirupa.com/t/tricky-variable/35041 "2003-11-09T19:16:34Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanman918](https://avatars.discourse-cdn.com/v4/letter/s/c89c15/32.png) [@sanman918](https://forum.kirupa.com/u/sanman918)\
**Post date:** [November 9, 2003, 7:16pm UTC](https://forum.kirupa.com/t/tricky-variable/35041/1 "2003-11-09T19:16:34Z")

</div>

Hey, I have a flash navigation on an HTML site. When I click on a button in flash I want it to bring up a new page inside an Iframe. Is there anyway where I can get the on release command to send a variable to the browser to bring up that page in that frame?

---

<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:** [November 9, 2003, 7:39pm UTC](https://forum.kirupa.com/t/tricky-variable/35041/2 "2003-11-09T19:39:15Z")

</div>

yeah, in the iframe be like \<iframe name=“iframe”\> and then in the link in the onrelease say

```auto
getURL("./mypage.html","iframe");

```

---

<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:** [November 9, 2003, 8:02pm UTC](https://forum.kirupa.com/t/tricky-variable/35041/3 "2003-11-09T20:02:21Z")

</div>

Thanks for the help man you can check out what im working on at [www.obsidian-hosting.com](http://www.obsidian-hosting.com)

---

<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:** [November 9, 2003, 8:29pm UTC](https://forum.kirupa.com/t/tricky-variable/35041/4 "2003-11-09T20:29:33Z")

</div>

Nice, I just saw it over in another forum. nice layout :thumb:

---

<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:** [November 9, 2003, 9:08pm UTC](https://forum.kirupa.com/t/tricky-variable/35041/5 "2003-11-09T21:08:59Z")

</div>

hey i got another possibly tricky question because I just decided to do this all in flash. OK ill try to explain this the best and non confusing as I can. I have my main scene that loads my navigation under the loadMovieNum(“homesub.swf”, 1); and i also have a load under loadMovieNum(“main.swf”, 4); that loads my actually gerth of the page. Now thats all in a movie called final.swf What I want to happen is the homesub.swf will boot aswell as the main.swf but when I click on buttons in homesub.swf I want new stuff to apear in main.swf I tried to have this on my buttons  
on (release) {  
unloadMovieNum(4);  
loadMovieNum(“homeaboutus.swf”, 4);  
}  
But the orginaly main.swf doesn’t go away and the new page just loads on top of it. Is there anyway I can coomunicate between the final.swf and homesub.swf to load more movies on final.swf’s leve 4.

---

<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:** [November 9, 2003, 9:31pm UTC](https://forum.kirupa.com/t/tricky-variable/35041/6 "2003-11-09T21:31:14Z")

</div>

nm, i dedcided to cheat and just do it some other way
