24th
OCT
New Actionscript 3 Australia Zoo Banners
Posted by Brusca under Adobe, Australia Zoo, Flash
We just launched the new home page for the Australia Zoo website. This has some very nice features. New flash banners and an Ajax accordion to help deliver fresh daily content.
Below are some examples of the flash banners and a flow of how the display object works loading in the flash banners.
The home page flash banner loads in external (swf) banners and can currently take 1,2 or 3 banners rotating through. Each banner can have sound but is not critical and is developed to handle both regardless.
The initial swf stage file is only 24kb and loads each banner individually on a Timer() function. The stage is set to scale and will align the externally loaded banners to the center of the stage upon loading and if the stage is re sized.
Above you will see the displayObject layout for loading in the external banners. As mentioned the banners load in on a Timer() function and iterate through the length of a banner array, which is being passed through the swf object embedded in the page. This allows us to develop banners and add them dynamically without having to alter a core file.
If an individual banner has an existing sound file, this is also loaded externally to the swf file and stops the Timer() function until the sound has completed playing. Once sound is completed playing the timer will start and continue to rotate through the banners.
Also displayed at the bottom left of the banners are banner buttons, allowing a user to click through to a banner at anytime.
There is some more work to be done on fine tuning these. Creating AS3 packages, making the banners even more modulated. Allowing for the sound to be turned off permanently using stored objects so upon multiple refreshes the sound is switched off.
Check them out here www.australiazoo.com.au.
20th
OCT
Cabarita Goodness
Posted by Brusca under Uncategorized
I took these on my little Nikon s700 using the macro settings. These shots were taken at Cabarita Beach in Northern NSW. For a full list of shots, check out my Flickr photostream.
19th
OCT
Kevin Rose iPhone App Review
Posted by Brusca under Apple
Kevin Rose reviews the iPhone application ‘Topple’. Looks like a fun download.
I have been wracking my brain for some good and unique ideas for new iPhone apps. Not easy as there are thousands of Apps on the App Store now. Will keep thinking and wondering what market there is left. Any thoughts?
11th
OCT
Simple AS3 Particles using TweenLite
Posted by Brusca under Adobe, Flash
Particles in AS3 using the TweenLite engine. Code is below, very easy to follow.
//import the tween classes
import gs.TweenLite;
import gs.easing.*
//create the container and particles
var particleCotainer:MovieClip = new MovieClip();
var particleArray:Array = new Array();
var particleArrayb:Array = new Array();
var maxParticles:Number = 200;
//add the particle container to the display
addChild(particleCotainer);
//create the function to add the particles
function addParticle(e:Event)
{
- var dot:Particle = new Particle();
var dotb:Particle = new Particle();
particleCotainer.x = stage.stageWidth/2;
particleCotainer.y = stage.stageHeight/2+120;
dot.scaleX = dot.scaleY = Math.random() * .8 + .2;
dotb.scaleX = dotb.scaleY = Math.random() * .6 + .1;
dotb.xMovement = Math.random() * -200;
dotb.yMovement = Math.random() * -200;
dot.xMovement = Math.random() * 200;
dot.yMovement = Math.random() * -200;
particleArray.push(dot);
particleArrayb.push(dotb);
particleCotainer.addChild(dot);
particleCotainer.addChild(dotb);
dot.cacheAsBitmap = true;
dotb.cacheAsBitmap = true;
//create the movement for each particle
TweenLite.to(dot, 2, {y:dot.yMovement, x:dot.xMovement, alpha:.5, rotation:90});
TweenLite.to(dotb, 2, {y:dotb.yMovement, x:dotb.xMovement, alpha:.5, rotation:-90});
TweenLite.to(dot, 8, {y:200, alpha:0, rotation:90, delay:1.5, overwrite:0, ease:Strong.easeIn});
TweenLite.to(dotb, 8, {y:200, alpha:0, rotation:-90, delay:1.5, overwrite:0, ease:Strong.easeIn});
}
//create the timer to call the function. Runs every 100 milliseconds
var myTimer:Timer = new Timer(100);
myTimer.addEventListener(TimerEvent.TIMER, addParticle);
myTimer.start();
Tanzania Slide Show
The above Flickr photo set contains images from my trip to Tanzania. Alternatively you can view the Flickr set here.
Recent Posts
- 07 Mar Nikkor AF-S VR Zoom 70-300mm (Nikon)
- 06 Feb 365 Days - January
- 25 Jan eVolution of Entertainment
- 23 Jan Mike Rowe on Dirty Jobs, War on Work and
- 17 Jan A Little Piece of Art
- 23 Dec A Lego Christmas
- 19 Dec Help Portrait Update
- 04 Dec Andy Art Revisited
- 28 Nov Help Portrait
- 27 Nov Sunrise Time Lapse at Dicky Beach (Nikon
- 26 Nov Sunset with Cokin Filters
- 24 Nov Trade Secret Cards
- 23 Nov Motivational Video
- 20 Nov Random light post
- 19 Nov Recent Projects
Categories
- Adobe (4)
- Animation (3)
- Apple (7)
- Australia Zoo (3)
- Blogroll (1)
- Design (7)
- Dreamweaver (2)
- Entertainment (1)
- Fireworks (3)
- Flash (8)
- flickr (2)
- Google (3)
- Illustration (1)
- iPhone (1)
- Nikon D90 (12)
- Photography (12)
- Social Networking (2)
- Software (2)
- Tanzania (10)
- TED (1)
- Uncategorized (4)
- Video (9)
Archives
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- February 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- September 2007
Blog Roll
- Adobe Blogs
- Andrew Muller
- Chase Jarvis
- Chris Brogan
- Creating Passionate Users
- Dale Rankine
- Design Bump
- Grant Skinner
- Jason Sheedy
- Karl Angell
- Lee Brimlow
- Mike Chambers
- Mike Downey
- Rocket Boots






