Nifflheim layout is now complete!!! All the bugs are fixed up, music player has been added, everything is working properly except for one irritating tombstone that I can’t do anything about because of how blogsome works.
If you think the music player is lame, I’ve never done Flash before in my life. I’ve only launched the program before, click on some things, get thoroughly confused and closed it after 2 minutes. And a load of other excuses.
Either way, the music player isn’t coded the way I wanted it to. I spent 12 hours since yesterday after school till 5am today reading and reading so much about Flash and I couldn’t do it "the right way". There are no good beginner ActionScript 3.0 books in the library, or rather none at all. They are for advanced and so few in number at that. I only grab a book for AS2 and found that they made a lot of changes to the point that I can only follow to a certain point, and then I’m told to use a bunch features available in Flash 8 only a.k.a I’m stuck.
Online means isn’t helpful either. There are so few tutorials specific to what I want and I read them for so many hours and things still do not work. In the end, I found a simple tutorial for AS2 which did the simple music player is such a cheating way, I felt embarassed using it. And then converted it to a AS3 equivalent.
The method consisted of using two layers, one for the UI and one for the actions. And two keyframes each. Set either one of the frame to have the background music played, and the other frame to stop the music. Add codes for the play and stop button in the respective frame using goToAndStop(); What a cheat. The entire day I’ve been reading about how people did it all using only Frame 1 and I didn’t manage to do it for so many hours I gave up.
Maybe in the next layout I’ll try again. And when they have better books. For now, this player is enough.
Yes it looks ugly and out of place. I used to default buttons available because I was too lazy and frustrated in the end to construct my own from scratch. They said I could skin it but I didn’t manage to find out how to. Bleh… So much for wasting 12 hours of my life.