Contents
Articles
Behaviors
Books
Director News
Director Web Sites
FAQ
Games
Mailing Lists
News Groups
Project Examples
Reviews
Software
Tools
Useful Web Sites
Utilities
Xtras

Don't miss these
Ripple Follow Sprite-Alphamania
binary search
Spawn
Generic MP3 Player
Sound slider
Video Status bar
BehaviorChecker
Fire in Shockwave 3d
Animate Image Sequence
Scale the screen
 

 

 

Behavior Get the computer name of user

Added on 4/8/2003

 

Compatibilities:

Required Xtras:
Buddy API

This item has not yet been rated

Author: marcelaal

Use this behaviour to get the computername of your viewer and let it be placed into a field.

property pTextComp, UserField

on beginsprite me
  set name = pTextComp&&baComputerName( )
  put name into member UserField
end beginsprite me

on getPropertyDescriptionList me
  p_list = [:]
  addProp p_list, #pTextComp, [#format:#string,#default:"Computer name is:",#comment:"The line that is placed before the computer name"]
  addProp p_list, #UserField, [#format:#member,#default:0,#comment:"Select the member field to put the Computername into"]
  return p_list
end  

 


Contact

MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA

Send e-mail