< Previous | Contents | Next >

time (number)

The current frame number, as shown on the comp’s timeline.

Example


function NotifyChanged(inp, param, time)

if inp == InNotify then -- If Notify Change check box is changed,

then rename the Control names and Un/ Hide sliders

local locked = (param.Value > 0.5) if locked then

InSliderH:SetAttrs({ LINKS_Name = "Slider Hide/Show" })

InSliderH:SetAttrs({ IC_Visible = true })

InNotify:SetAttrs({ LINKS_Name = "Notify Change Showing" })

else

InSliderH:SetAttrs({ LINKS_Name = "Slider Hide/Show Hidden" })

InSliderH:SetAttrs({ IC_Visible = false })

InNotify:SetAttrs({ LINKS_Name = "Notify Change Hidden"

})

end

end

end