Use this to update your digital video members to QT3 asset members.
on updateQTmovies
--For the QT3 XTRA
repeat with myCastLibNum = 1 to the number of castlibs
repeat with myMemberNum = 1 to the number of members of castLib mycastLibNum
set currentMember = member myMemberNum of castLib myCastLibNum
if the type of currentMember = #digitalVideo then
put "updating" && string(currentMember)
set saveName = the name of currentMember
set saveFileName = the fileName of currentMember
set saveScriptText = the scriptText of currentMember
set saveController = the controller of currentMember
set savePausedAtStart = the pausedAtStart of currentMember
-- save other relevant props here
-- delete the old guy
erase currentMember
-- create the new guy
new #QuickTimeMedia, currentMember
-- reassign props
set the name of currentMember = saveName
set the fileName of currentMember = saveFileName
set the scriptText of currentMember = saveScriptText
set the controller of currentMember = saveController
set the pausedAtStart of currentMember = savePausedAtStart
-- restore other relevant props here
end if
end repeat -- member loop
end repeat -- castLib loop
end
Contact
MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA