Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently January 9th, 2025, 9:33 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Too simple to ask but...
PostPosted: June 13th, 2008, 3:53 pm 
Offline

Joined: May 16th, 2008, 4:50 pm
Posts: 368
Location: Berghem The Netherlands
Opus: Opus Pro 9.75
OS: Windows 10
System: `HP
:oops: Is it that i am tired (it's friday the 13th) or is it something else?
I'dd like to play a sound using the action 'Play Sound' without using a script.

What did:
I made a load button with the function load mp3 and store it in var A1.
In the 'play Sound' function i told filename <A1>
So far So good...
In Opus i can load and play music as much as i like, but when i make a stand alone EXE of this thing it won't work
What's the problem?
Please look at the .imp file and tell me what i am doing wrong :x

Like to hear from one of you,


Ad Mulders


You do not have the required permissions to view the files attached to this post.


Top
 Profile Visit website  
 
 Post subject:
PostPosted: June 13th, 2008, 5:27 pm 
Offline

Joined: March 4th, 2007, 7:17 pm
Posts: 132
Try to add the necessary audio files in the Additional resources (properties of the publication) using Aliases.

_________________
Opus Pro 5.5
Win XP


Top
 Profile  
 
 Post subject:
PostPosted: June 13th, 2008, 7:37 pm 
Offline

Joined: May 16th, 2008, 4:50 pm
Posts: 368
Location: Berghem The Netherlands
Opus: Opus Pro 9.75
OS: Windows 10
System: `HP
How do i know what files they gonne use? or do i understand your answer not good


Ad


Top
 Profile Visit website  
 
 Post subject:
PostPosted: June 13th, 2008, 8:29 pm 
Offline

Joined: March 4th, 2007, 7:17 pm
Posts: 132
For example, I need to play audio files from my folder in random order.

I created a folder and save in it nine mp3 files (1.mp3, 2 ... 9.mp3)
Then add it to Additional resources with Alias "MP".
Then add page trigger "On show" as a action as in the picture.
Pathname of filename: "MP\<snd>.mp3"

Of course, the approach to the delay is not very elegant, but it works:)
In the same way you can make a playlist using the list box.

_________________
Opus Pro 5.5
Win XP


Last edited by Volgar on June 13th, 2008, 8:38 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: June 13th, 2008, 8:37 pm 
Offline

Joined: March 4th, 2007, 7:17 pm
Posts: 132
Attachments is not loads
"The Attachment/Image must be less than 800 pixels wide and 600 pixels high", but my images have 790x400 size :(

_________________
Opus Pro 5.5
Win XP


Top
 Profile  
 
 Post subject:
PostPosted: June 14th, 2008, 8:21 am 
Offline

Joined: May 16th, 2008, 4:50 pm
Posts: 368
Location: Berghem The Netherlands
Opus: Opus Pro 9.75
OS: Windows 10
System: `HP
Hello Volgar,

Can you send the picture with you example or put it online?
csnmedia2@gmail.com


Ad


Top
 Profile Visit website  
 
 Post subject:
PostPosted: June 14th, 2008, 9:09 am 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
If you look at the publication errors you'll see that it's trying to find the <A1> MP3 file.


Because this doesn't exist, it doesn't publish correctly. Use script commands to control open, play & stop the MP3 will solve the problem.

Look up OpenSound in the script help.

Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject:
PostPosted: June 14th, 2008, 9:39 am 
Offline

Joined: March 4th, 2007, 7:17 pm
Posts: 132
Images for my post:

Image
Image

Image
Image

_________________
Opus Pro 5.5
Win XP


Top
 Profile  
 
 Post subject:
PostPosted: June 15th, 2008, 8:17 pm 
Offline

Joined: May 16th, 2008, 4:50 pm
Posts: 368
Location: Berghem The Netherlands
Opus: Opus Pro 9.75
OS: Windows 10
System: `HP
Thanks guys for all you tips.
I made it with a script and it's working.
I think that i need to learn more about scripting. Any sugestions about wich book i need to read (it's almost summer).

Kind regards,

Ad Mulders


Top
 Profile Visit website  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 62 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group