Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

loadVariablesNum guest book problem

Status
Not open for further replies.

mancroft

Programmer
Oct 26, 2002
267
GB
This is for a guestbook.

The flash has a defaultplaceholder with the .swf file into which i am trying to load the php file itself in an empty movieclip called placeholder3.

Problem 1 solved:

_root.placeholder3.loadVariables("guestbook.php?lowlimit="+lowlimit+"&highlimit="+highlimit);

loads the file initially.

Problem2... how to update the file

loadVariablesNum("guestbook.php", 0, "POST");

updates the file on the server but does not immediately reload into the guest book but the updated file is loaded when the whole guestbook reloads.

_root.placeholder3.loadVariables("guestbook.php", "POST");

doesn't appear to work either.

Any help will be most appreciated
 
I can help if you are using MX as this problem is easily overcome using the Loadvars arguement as opposed to loadvariables. There are known problems with loadvariables in flash 5.
 
Hello Bill

I was trying to do it in Flash 5 simply because the rest of the site is Flash 5 so that as many people as poss can see it.

However, this has been driving me up the wall and i shall use MX for this section of my site only.

Please give a clue as to how best use Loadvars in this instance.

Many thanks.

John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top