|
From: Dave H. <da...@op...> - 2002-08-08 00:03:45
|
I just checked in a mess of stuff to the Ming CVS, though not at much as it would seem when you see nearly every file update.. Cosmetic changes: tabified code, added emacs tab-width define thingies, added spaces and linebreaks according to random whim, changed 2001 to 2002 (only seven months later!). SWFFont is now two things, SWFFont and SWFFontCharacter. SWFFont is read-only after you load it, so you can use the same font object across many movies (handy if your fdb file is 5 megs..), while SWFFontCharacter holds all of the state information. Oh, and I've added code for 16-bit fonts, but haven't tested it yet. Since it didn't work before I figured it was okay to add broken code. ;) SWFMovie and SWFMovieClip had to change their weird dependency inheritance code to deal with the above changes but I think I fixed some problems along the way where characters were used before they were defined. I also added Goto's sound code, though I haven't tested that either. That adds support for "event" type sounds, raw pcm, adpcm, or mp3 format. The old SWFSound object has been moved to SWFSoundStream to accommodate, and there's an SWFSoundInstance object which will someday be used to tweak the sound event data- loop points, envelopes, and whatever else SWF allows for. That's all I can think of now, though there may be other surprises lurking. Post if you have any problems.. -Dave |