Farbflash projects: Imaging lingo table | 3-D scene list | Find all | Handler menu | Lingo message window

Ignore:
Timestamp:
10/24/08 12:12:09 (4 years ago)
Author:
alex
Message:

updated movie to incorporate new version of library scripts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lingosource/castlib2/ToolTipBeaver_1Host.ls

    r14 r18  
    11-- ToolTip Behavior 
    2 -- by Alex da Franca ©2001   da.franca@online.de 
     2-- by Alex da Franca c2001   da.franca@online.de 
    33-- drag this behavior onto any sprite with the provided "ttimageSave" bitmap member 
    44-- customize the background color and the frame color of the tooltip by altering "ttimageSave" 
     
    5353on beginsprite me 
    5454   
    55   includes = (mGetAleXtras()).getaprop(#scripts) 
    56    
    57   ancestor = rawnew(includes.getaprop(#ToolTipBeaver_1)) 
     55  scr = xscr(#ToolTipBeaver_1) 
     56  if listP(scr) then exit 
     57  if ilk(scr) = #instance then scr = scr.script 
     58  ancestor = rawnew(scr) 
    5859  callAncestor(#new, me) 
    5960   
Note: See TracChangeset for help on using the changeset viewer.