Image.HideAll y Image.VisibleAll

Ejemplos y plantillas para Autoplay Media Studio.
Buenas amigos de AMSSpecialist os traigo una pequeña función que oculta de manera sistematica imagenes tanto todas como solo algunas y de igual manera las muestra, nada del otro mundo... la encontré mirando en mi ya habitual foro de ru-board, aquí os dejo un pequeño ejemplo que he echo y el script, espero que lo disfrutéis!

Script:
Image.HideAll = function (tImages) 
    if not tImages then 
        tImages = {}; 
        local tObjects = Page.EnumerateObjects(); 
        if tObjects then 
            for i, sObject in pairs(tObjects) do 
                if (Page.GetObjectType(sObject) == OBJECT_IMAGE) then 
                    tImages[#tImages + 1] = sObject; 
                end 
            end 
        end 
    end 
    if (#tImages > 0) then 
        for i = 1, #tImages do 
            Image.SetVisible(tImages[i], false); 
        end 
    end 
end

Image.VisibleAll = function (tImages) 
    if not tImages then 
        tImages = {}; 
        local tObjects = Page.EnumerateObjects(); 
        if tObjects then 
            for i, sObject in pairs(tObjects) do 
                if (Page.GetObjectType(sObject) == OBJECT_IMAGE) then 
                    tImages[#tImages + 1] = sObject; 
                end 
            end 
        end 
    end 
    if (#tImages > 0) then 
        for i = 1, #tImages do 
            Image.SetVisible(tImages[i], true); 
        end 
    end 
end 
Descarga:
Image HideAll And VisibleAll.apz
too professional Excellent Script

thanks !
thanks ceone for this template