# Javascript API: struggling to get a bank event to play in my game

**URL:** https://qa.fmod.com/t/javascript-api-struggling-to-get-a-bank-event-to-play-in-my-game/15803
**Category:** FMOD Engine
**Created:** [May 24, 2020, 3:54pm UTC](https://qa.fmod.com/t/javascript-api-struggling-to-get-a-bank-event-to-play-in-my-game/15803 "2020-05-24T15:54:02Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Shadoninja](https://avatars.discourse-cdn.com/v4/letter/s/71e660/32.png) [@Shadoninja](https://qa.fmod.com/u/Shadoninja)
#### Post date: [May 24, 2020, 3:54pm UTC](https://qa.fmod.com/t/javascript-api-struggling-to-get-a-bank-event-to-play-in-my-game/15803/1 "2020-05-24T15:54:02Z")

</div>

I am using the `load_banks.js` example to help integrate the javascript API into my game, but the example doesn’t actually play any sounds. It just loads and unloads the banks. I am trying to use the `getEvent()`, `createInstance()`, and `start()` methods on my fmod system and event objects, but I am not making much ground. Is there an example of the javascript API playing a sound loaded by a bank anywhere?

Edit: I have slowly started to make progress again. Do not need immediate assistance

---

<div class="post-metadata">

### Author: ![richard\_simms](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/richard_simms/32/261_2.png) [@richard\_simms](https://qa.fmod.com/u/richard_simms)
#### Post date: [May 26, 2020, 2:12am UTC](https://qa.fmod.com/t/javascript-api-struggling-to-get-a-bank-event-to-play-in-my-game/15803/2 "2020-05-26T02:12:09Z")

</div>

There are other examples included in the HTML5 API download. You should be able to take a look at simple\_event as an example of loading a bank and playing an event.

---

<div class="post-metadata">

### Author: ![Shadoninja](https://avatars.discourse-cdn.com/v4/letter/s/71e660/32.png) [@Shadoninja](https://qa.fmod.com/u/Shadoninja)
#### Post date: [May 26, 2020, 4:08am UTC](https://qa.fmod.com/t/javascript-api-struggling-to-get-a-bank-event-to-play-in-my-game/15803/4 "2020-05-26T04:08:57Z")

</div>

Good call. Thank you
