HOME | DD
Published: 2012-10-14 22:42:58 +0000 UTC; Views: 1385; Favourites: 3; Downloads: 71
Redirect to original
Description
Because I'm super new to coding (Like... rock bottom beginner level) and I'm a visual learner, this was the only way I could figure out how to ask this question.Here's my list of questions related to this question:
- Is the action added to a specific keyframe? If so, which one?
- Do I just copy the... text, above, into the actionscript window? Do I need to press return between actions?
- I'm not entirely clear on what of the above is the stuff I'd copy and past. For example:
BGMChannel = BGM.play(0,0, null); // starts music at start
Would I paste in:
BGMChannel = BGM.play(0,0, null); // ???
Related content
Comments: 3
StudentOfRubber [2012-10-14 23:25:55 +0000 UTC]
Hmm, you'll probably get a ton of answers, but for now, I'm assuming that you mean to copy that whole pile of code to the last frame. That WON'T work, for the reason that you'll probably end up getting a nice sound playing until you hit that frame, then it'll reload the song from the very beginning and then fade it out. It would probably be easier to just time out how long the song will need to be, and go into audacity or something and fade it out there, then import it into your .fla.
That code there is for importing a sound from your library, and controlling it only through code. I'm also not a huge timeline person, but whatchagonnado. Anyway, good luck on this, and I hope you get a better answer than this!
👍: 0 ⏩: 1
HeartGear In reply to StudentOfRubber [2012-10-18 13:35:08 +0000 UTC]
Code totally blows my mind, so thanks for recommending I use audacity. I wasn't even thinking about that, but it's a great workaround!
👍: 0 ⏩: 1
StudentOfRubber In reply to HeartGear [2012-10-18 22:20:57 +0000 UTC]
Thank you kindly! If you ever need any other code help, be it as2 or as3, send me a PM. I'll be happy to help.
👍: 0 ⏩: 0




















