0 Replies Latest reply on Sep 10, 2010 4:25 AM by djh88ukwb

    s:TitleWindow, change close button action

    djh88ukwb Level 1

      Hello all.

       

      I have a s:titlewindows that has a close attribute of - close="titlewindow.visible=false".

       

      But i want to be able to change this value via a function.  basically my function is

       

      if (event.time > stopTime) ChapterGuideCont.close="titlewindow.visible=true";

       

      Althgouh i get an error message because close dosent exisit apparently.

       

      So is there any easy way to be able to change the close attribute from a function ?