EVIL SnaKe

Newbie | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору Это потомучто ты наверное на каждое видео создал отдельный объект Video. А тебе будет достаточно и одного объекта Video а в него уже потом по выбору загружать видеофайлы (мона сразу несколько и они будут крутится друг за другом). Вот пример кода (взял из хэлпа) To accomplish this: Insert the following code into your global functions (click project > functions): --table index starts at 1 video_count = 1; Insert the following code into the On Click event of your load button: video = Dialog.FileBrowse(true, "Load Videos", "", "", "", "", true, true); Video.Load("Video1", video[video_count], true, false); Insert the following code into the On Finish event of your video object: --Traverses the table video_count = video_count + 1; --ensures a valid file will be loaded if video_count < Table.Count[video]+1 then --loads the file Video.Load("Video1", video[video_count], true, false); end |