Rotate Object Around Center In FlashBuilder/Flex

In Flash, rotating a movieclip/component simply requires setting the movieclip registration point to the center.

In Flex/FlashBuilder there are numerous blog posts on the subject (including wrapping the component inside another container and setting relative coordinate to the center of the wrapper).

I thought I’d quickly share a quick way I found to do this:

Set the component’s transform properties to half the width/height of the component ie.:
Read more →

MooTools Remote RSS Feed Parser

Phew!

I haven’t written on this blog since September 2010. I don’t really have much to say nowadays I guess.

That’s not why you’re here though, so let’s get down business.

I searched high and low whilst working on a Joomla module (Job Board) for a ready class that’ll work straight out the

box with the version of MooTools bundled with Joomla 1.5 (MooTools 1.12).

In the end, I built one from a couple of regular JavaScript snippets I found.
It uses the SimplePie PHP library to fetch the RSS feed and pass it on

to the MooTools class (Joomla also uses SimplePie for RSS).

The class – called MooFeed :P – also has an option: {remote:false} for when you’re fetching the feed from the same domain and want to bypass RSS fetching via PHP.

Usage

var myFeed = new MooFeed ('MyDivID', url, {
          remote: true
   });

The “remote” option defaults to true when not specified.

Download the full source including demo

View the live demo

Maintenance Release: Job Board 1.5.0b for Joomla!

Last week’s release of Job Board 1.5.0 saw and influx of praise and encouragement from the Joomla! community.

I was also alerted to a couple of installation related and menu configuration issues, thanks to a couple of folks with a very sharp eye.

I want to Read more →

← Older Entries

Recent Tweets