Indigo Rose Software
  #1  
Old 08-24-2002
Jiiri Jiiri is offline
Forum Member
 
Join Date: Aug 2002
Posts: 3
Newbie Q - Browse CD

Hey guys....Im new to this, and quite an idiot to boot.......

Here's my question:

How do I get it to play an mp3 as soon as the program is initialized, then continue running until someone turns it off with a button? Should I just embed flash in there with it, or is there another way? Thanks [img]/ubbthreads/images/icons/smile.gif[/img]

Also, what's the best way to have a 'browse CD' option? I've done it so that it opens as long as the CDROM is D:. How can I make it open the CD no matter which directory it's in? Thanks again [img]/ubbthreads/images/icons/smile.gif[/img]

  #2  
Old 08-24-2002
Derek's Avatar
Derek Derek is offline
Indigo Rose Customer
 
Join Date: May 2001
Location: 51.501296|-2.700963
Posts: 1,206
Re: Newbie Q - Browse CD

Hi - to get mp3 to play, use:

mp3.Load ... and specify the file
mp3.Play

Put it under Page Properties On Show.
__________________
-
- Derek
- ["All glory comes from daring to begin" - fortune cookie]

IR WebHelp: AMS6 SUF7 VP2 TU2
  #3  
Old 08-24-2002
Jiiri Jiiri is offline
Forum Member
 
Join Date: Aug 2002
Posts: 3
Re: Newbie Q - Browse CD

Thanks Derek....this may be a bit too much.....but how can I get the same mp3 to continually play over more than one page? I want it to play as the user is browsing the interface. Hope this isnt out of my reach [img]/ubbthreads/images/icons/smile.gif[/img]
  #4  
Old 08-24-2002
AGRO's Avatar
AGRO AGRO is offline
Forum Member
 
Join Date: Oct 2000
Location: Peoria, AZ USA
Posts: 810
Re: Newbie Q - Browse CD

Use the same action for the Project/Settings/Actions , not the Page properties, it should play over the entire menu until told not to.
  #5  
Old 08-24-2002
zeroseven zeroseven is offline
Forum Member
 
Join Date: Aug 2002
Location: Winnipeg, Canada
Posts: 107
Re: Newbie Q - Browse CD

yep [img]/ubbthreads/images/icons/wink.gif[/img]

And, if you want it to repeat, add the repeat action [img]/ubbthreads/images/icons/smile.gif[/img]
  #6  
Old 08-25-2002
Jiiri Jiiri is offline
Forum Member
 
Join Date: Aug 2002
Posts: 3
Re: Newbie Q - Browse CD

Thanks guys.....have a few more [img]/ubbthreads/images/icons/smile.gif[/img] What I'm doing is a wedding CDROM with pictures and video. I would like the song to play until a video is loaded, then I would like it to stop for the video. Dont know how to do that.....

Also, I know this is a really newbie question, but what action would I need to use to allow someone to download a file off the CD? Ive tried the zip thing, but I still have the problem where I dont want to specify a folder for it to shoot off to since a) I dont know where they want it and b) I want them to know where it goes. [img]/ubbthreads/images/icons/smile.gif[/img]

Thanks again
  #7  
Old 08-26-2002
Lorne's Avatar
Lorne Lorne is offline
Indigo Rose Staff Member
 
Join Date: Feb 2001
Location: Indigo Rose Software
Posts: 2,588
Re: Newbie Q - Browse CD

Put an "MP3 - Pause" or "MP3 - Stop" action on the Media Player Object's "On Stream Open" event to pause or stop the MP3...then put an "MP3 - Play" action on the Media Player Object's "On End of Stream" event to start it back up again when the video finishes.

You could also just put the appropriate MP3 pause/stop/play actions on the same "buttons" that you're letting the user control the video with (e.g. pause the MP3 before starting the video when they click your "Play Movie" button).

You'd probably also want to set things up so the MP3 resumes playing if the user stops the movie (but probably not if they just pause it).

To allow someone to "download" a file off the CD, all you really need to do is copy it from the CD to their hard drive using a "File - Copy" action. You can let them choose a location by using a "Dialog - Folder Browse" action.
__________________
--[[ Indigo Rose Software Developer ]]
  #8  
Old 08-26-2002
Lorne's Avatar
Lorne Lorne is offline
Indigo Rose Staff Member
 
Join Date: Feb 2001
Location: Indigo Rose Software
Posts: 2,588
Re: Newbie Q - Browse CD

As for knowing what drive the CD is in, %SrcDrv% will give you that in this case.

You might just want to use %SrcDir% instead, though (the path that the AutoPlay app is running in).

If you put the file that you want them to be able to download in your Distribution folder, and then add it to your project from there, the path will be adjusted to use %SrcDir% automatically.
__________________
--[[ Indigo Rose Software Developer ]]
 

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 Off



All times are GMT -6. The time now is 01:39 AM.


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