This is a quick utility to check a movie for any castmembers that do not have the correct bit-depth.
--Copyright 1999 Chuck Neal
--chuck@mediamacros.com
--If you find this code helpful, send me an e-mail and let me know. :-)
on checkDepth whatDepth
--Checks the pixel depth of all members
set myList = []
repeat with x = 1 to the number of castlibs
repeat with y = 1 to the number of members of castLib x
set thisMember = member y of castlib x
if the type of member thisMember = #bitmap then
if the depth of member thisMember <> whatDepth then
add myList, the name of member thisMember && the name of castlib x && the depth of member thisMember
end if
end if
end repeat
end repeat
repeat with z = 1 to count(myList)
put getAt(myList, z)
end repeat
if count(myList) < 1 then
put "All Correct"
end if
end
Contact
MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA