OZONE Asylum
Forums
Site reviews!
Portfolio Site
This page's ID:
22298
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
This doesn't sound too exciting - "woohoo, another portfolio".. but bear with me. http://www.scottschiller.com/ I was working on an OO-style animation library a while ago, involving window, event, action and other objects - where something like: with (addAction(someWindowObject)) { delay = 100; center = true; method = maximize; sound = 'maximize'; onComplete = doSomethingElse; enqueue(); } would grab a predefined "window", and tell it to move a certain way (via predefined method call ie. "maximize", or specific parameters ie. "moveto" with x/y/w/h coordinates etc.) A sound and 'on complete' event can be attached as well, for firing other events if needed. Each action is then added to a queue, which is fired after all desired actions have been queued up. My saying for the last several years has been to have a site "like Flash, but without the Flash." .. I think I am very close now. :D The code as it exists right now works, but is not very well organized - (to be fixed..) and there's a lot of debugging stuff strewn throughout - consider yourself warned ;) There's some funky stuff though in passing objects around, and I get the feeling I probably messed up some references here and there (variable scoping etc. could likely be better.) I'm using XMLHTTP to load additional content at the moment, so it'll break in browsers that don't support it (and Safari 1.2 until I fix my code.).. but it works nicely in IE and Mozilla at this point. My main site, http://www.schillmania.com/ uses the same technique but has a backend "framework" to provide a templated 'static' copy of the site for browsers that don't have XMLHTTP etc. (This is what I'm going for with the portfolio one also.) I should mention I've been reading some recent threads on JS pong, etc. and the math involved in that (25 liners etc.) - there is some amazing talent here.. this is about as complex as my math skills get, making a "tween" animation library ;) Thoughts? [small](Edited by [internallink=2276]Scott[/internallink] on 06-23-2004 22:09)[/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »