The idea of ActionScript interested me quite alot because I generally like to code and script things. It's not quite as intuitive as I feel it should be, but the functionality is there, you just need to learn how to unlock it.
One of my main concerns was finding example code that was written for the current era of ActionScript. Whilst backwards-compatiblity is provided, I still found that some things weren't working as they should - or at all.
After I had the basic preloader sorted out, it soon occurred to me that it was pretty boring, ugly even. This isn't so much of a concern as hopefully people won't spent too much time looking at it, however I felt that I should try and work around the problem.
Throughout my website interface I've been using a JPEG background image, which in itself is not very large in terms of file-size. The problem is, Flash doesn't seem to deal well with non-vector graphics, despite the small file size.
To make the pre-loader fit in nicely with the rest of my website, I wanted to use the same background as the rest of the interface. After brief experimentation using the 'download simulator' feature of the Flash Player, I found that loading the JPEG in the pre-loader was taking time in itself.
Eventually I worked around this problem (to some degree) by using a copy of the background image that had a much higher compression rate than that of the main interface. This had 2 effects: Reducing the time taken to load the pre-loader, but also making the overall Flash file size slightly bigger. I have decided that the pay off was worth it, from a visual standpoint.
Sunday, May 06, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment