# I'm creating something like incredibox, Need Help

**URL:** https://forum.kirupa.com/t/im-creating-something-like-incredibox-need-help/356390
**Category:** flash
**Created:** [November 24, 2014, 9:30am UTC](https://forum.kirupa.com/t/im-creating-something-like-incredibox-need-help/356390 "2014-11-24T09:30:34Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![withinboy2z](https://avatars.discourse-cdn.com/v4/letter/w/9f8e36/32.png) [@withinboy2z](https://forum.kirupa.com/u/withinboy2z)
#### Post date: [November 24, 2014, 9:30am UTC](https://forum.kirupa.com/t/im-creating-something-like-incredibox-need-help/356390/1 "2014-11-24T09:30:35Z")

</div>

Im trying to build an flash application like [\>Incredibox\<](http://www.incredibox.com/v4/) It allow user to drag and drop to play music, and all the music synchronizing together, but it is possible to build with AC3, the only question I wanted to ask is the recording and saving function. How to make the record feature to record the background music which follow by user’s sequence? And how to allow user to save the sequence as a .mp3 output? Do it need something like MySQL database to achieve it? Or all the feature like Incredibox can totally done within Adobe Flash?

Comment and opinion are welcome.

---

<div class="post-metadata">

### Author: ![kirupa](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/kirupa/32/11616_2.png) [@kirupa](https://forum.kirupa.com/u/kirupa)
#### Post date: [November 24, 2014, 9:37pm UTC](https://forum.kirupa.com/t/im-creating-something-like-incredibox-need-help/356390/2 "2014-11-24T21:37:07Z")

</div>

While I am not directly familiar with this, Flash provides a lot of advanced functionality for working with audio: [http://help.adobe.com/en\_US/FlashPlatform/reference/actionscript/3/flash/media/Sound.html](http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/Sound.html) You can merge the audio streams together into one output that you can then save.

For the saving part of it, do you want to leave a copy of the songs on the server (tied to a user’s account)? Or do you want just give users the option of downloading the song once they’ve created it?

For the first choice where you leave songs on the server, something like a database is probably the right thing. For the second choice, you don’t need anything like that.

🙂

---

<div class="post-metadata">

### Author: ![withinboy2z](https://avatars.discourse-cdn.com/v4/letter/w/9f8e36/32.png) [@withinboy2z](https://forum.kirupa.com/u/withinboy2z)
#### Post date: [November 25, 2014, 3:22am UTC](https://forum.kirupa.com/t/im-creating-something-like-incredibox-need-help/356390/3 "2014-11-25T03:22:20Z")

</div>

Thanks for your explanation, in this case i would like to build this application for entertain purpose, so this is basically “offline” thing, and no server site require. But i have no idea how to implement the recording and save function. Because i need to capture the sequence input by user, for example:

1 - user choose drum beat  
2 - user choose guitar (while the drum beat still playing)  
3 - user choose piano ( while drum and guitar still playing)

so the recording output will be exactly following the order that user input. From my opinion, is that use bytearray to capture the mix playing, and simply use file-reference function to save it locally?

Please correct me if i’m in the wrong side of thinking.

---

<div class="post-metadata">

### Author: ![kirupa](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/kirupa/32/11616_2.png) [@kirupa](https://forum.kirupa.com/u/kirupa)
#### Post date: [November 25, 2014, 5:53am UTC](https://forum.kirupa.com/t/im-creating-something-like-incredibox-need-help/356390/4 "2014-11-25T05:53:21Z")

</div>

That sounds reasonable to me, but I haven’t played with the Sound classes in a long time to know if there is a better way to do this. Maybe @senocular or @krilnon may know more 😄

---

<div class="post-metadata">

### Author: ![krilnon](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/krilnon/32/34_2.png) [@krilnon](https://forum.kirupa.com/u/krilnon)
#### Post date: [November 25, 2014, 7:30pm UTC](https://forum.kirupa.com/t/im-creating-something-like-incredibox-need-help/356390/5 "2014-11-25T19:30:59Z")

</div>

It’s the right approach.

---

<div class="post-metadata">

### Author: ![withinboy2z](https://avatars.discourse-cdn.com/v4/letter/w/9f8e36/32.png) [@withinboy2z](https://forum.kirupa.com/u/withinboy2z)
#### Post date: [November 25, 2014, 7:56pm UTC](https://forum.kirupa.com/t/im-creating-something-like-incredibox-need-help/356390/6 "2014-11-25T19:56:33Z")

</div>

Thanks! So thats mean i can get it done within ActionScript itself? and no need other programming language to support?

---

<div class="post-metadata">

### Author: ![krilnon](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/krilnon/32/34_2.png) [@krilnon](https://forum.kirupa.com/u/krilnon)
#### Post date: [November 26, 2014, 4:20am UTC](https://forum.kirupa.com/t/im-creating-something-like-incredibox-need-help/356390/7 "2014-11-26T04:20:20Z")

</div>

Yup!

---

<div class="post-metadata">

### Author: ![withinboy2z](https://avatars.discourse-cdn.com/v4/letter/w/9f8e36/32.png) [@withinboy2z](https://forum.kirupa.com/u/withinboy2z)
#### Post date: [November 26, 2014, 4:38am UTC](https://forum.kirupa.com/t/im-creating-something-like-incredibox-need-help/356390/8 "2014-11-26T04:38:01Z")

</div>

Thank you guys so much! Appreciate !
