Screensavr: dead-end, new beginning

img_1720.jpg

So I have reach a dead-end in Flash. I now have a Screensavr that works perfectly, honouring all image proportions. Looks great, but runs slowly in Flash as it can’t handle so many individual images as the bitmap processing isn’t sophisticated enough; had to make it so that each row is a series of MovieClips rather than one BitmapData object. Setting cacheAsBitmap was causing too much flickering; turning it off makes it run too slow.

Unless there’s a major brainwave, a Cocoa rewrite is on the cards. This could take some time…

Download for Mac


4 February 2007 in ActionScript, Screensaver

8 Comments

    • 1
    • Comment by Rory
    • 5 February, 2007 at 10:58 pm

    You tried setting the movie _quality to low? I find it work’s a treat on this kinda stuff.

    • 2
    • Comment by Simon
    • 6 February, 2007 at 7:10 am

    Yes I did try that. Has the comedy side-effect of making the image scaling worse (though I guess I could just temporarily set _quality when I’m scaling an image). I might try a few more Flash tricks but I’m pretty set on a rewrite in a proper language.

    I’ll mail you the files so you can try this out on your PC; maybe it’s just slow on my 5-year-old mac…

    • 3
    • Comment by Ally
    • 9 February, 2007 at 8:11 pm

    I can’t get this to work at all, keep getting ‘error code: 102′ :(

    • 4
    • Comment by Simon
    • 9 February, 2007 at 9:18 pm

    Hi Ally - sorry it’s not working for you - it’s proving quite difficult! Not sure what that error means - I have mailed you and we’ll see if I can fix it.

    I am going to completely rewrite it from scratch anyway and hope to have a much better version in the next few weeks.

    • 5
    • Comment by Simon
    • 19 February, 2007 at 12:02 pm

    Hi Simon, why don’t you do this in java / processing? You could use the flickrj library on SourceForge??

    • 6
    • Comment by Simon
    • 19 February, 2007 at 12:12 pm

    Hi Si! Log time no see! Hope you’re well.

    I must admit I didn’t even think of doing this with Java - I guess because I just haven’t used it in such a long time. Is there a way to make screensavers with it? It would be pretty easy to convert I guess as a lot of the code will just copy-and-paste.

    Anyways I’m about 75% of the way to a native Mac version - runs lovely so far.

    Stay tuned…

    • 7
    • Comment by Simon
    • 19 February, 2007 at 12:48 pm

    Yeah I’m doing well, been keeping my head down :)

    I haven’t seen a java screensaver maker for a long, long time! You could make it in java then wrap it in cocoa?

    • 8
    • Comment by Simon
    • 4 March, 2007 at 12:23 pm

    The new version is ready!


Leave a Comment


(required)
(will not be published) (required)

Follow comments through the RSS 2.0 feed. Trackback from your own site.

Previous: UrlKit / Next: Word Clock: update