On Jan 16, 2004, at 12:05 PM, Rodrigo Peres wrote:

Hi list,

In addition of my last post regarding GetNetText, I've tried a very simple
script just to see what's happened.

Rodrigo, this one works without any trouble. Just slap it into a frame script and see what happens for you. I can't swear to it, but I wonder if the 'halt' you're calling is hosing you.


I've pretty much always done net operations in frame handlers, using properties, rather than trying to do it with globals &c.


PROPERTY pnNetID


on beginSprite me

pnNetID = getNetText("http://www.rodrigoperes.com.br/desen/games/php/ memoria_xml.php?atividade_id=12")

END beginSprite

on exitFrame me

  if (netdone(pnNetID) = true AND netError(pnNetID) = "OK") then
    put netTextResult(pnNetID)
  end if

go to the frame

END exitFrame


Warren Ockrassa | President, nightwares LLC [EMAIL PROTECTED] nightwares LLC | Consulting Programming http://www.nightwares.com/ Author | Director 8.5 Shockwave Studio: A Beginner's Guide Chapter samples | http://www.nightwares.com/director_beginners_guide/

[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]

Reply via email to