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/ButtonManagerHost.ls

    r14 r18  
    1 -- Button Behavior by Alex da Franca ©2003 da.Franca@online.de 
     1-- Button Behavior by Alex da Franca c2003 da.Franca@online.de 
    22-------------------------------------------------------------------- 
    33 
     
    8383on beginSprite me 
    8484   
    85   --  includes = (mGetAleXtras()).getaprop(#scripts) 
    86   --   
    87   --  ancestor = rawnew(includes.getaprop(#ButtonManager)) 
    88    
    8985   
    9086  scr = mGetXScript(#ButtonManager) 
    9187   
    92   if voidP(scr) then exit 
     88  if listP(scr) then exit 
     89  if ilk(scr) = #script then ancestor = rawnew(scr) 
     90  else ancestor = rawnew(scr.script) 
    9391   
    94   ancestor = rawnew(scr) 
    9592   
    9693  callAncestor(#new, me) 
     
    137134  liste = [:] 
    138135   
    139   --  includes = (mGetAleXtras()).getaprop(#scripts) 
    140   --  if voidP(includes) then 
    141   --    li = mGetAleXtras() 
    142   --    includes = [:] 
    143   --    li.setaprop(#scripts, includes) 
    144   --  end if 
    145   cmonm = mGetXScript(#commonmoviescript) 
    146   if not voidP(cmonm) then fontliste = call(#InitFonts, [cmonm]) 
     136  cmonm = mGetXScript() 
     137  if not voidP(cmonm) then fontliste = call(#InitFonts, cmonm) 
    147138   
    148139  if not listP(fontliste) then fontliste = ["Arial"] 
Note: See TracChangeset for help on using the changeset viewer.