# Problem with variables

**URL:** <https://forum.kirupa.com/t/problem-with-variables/235552>\
**Category:** Uncategorized\
**Created:** [August 12, 2007, 7:24pm UTC](https://forum.kirupa.com/t/problem-with-variables/235552 "2007-08-12T19:24:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leo75](https://avatars.discourse-cdn.com/v4/letter/l/779978/32.png) [@Leo75](https://forum.kirupa.com/u/Leo75)\
**Post date:** [August 12, 2007, 7:24pm UTC](https://forum.kirupa.com/t/problem-with-variables/235552/1 "2007-08-12T19:24:50Z")

</div>

[FONT=Times New Roman][SIZE=3]Hi there…[/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3]I am having some problems with the idea of passing values from one swf to another.[/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3]Lets say, I have A.swf which loads B.swf .[/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3]I am trying to load or display b.swf and at the same time pass a variable to b.swf when a button in A.swf is pressed.[/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3]But I want to load b.swf as b.html and at the same time display the “new” text.[/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3]Something like:[/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3]

```auto
[/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3]on(release)[/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3]{[/SIZE][/FONT]
[SIZE=3][FONT=Times New Roman] m_var_in_b.text = “hi there”;[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman] getURL(“….b.html”, _blank); //trying to open the html, that has the b.swf file, with the new text: “hi there’ inside of the b.swf;[/FONT][/SIZE]
[FONT=Times New Roman][SIZE=3]}[/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3]

```

[/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3]Anyone? Hints? Suggestions? Clues?[/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3]Anything will be welcome.[/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3]Cheers.[/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3]Leo.[/SIZE][/FONT]
