Topic: Music and Flash (Page 1 of 1) Pages that link to <a href="http://ozoneasylum.com/backlink?for=11330" title="Pages that link to Topic: Music and Flash (Page 1 of 1)" rel="nofollow" >Topic: Music and Flash <span class="small">(Page 1 of 1)</span>\

 
KARN
Bipolar (III) Inmate

From: North Bay, Ontario, CA
Insane since: Apr 2001

IP logged posted posted 06-02-2002 22:50 Edit Quote

does anyone know where i can find a tutorial on how to make a flash music player? i attempted but the stop button won't stop the track from playing and stuff...

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

IP logged posted posted 06-03-2002 00:18 Edit Quote

i made a music player once for my old homepage:

<OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
WIDTH=100 HEIGHT=100>
<PARAM NAME=movie VALUE="http://www.embege.com/misc/music1.swf"><PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#000000> <EMBED src="http://www.embege.com/misc/music1.swf" quality=high bgcolor=#000000 WIDTH=100 HEIGHT=100 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>
</OBJECT>

to stop the music i just moved into a frame vefore the music is starting.
if you need more help, i could send you the flas (3MB) too!

edit: test html
<h1><tt>thanks for turning html back on, doc!</tt></h1>

[This message has been edited by GRUMBLE (edited 06-03-2002).]

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

IP logged posted posted 06-03-2002 00:19 Edit Quote

doc, why did you turn html off?

well, here's the link: http://www.embege.com/misc/music1.html

KARN
Bipolar (III) Inmate

From: North Bay, Ontario, CA
Insane since: Apr 2001

IP logged posted posted 06-03-2002 01:07 Edit Quote

got it thanx...

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

IP logged posted posted 06-03-2002 02:28 Edit Quote

j-man's Sound series?:
www.gurusnetwork.com/tutorials/flash/

___________________
Emps

FAQs: Emperor

KARN
Bipolar (III) Inmate

From: North Bay, Ontario, CA
Insane since: Apr 2001

IP logged posted posted 06-03-2002 04:33 Edit Quote

another question is... i have mp3s in the player... how do i compress it to half or less the size?

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

IP logged posted posted 06-03-2002 12:27 Edit Quote

you can set the compression settings of sound when you publish the movie.

quatroGringo
Nervous Wreck (II) Inmate

From: Minneapolis, MN, USA
Insane since: Apr 2002

IP logged posted posted 06-12-2002 23:53 Edit Quote

If you are using Flash 5, make a sound object then control the object with:

mysound.stop(); from anywhere in the movie. This is a global object, but you can create locals as well.

Also, import your sound as an .aiff (Mac) or .wav (PC) to get the best sound quality. Flash is pretty choosey about what it does with .mp3's since they are already compressed. The best way to handle these kinds of (longer) streaming sounds is create a seperate .swf (just use a fresh movie), import your sound, in the sound tab choose the sound and check stream, open up the timeline to cover the entire length of the song, and publish.

Put a stop action on the last frame if you don't want it to loop. You can also place variables (like title, artist, length) on the first frame and have them loaded into a dynamic text boxes (now that's cool).

Go to the publish settings and set the audio stream to whatever bit rate you want to publish (you can test bandwith in the profiler to get the rate you need) I usually go with 80-112 for DSL - 20 for 56k.

Then load the movie dynamically with:

loadMovie("sound.swf", " _root.targetMC"); or into a level with loadMovieNum("sound.swf", _level99);

You can contol the external sound file, just make sure to target the MC or level you loaded to or just stop and start with the sound object.

5G



[This message has been edited by quatroGringo (edited 06-13-2002).]



Post Reply
 
Your User Name:
Your Password:
Login Options: Remember Me On This Computer
 
Your Text:
Loading...
Options: Show Signature
Enable Slimies
Enable Linkwords

« BackwardsOnwards »

Show Forum Drop Down Menu