1 2Stuff what to do (not in order): 3 4* More work on the new utils: Further testing, and completing the 5 implementation for all of the different output formats. 6 7* make leading/linespacing terminology consistent btwn text/textfield 8 9* Change SWFButton::addShape to SWFButton::add and have it return a displayitem 10 11* proofread/update PHP docs 12 13* SWFText_addString splits buffer into 127 (255?) character chunks 14 15* add $m->getStreamLength 16 17* SWFText should recognise \n and advance the y pos? 18 19* Comment the new universal ming.h 20 21* Add access to button shape matrices and cxforms 22 23* Read fonts from TTF/PS 24 25* Make importable blocks/template format 26 27 Seems kind of wasteful to run lots of code to define a shape that never 28 changes. It'd be better to dump the rendered shape definition out to a file 29 and pull that in when needed. 30 31 32* add proper error messages to compiler 33 34 "parse error" just isn't quite lucid enough. 35 36 37* getBounds for all drawable types 38 39 ..so you can center text 'n' stuff. 40 It exists in the c code, but there's no SWFRect in the php interface 41 42* Produce good quality API documentation, pulled from comment embedded in 43 the source. 44 45* Produce thorough API tests, testing each interface from each language binding. 46 47* propagate new features to all language bindings 48 49* Ensure the API is consistant accross all language bindings 50 51* Add additional Font APIs to allow script to detect font properties and make 52 intelligent decsions. Also make sure the usage of Unicode vs ANSI based fonts 53 is rational. 54 55Wishlist items: 56 57* Make animation easier 58 59 Setting position on every frame is tedious. I'd like to be able to tell 60 an instance "head to point (x,y) in n frames". Maybe simple newtonian 61 mechanics, like "setVelocity" and "setAcceleration". Or maybe I'll just 62 make utility code in php first and see what works. 63 64 Think the goal should be to not have the user stuck in the timeline (i.e., 65 abolish movie->nextFrame()), be able to put anything anywhere at any time. 66 67 Callbacks look like the best way- you can pass an animate function which 68 is called every frame.. 69 70 71* Make transforms easier 72 73 Order of transform operations is currently fixed (skew, rotate, scale, 74 translate). So you can't easily rotate around a point off-center. I'd made 75 "path" objects trying to solve this, but they were confusing, hard to use. 76 77 And, as noted already, there are transforms we can't get at now, like in 78 buttons and text. 79 80 81* Make newSWFMorph(shape1, shape2) 82 83 Now that shapes have delayed completion this is possible. 84 85 86* Clean things up 87 88 Update header files. Make names uniform. Remove unused code. 89 Fix ugly hacks. Et cetera. 90 91 92* Allow buffer-at-a-time output 93 94 fput'ing each byte is probably slowing us down a lot..? 95