Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 08-05-2002, 01:43 PM   #1
Donaldo
Registered User
 
Join Date: Aug 2002
Posts: 4
Default loading jpegs and audio

heres my project:
I have 50 bitmap slides (jpegs) that were saved out from a powerpoint presentation.They are numbered 1 to 50.
for these 50 bitmaps I also have 50 mp3 sound files (narration for each slide) numbered 1 to 50.
sound 1 is the narration for bitmap 1,sound 2 goes with 2 etc,etc,
I would like to combine these files into an slide show that advances when the narration for each slide is finished. I also would like to add forward and back buttons to allow a user to move forward and back to different slides.
Im a bit unsure on how to approach this.Specifically,how do i load the jpegs and sound files at the same time ? Would i be better off loading seperate swfs with sound ? I would deeply appreciate any ideas on this .IM fairly new to FLASH,having spent most of my time with Director
Thanks
Donaldo is offline   Reply With Quote
Old 08-05-2002, 01:54 PM   #2
Billy T
Oops I did it again
 
Billy T's Avatar
 
Join Date: Oct 2001
Location: Melbourne
Posts: 8,579
Default

using mx?
__________________
Billy
Online Galleries
iPhone Safety App - iStaySafe
Free Flash Video Tutorials
Photo Website Template

Don't email or PM me questions...
Billy T is offline   Reply With Quote
Old 08-05-2002, 04:00 PM   #3
Donaldo
Registered User
 
Join Date: Aug 2002
Posts: 4
Default

Yes, I am using MX.
Donaldo is offline   Reply With Quote
Old 08-05-2002, 11:58 PM   #4
Billy T
Oops I did it again
 
Billy T's Avatar
 
Join Date: Oct 2001
Location: Melbourne
Posts: 8,579
Default

try something like this

Code:
i=1;
mySound=new Sound();
mySound.loadSound("track"+i+".mp3",true);
mySound.start();
_root.createEmptyMovieClip("imageHolder1", 200);
imageHolder1._x=250;
imageHolder1._y=50;
loadMovie("image"+i+".jpg","imageHolder1");
mySound.onSoundComplete=function(){
	i++;
	mySound.loadSound("track"+i+".mp3",true);
	mySound.start();
	loadMovie("image"+i+".jpg","imageHolder1");
}
__________________
Billy
Online Galleries
iPhone Safety App - iStaySafe
Free Flash Video Tutorials
Photo Website Template

Don't email or PM me questions...
Billy T is offline   Reply With Quote
Old 10-09-2002, 07:07 PM   #5
mcdanyel
Designer like person
 
mcdanyel's Avatar
 
Join Date: Apr 2002
Location: Texas, U.S.A.
Posts: 96
Send a message via AIM to mcdanyel
Default

BillyT you rock!

I have been playing around with your new tuts on dynamic content and the volume slider that were just added here recently. I was trying to do something almost exactly like this on my own but I wasn't sure about the loop part. I had coded something that was close but wasn't working...then I searched and found this posting...whew...perfect answered my questions.

By the way your tuts are awesome. Written in a way that is easy to understand and modify...plus they are in MX on OS X! Thanks.
mcdanyel is offline   Reply With Quote
Old 10-10-2002, 12:35 AM   #6
Billy T
Oops I did it again
 
Billy T's Avatar
 
Join Date: Oct 2001
Location: Melbourne
Posts: 8,579
Default

glad you enjoy them

Thanks
__________________
Billy
Online Galleries
iPhone Safety App - iStaySafe
Free Flash Video Tutorials
Photo Website Template

Don't email or PM me questions...
Billy T is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:25 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.