Integrating real media file

Hi All,

ok here is a script…

myMusic=new Sound(this);
myMusic.loadSound(“aone.ram”, true);
myMusic.start(0,999);

but it won;t work with rm or ram (real audio/ media) files…whats the problem?
and then I noticed the looping function wouldn’t work either (tried with mp3) I guess it needs to be linked?!

thx,

m.

Flash isn’t capable of loading in real audio files.

darn! that sucks! what do suggest I do?
I have plenty of real media files that I want to make available… just use getURL??

thx,

m.

  1. you can embed those real audio files into HTML and then use getURL to link to those HTML pages so when the page load, the songs will play.

Some people create really small iframes for those HTML pages on their site so viewers can’t see them, but the page will load in the iframe and the song will play.

  1. You can convert those real audio files to mp3 format and load them in dynamically.

For that, you might want to check out this site:

www.kennybellew.com

I liked the first idea, although you have to tell me what an ifram is…I guess a little html part within a flash site?!

nr. 2 is a little difficult since I’m dealing with mix tapes which are about an hour long, so 11MB into MP3 is about 60 to 70 MB…but good to know…maybe MX 2004 supports rm files…

thx,

m.

iframes have nothing to do with flash, they’re html tags that work only with ie and netscape 6+

for more info check out http://articles.workingonline.com/iframe-tag.html

*Originally posted by electrongeek *
**Some people create really small iframes for those HTML pages on their site so viewers can’t see them, but the page will load in the iframe and the song will play.
**

you don’t necessarily need iframes for this, the same effect can be created with normal frames, e.g. a frame that is only 1 px wide/high

hmmm, I thought of that, BUT,
okay so the thing starts to play when loaded. The if I want to load another mc into a nother level, with some music, they overlap, cause the “iframe” or normal frame is still there, I have to call a new html page…

I guess it could work, but it doesn’t sound like a nice solution.

thx anyway,

m.

thats true…

but since rm cant be played by flash thats probably the only thing you can do…

but to prevent overlapping you can getURL the htm docs with the rm data in the same target, whether iframe or normal frame.