Welcome to the Indigo Rose Software discussion forums! You will need to sign up for a forum account and login before you can post. Need help? View the Forum FAQ.
Simply insert a medi aplayer object, point it to your file, set up it's options to suit your project, and then in the page actions "OnSHow" hide the media player object if need be. Then your button just needs to contain a media object PLAY command and a show object action if needed...
OK... I got some of it:
page actions/Page.HideObject ("MY Video")
The button would be:
-On Mouse Click-
Page.ShowObject ("My Video")
AVIObject[My Video].Play
Unfortunately at run time it says it can't find the video :-(
I would also like to have the video hide again after it ends, how are these two achieved?
This is becuase it takes the AVI OBject a bit of time to load. If you want to accomplish this, turn the "Start Automatically" option on and just Show your AVI.
mark.
MSI Factory The Next Generation Intelligent Setup Builder
Help! I'm new to 4.0 and I too am trying to play an avi when a button is pressed. I've followed the instructions in this thread and I get the attached error message. Thanks!
As Mark said earlier just make your video 'Start Automatically' and then in the "On Mouse Click" event of the button you are using you would simply have a Page.Show(AVI1) action. Then if you want to hide the video again put a Page.HideObject(AVI1) in the "On Video Finish" event of the AVI video Object.
If this is not clear please take a look at the sample file that is attached to this post.
Just for the record, can someone cite the reasons for the AVI object still remaining in the program? In other words, what purpose(s) does it service beyond the Media Player object? Why wouldn't anyone just use the Media Player object instead? Just curious.
I'm sorry to be a pest but I've followed your suggestions and it still is not working. The media object appears but does not play. Are there any tutorials available for purchase? Thanks
If you create a ZIP Archive of a project that shows what procedure you are using, I'd be happy to take a look. You can find that feature under TOOLS->CREATE ZIP ARCHIVE. You can send it to [email protected]. Even a project file to take a look at will help me find your problem.
Comment