# PHP whit \_level is that a problem?

**URL:** https://forum.kirupa.com/t/php-whit--level-is-that-a-problem/18989
**Category:** flash
**Created:** [April 23, 2003, 8:40am UTC](https://forum.kirupa.com/t/php-whit--level-is-that-a-problem/18989 "2003-04-23T08:40:52Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![mooler](https://avatars.discourse-cdn.com/v4/letter/m/b4bc9f/32.png) [@mooler](https://forum.kirupa.com/u/mooler)
#### Post date: [April 23, 2003, 8:40am UTC](https://forum.kirupa.com/t/php-whit--level-is-that-a-problem/18989/1 "2003-04-23T08:40:52Z")

</div>

Hi again

I´m trying to use a guestbook (from flash-db) for my site. But when I load (loadMovie) my guestbook swf (\_level3) it doesn´t pick upp the data that my PHP file sends.

[http://www.cema.se/temp/](http://www.cema.se/temp/) (click the guestbook button)

But when I browes directly to the swf file

[http://www.cema.se/temp/GuestBook.swf](http://www.cema.se/temp/GuestBook.swf)

the data loads just fine so I figure the problem must lay in the \_level department…or?

If anyone has any ideas please respond

---

<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: [April 23, 2003, 8:49am UTC](https://forum.kirupa.com/t/php-whit--level-is-that-a-problem/18989/2 "2003-04-23T08:49:39Z")

</div>

Hi Mooler,  
Couldn’t open your links, but it sure sounds like a pathing problem to me. What code are you using to load the variables into your flash movie ?

SteveD

---

<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: [April 23, 2003, 9:26am UTC](https://forum.kirupa.com/t/php-whit--level-is-that-a-problem/18989/3 "2003-04-23T09:26:14Z")

</div>

This is the code in the news.swf:s main timeline that swf is loaded into the main.swf (index.swf) at level3

[AS]NumLow = 0;  
NumHigh = 10;  
loadVariables(“[http://www.cema.se/temp/nyheterinput.php?NumLow="+NumLow+"&NumHigh="+NumHigh+"&R=](http://www.cema.se/temp/nyheterinput.php?NumLow=%22+NumLow+%22&NumHigh=%22+NumHigh+%22&R=)”+random(999), “\_root.level3”);  
stop();  
[/AS]

thx for responding

---

<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: [April 23, 2003, 9:45am UTC](https://forum.kirupa.com/t/php-whit--level-is-that-a-problem/18989/4 "2003-04-23T09:45:49Z")

</div>

Hi,  
If the news.swf is loading into \_level3, your problem is this :[AS]"\_root.level3"[/AS]  
Try changing your code to :  
[AS]loadVariables(“[http://www.cema.se/temp/nyheterinput.php?NumLow="+NumLow+"&NumHigh="+NumHigh+"&R=](http://www.cema.se/temp/nyheterinput.php?NumLow=%22+NumLow+%22&NumHigh=%22+NumHigh+%22&R=)”+random(999), 1);[/AS]

Thats of the top of my head, so please let me know if it works ( or not)

SteveD

---

<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: [April 23, 2003, 10:05am UTC](https://forum.kirupa.com/t/php-whit--level-is-that-a-problem/18989/5 "2003-04-23T10:05:55Z")

</div>

Ok had to move to another comp so I don´t have flash here but I´ll try it in a while.

One question what does do “1” end the en of the statment do?

:nerd:
