Dguestbook

avaz00

Grünschnabel
HI there

i got a guestbook from the internet, but does not work when open from inside the main.swf, it works fine when open on is won, and i cant seem to resolv the problem , i`ve try the lookroot command but dind work, can you help on that matter

tks in advance

source files can be found in were

http://www.almanova.info/test/dguestbook.zip
 
Hi,

this guestbook uses the loadVariablesNum-method to send and load data. Variables are passed to (and from) the stated level.

Therefore, just using lockroot will not work: it only locks timelines, no levels.

Try the following:

1. replace all loadVariablesNum witch loadVariables - e.g.
Code:
loadVariables("dguestbook.php", _root, "POST");
instead of
Code:
loadVariablesNum ("dguestbook.php", 0, "POST");

2. use lockroot additionally:
Code:
// first frame of main timeline:

this._lockroot = true;

Now all variables should be passed to (and from) the local timeline (wich is locked by _lockroot).

regards
.
 
HI Tobi

thanks very much it work .

Just another thing , if i post a comment, and change the color or the size letter, all the other post change aswell, if i use the default settings it posts the comments as it should.

Any ideia?

regards
 
Hi,

how do you change the color and font-size? As far as i can see, this guestbook is not designed to support multiple font-settings.

Usually i refuse supporting components created by other people (understanding alien code is quite often much more complex than creating new one ;)). that means: it would be less effort to build a new guestbook that provides the desired features.

regards
.
 
Zurück