localToGlobal

FLASH BLOG

Archive for October, 2008

here are some articles i was interested in this week…

> FDT 3 Actionscript Editor - FDT Tutorial List
> HEAD Conference 2008 - it was alot of fun! « RockOnFlash \m/ :: John Grden
> Flash Magazine > Aviary launched
> Gang of Four (GOF) Design Patterns in ActionScript–Adapter - Ntt.cc
> Flash,AS and Me: easter egg in Flash CS4 Professional
> 60+ Useful Adobe AIR Applications You Should Know | Tools
> The Flash Blog » New video tutorial on using ZendAMF
> Announcing Cannonball, a DOM+HTML+CSS+Browser Library for ActionScript 3.0 Open Source Flash
> gskinner.com: gBlog: Simple Flash Player 10 3D Demo w/ Source
> FDT 3 Actionscript Editor » Creating Flash Player 10 Projects with FDT (beta)
> Hot AS3 art | Stroep
> The Flash Blog » Flash Player 10 Video Flipper 3D
> FlashPad » Starfield for Papervision3D
> Actionscript Errors Got Roundup
> Is ActionScript 2 Development Faster than ActionScript 3 Development? at Mike Chambers
> Anyone using the Krugle Eclipse plugin?
> dispatchEvent()™ » Get together for the Global Game Jam 2009
> Scott Janousek » FOTBM09 (Flash On The Beach - Miami)
> The Official Flex Team Blog: Missed the Flex and Zend e-Seminar? No Problem.
> ActionScript 3.0 Prototype Design Pattern: A Minimalist Example | ActionScript 3 Design Patterns
> Papervision3D + Xray Introspection = FINALLY « RockOnFlash \m/ :: John Grden
> Andre Michelle » Fur like renderings
> SlideRocket out in the open | Serge Jespers
> Flint 2.0 released
> Flash: SOS Max, the best Flash trace() output debugger on the planet : TroyWorks
> FLEX{er} » Flash Player 10 Debug Version
> dispatchEvent()™ » Tip: Adding version checking to your external code library
> Bump Mapping Texture with Papervision3D | ClockMaker Demos
> The Flash Blog » New tutorial on Flash QuickTime export
> cochin, Kerala ,India - Anil Mathew: Create PDF using flash 10 save to local file
> Technoracle (a.k.a. "Duane's World"): Flash SEO Research: Google DOES use Ichabod to index Flash
> Flash 411 #4: Video Encoding Basics - FlashConnections
> Silverlight 2: Things ActionScript developers need to know. | Daniel Love

here are some articles i was interested in this week…

> QuadTree Test with PaperVision3D | ClockMaker Demos

> The Flash Blog » Natzke-inspired Flash math animation

> PV3D Sample #5 : Shadow Cubes | ClockMaker Demos

> An ActionScript 3.0 Recursion Excursion | ActionScript 3 Design Patterns

> Last Chapter Done! | BIT-101 Blog

> SWFUpload v2.2.0 Beta 1 Released | SWFUpload

> The Flash Blog » Acrobat animation with Fermat spiral

> Flex Monkey Patches » Sending Flash Player HTTP Headers for URLRequest, HTTPService and WebService in Flex

> Passing data to AS classes at compile time | Awen Code

> My favorite Flash Player 10 apps and examples | Serge Jespers

> Mr.doob’s blog | Rules to make a better internet

> Sharpen Pixel Bender Filter | Ryan Phelan

> The Flash Blog » Automatic Motion Preset Previews

> Away3D 2.2: Let’s Enjoy The Charming of 3D By RailAway Express | FlexMan

> Compare the Flash Player 10 and Flash Player 9 Under Mac OS X and Linux | FlexMan

> Gang of Four (GOF) Design Patterns in ActionScript–Abstract Factory - Ntt.cc

> BendPixels: use PixelBender filters as Flex Effects | Rags to Riches

> The Flash Blog » Tough questions for Adobe

> Streaming Video with the F4V File Format | Flex’n'AIR

> GeoCoder « Daily Papervision3d

> Magnify Pixel Bender Filter | Ryan Phelan

> Rendering spectrums with Sound.extract() [ by Thibault Imbert ] < ByteArray.org

> Ted On Flash: 360Flex SJ 2008 - High Definition Video & Flex Hands On by Christopher Keeler

> 10 Most Sought-after Skills in Web Development - NETTUTS


there are just 6 tickets available for the first flex camp in germany. so hurry up and get one of the last tickets at http://flexughh-camp.eventbrite.com/.


1st flex camp in germany
10 21st, 2008

hey guys, the first flex camp in germany was announced yesterday.
it’ll take place on november 6th, 2008 in hamburg and is organised by the local flex user group.

the very special thing is, that there are three flex camps at the same time in europe. the other two camps will be in vienna and bucharest.

for more information about registration, schedule, location and speakers visit

http://www.flexcamp-hamburg.de

i’m glad to see you there…



hey guys, last week i needed to pause several timers and resume them later on. i ran into a problem which i try to explain in an little example.

so let’s say you start a Timer with 1000 milliseconds delay and stop it after 600 milliseconds. if you call Timer.start() again, it starts with a new delay of 1000 milliseconds again. there is no built-in possibility to resume the timer for the remaining 400 milliseconds. i thought “nothing easier than that, just call Timer.pause()”. but there was no such method, so i decided to write my own ExtendedTimer class and add the pause functionality. now i like to share it with you…

> ExtendedTimer.as
package com.fjakobs.utils
{
	import flash.events.TimerEvent;
	import flash.utils.Timer;

	/**
	 * @author fjakobs
	 */
	public class ExtendedTimer extends Timer
	{
		private var _startTime : Number;
		private var _initialDelay : Number;
		private var _paused : Boolean = false;

		public function ExtendedTimer(delay : Number,
									  repeatCount : int = 0)
		{
			super(delay, repeatCount);
			_initialDelay = delay;
			addEventListener(TimerEvent.TIMER,
						    onTimer,false,0,true);
		}

		private function onTimer(event : TimerEvent) : void
		{
			_startTime = new Date().time;
			delay = _initialDelay;
		}

		override public function start() : void
		{
			if(currentCount < repeatCount)
			{
				_paused = false;
				_startTime = new Date().time;
				super.start();
			}
		}

		public function pause() : void
		{
			if(running)
			{
				_paused = true;
				stop();
				delay = delay - (new Date().time - _startTime);
			}
		}

		public function get paused() : Boolean
		{
			return _paused;
		}

		public function get initialDelay() : Number
		{
			return _initialDelay;
		}
	}
}