mooler
April 23, 2003, 8:40am
1
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/ (click the guestbook button)
But when I browes directly to the swf file
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
system
April 23, 2003, 8:49am
2
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
system
April 23, 2003, 9:26am
3
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= ”+random(999), “_root.level3”);
stop();
[/AS]
thx for responding
system
April 23, 2003, 9:45am
4
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= ”+random(999), 1);[/AS]
Thats of the top of my head, so please let me know if it works ( or not)
SteveD
system
April 23, 2003, 10:05am
5
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?