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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

getNetText

Status
Not open for further replies.

kieksken

Technical User
Joined
Apr 11, 2001
Messages
1
Location
BE
Dear,

i have a problem.
I try to get some text from a txt file on my server.
But I don't get the text.
Can some one help me?
I use the code like in the help of director 8....

Code:


property spriteNum
property theNetID
on mouseUp me
theNetID = getNetText ("end

on exitFrame me
if netDone(theNetID) then
sprite(spriteNum + 1).member.text = netTextResult(theNetID)
end if

end

In the textfile, you only find the word "online".
The purpose is to see if the user if connected to the internet.
If the text of that member = online, the user is connected.
But it doesn't work.
Help please

Stef
 
change theNetID to a global

property spriteNum
global theNetID
on mouseUp me
theNetID = getNetText ("end

on exitFrame me
if netDone(theNetID) then
sprite(spriteNum + 1).member.text = netTextResult(theNetID)
end if

end
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top