newVideoclip

Typemessage
DictionaryLCS
LibraryLiveCode Script
Syntax
newVideoclip
Associationsvideoclip
Summary

Sent to a new video clip right after it's created.

Introduced8.1
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
on newVideoclip -- play a new video clip as soon as it is created
   play the target
end newVideoclip
RelatedKeyword: templateVideoclip
Property: script
Command: copy, clone, paste
Object: videoclip
Glossary: object, trap, message, tool, message path
Control Structure: pass
Description

Handle the newVideoclip message if you want to create additional objects, switch tools, or do other tasks when a new videoclip is created.

Normally, the newVideoclip message is handled at a higher level of the message path, since the newly created videoclip does not yet have a script unless the templateVideoclip contains one.

The actual creation is not triggered by the newVideoclip message, so trapping the message and not allowing it to pass does not prevent the videoclip from being created.

Tagsobjects