home *** CD-ROM | disk | FTP | other *** search
/ Practical Internet Web Designer 89 / PIWD89.iso / pc / main.dxr / behaviours_172_opentuts_developer.ls < prev    next >
Encoding:
Text File  |  2003-12-08  |  444 b   |  19 lines

  1. property spriteNum, pNum, pName
  2. global gWhichPlatform
  3.  
  4. on beginSprite me
  5.   pNum = sprite(me.spriteNum)
  6.   pName = pNum.member.name
  7. end
  8.  
  9. on mouseUp me
  10.   if gWhichPlatform = "Mac" then
  11.     filetorun = "contents:developer:tutorial_files:"
  12.     Ok = baOpenFile(the moviePath & filetorun, "Maximised")
  13.   else
  14.     filetorun = "\contents\developer\tutorial_files\"
  15.     Ok = baOpenFile(the moviePath & filetorun, "normal")
  16.   end if
  17.   pNum.cursor = 0
  18. end
  19.