# Integrating real media file

**URL:** <https://forum.kirupa.com/t/integrating-real-media-file/34475>\
**Category:** Uncategorized\
**Created:** [November 3, 2003, 12:44am UTC](https://forum.kirupa.com/t/integrating-real-media-file/34475 "2003-11-03T00:44:50Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![mucho](https://avatars.discourse-cdn.com/v4/letter/m/edb3f5/32.png) [@mucho](https://forum.kirupa.com/u/mucho)\
**Post date:** [November 3, 2003, 12:44am UTC](https://forum.kirupa.com/t/integrating-real-media-file/34475/1 "2003-11-03T00:44:50Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 3, 2003, 9:59am UTC](https://forum.kirupa.com/t/integrating-real-media-file/34475/2 "2003-11-03T09:59:38Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 3, 2003, 4:24pm UTC](https://forum.kirupa.com/t/integrating-real-media-file/34475/3 "2003-11-03T16:24:00Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 3, 2003, 6:14pm UTC](https://forum.kirupa.com/t/integrating-real-media-file/34475/4 "2003-11-03T18:14:22Z")

</div>

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](http://www.kennybellew.com)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 3, 2003, 7:13pm UTC](https://forum.kirupa.com/t/integrating-real-media-file/34475/5 "2003-11-03T19:13:47Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 3, 2003, 7:29pm UTC](https://forum.kirupa.com/t/integrating-real-media-file/34475/6 "2003-11-03T19:29:28Z")

</div>

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](http://articles.workingonline.com/iframe-tag.html)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 3, 2003, 7:31pm UTC](https://forum.kirupa.com/t/integrating-real-media-file/34475/7 "2003-11-03T19:31:56Z")

</div>

> \*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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 3, 2003, 7:44pm UTC](https://forum.kirupa.com/t/integrating-real-media-file/34475/8 "2003-11-03T19:44:51Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 3, 2003, 7:50pm UTC](https://forum.kirupa.com/t/integrating-real-media-file/34475/9 "2003-11-03T19:50:59Z")

</div>

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.
