Indigo Rose Software
  #1  
Old 09-26-2003
Desmond's Avatar
Desmond Desmond is offline
Indigo Rose Staff Member
 
Join Date: Jul 2003
Posts: 628
Grin Playing Multiple Video Files in Sequence

Playing Multiple Video Files in Sequence

Playing Multiple Video Files in Sequence

Document ID: IR10028
The information in this article applies to:
  • AutoPlay Media Studio 5.0 Standard Edition
  • AutoPlay Media Studio 5.0 Professional Edition

SUMMARY

This article describes how to play multiple video files in sequence.

DISCUSSION

In AutoPlay Media Studio 5.0, it is possible to play one video after another utilizing the On State event.

As an example, we will create a project with one button object and one video object. The user will click on the button, and load multiple videos into a table. The project will then play one video after another until each video has been played.

To accomplish this:

  1. Insert the following code into your global functions (click project, global functions):

    video_count = 1; --table index starts at 1
  2. 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);
  3. Insert the following code into the On Finish event of your video object:

    --Traverse the table

    video_count = video_count + 1;



    --ensures a valid file will be loaded

    if video_count < Table.Count(video)+1 then

    --load the file

    Video.Load("Video1", video[video_count], true, false);

    end

MORE INFORMATION

For more information please see the following topics in the AutoPlay Media Studio 5.0 help file:

  • Program Reference | Actions | Video | Video.Load

KEYWORDS: AutoPlay Media Studio 5.0, Load, Video, Play, Multiple Files


Last reviewed: September 26, 2003
Copyright © 2003 Indigo Rose Corporation. All rights reserved.
__________________
Setup Factory 8.0 comes with over 250 actions so you can create smaller, faster and more intelligent software installers than ever before.

WebHelp Guides: AMS | MSIFACT | SUF | TU | VP
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On


Similar Threads
Thread Thread Starter Forum Replies Last Post
rename multiple files jenny62 Setup Factory 6.0 1 04-13-2004 02:25 PM


All times are GMT -6. The time now is 08:25 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software