Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2005
    Location
    Edmonton, AB
    Posts
    37

    Grin WMV Plays in Preview not in Build

    I recently UG'ed from AMS 4 to AMS 7 and I am enjoying the new features alot. My problem is that I have a very simple menu that will be distro'ed on CD. It has 1 WMV and 1 PDF attached.

    The content displays correctly when I preview it, and also when I build to an single file EXE, but not when I build to a folder for burning to CD. The PDF displays correctly in all cases.

    When I click the play video button I first get an error '1011', I click OK and get a dialogue box stating There is no application associated with the given file name extension. I have tested it on 2 'puters, both running WIN XP Pro.

    It is a simple WMV that plays fine when I navigate to the folder on the CD and click it. It is a standard run of the mill Windows Media 9 codec video.

    I am using the Play Multimedia Quick Action to link to the file. I am 3 days from delivery and getting a little worried.

    Pretty new to scripting, but would appreciate any suggestions.

    Thankx!
    Lou
    Attached Files

  2. #2
    Join Date
    Jun 2002
    Location
    Israel
    Posts
    1,843
    Maybe wmv is not supported by the Play Shell command (which is the one launched with a quick action).
    I would suggest you use the "normal" script way:
    under the onClick event on the PlayVideo button, put the following action:
    File.Open("AutoPlay\\Videos\\Permit SH-9280.wmv", "", SW_SHOWNORMAL);

    Good luck
    Yossi

  3. #3
    Join Date
    Dec 2007
    Location
    Netherlands
    Posts
    81
    You can easily import the WMV file into your project as a Video Object and then it will play without any additional scripting:
    Just click the icon for Video Object in the toolbar (icon looks like a camera), browse to your WMV file and select it. Position it and save your project.
    It should now play no matter which build settings you choose.

    Perhaps you could place each video on its own separate page in your project and make various "play tutorial A", "play tutorial B" buttons, each button pointing to the right video page with a Quick Action: On Click > Show Page > Specific Page and select the page where you put the video.

    On the video pages you will need a button to be able to navigate back to the original page, to be able to select another video.

    Hope this helps,

    Loes

  4. #4
    Join Date
    Jan 2005
    Location
    Edmonton, AB
    Posts
    37

    Thank you for your input and suggestions

    It is my client's preference (not mine!) that the video plays in an external player so importing it as a Video.Object was not an option.

    I used the scripting wizard as suggested, with a minor file location change and it works perfectly now. Thank you so much for the suggestions.

    This is one of the best forums I use (Adobe is good too), as real world application builders offer real advice.

    I will make my deadline now thanks to you guys.

    Thank you again.
    Lou

  5. #5
    Join Date
    Dec 2003
    Location
    Location! Location!
    Posts
    6,137
    You may be interested in this Post (thread) of mine about video in an external (free) player:

    http://www.indigorose.com/forums/sho...&highlight=VLC

    Don't miss out, this is a good product and there are may command-line options to help facilitate your project's needs (client's wants).

    Intrigued

Similar Threads

  1. Audio Tracks Project
    By Michael in forum AutoPlay Media Studio 5.0
    Replies: 7
    Last Post: 03-18-2004, 10:58 PM
  2. INFO: The Difference Between Preview and Build
    By Support in forum AutoPlay Menu Studio 3.0
    Replies: 0
    Last Post: 10-29-2002, 12:22 PM
  3. HOWTO: Build a Setup from the Command Line
    By Support in forum Setup Factory 5.0
    Replies: 0
    Last Post: 10-08-2002, 01:43 PM
  4. Preview Build Error
    By photoworks in forum AutoPlay Menu Studio 3.0
    Replies: 2
    Last Post: 05-11-2001, 04:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts