Blogger in Flash
Have recently created a flash module that renders out blogger posts for a new client. This extracts the blog from blogger using simplepie and spits out a name and value pair data string for flash urlloader. Then inside flash the images and text are loaded into dynamically created textfields. The clever part is I measure and monitor the load of the images using a loader and textfield.getImageReference() - I extract the Image ID's in the field using a string split very similar to a regExp. And when the image is loaded I wrap a specially measured linespacing textformat around the img tag in the textfield htmlText, based on the loaded image's pixel height. Subsequently I add consecutive blog posts underneath in a handbuilt scroller pane which scrolls with a handbuilt Scroller using nice Tweenlite easing.
Labels: as3, blogger, extract, flash, linespacing, loadercontext, php, simplepie, textfield
