Showing posts with label ActionScript 3. Show all posts
Showing posts with label ActionScript 3. Show all posts

Friday, June 03, 2011

Friday, March 18, 2011

PatternCraft - Abstract Factory Pattern - Part 1

PatternCraft is a series of video tutorials that use StarCraft references to teach Design Patterns.

Monday, February 28, 2011

Quickstart for Molehill and Away3D

*NOTE* - this is a TEMPORARY patch to get you up and running as quick as possible. To stay up-to-date with the latest Flex SDK and Away3D releases, please follow their announcements.



1. Install the flash player 11 "incubator" runtime: http://labs.adobe.com/downloads/flashplatformruntimes_incubator.html

2. Download the following files:
Flex SDK 4.5.0.19786 (this is a link to a new page where you have to agree to terms, then download): http://opensource.adobe.com/wiki/display/flexsdk/download?build=4.5.0.19786&pkgtype=1
flashplayer_inc_playerglobal_022711.swc: http://download.macromedia.com/pub/labs/flashplatformruntimes/incubator/flashplayer_inc_playerglobal_022711.swc
molehill_away3d_patch.zip: http://j0hn.org/molehill/molehill_away3d_patch.zip

3. Extract the flex sdk
4. Copy/paste the flashplayer_inc_playerglobal_022711.swc into your sdk's framework/libs directory
5. Copy/paste the files from molehill_away3d_patch.zip into the sdk to overwrite the necessary files.

What is the patch doing?
The patch includes an away3d.swc, an updated flex-config.xml to always set -swf-version=13, and an updated index.html.template to always set wmode="direct"

Why should I patch the sdk?
This is only for molehill prerelease dev work to make the setup process a little easier. Adobe will eventually release an updated sdk and tools that will make this patch irrelevant.

Saturday, February 05, 2011

Friday, February 04, 2011

Thursday, February 03, 2011

Wednesday, February 02, 2011

How it Works - Robotlegs - Part 4

The "How it Works" video series explains how the inner details of popular libraries work so that you can use the same solutions in your own projects.

How it Works - Robotlegs - Part 3

The “How it Works” video series explains how the inner details of popular libraries work so that you can use the same solutions in your own projects.

Tuesday, February 01, 2011

How it Works – Robotlegs – Part 2

The "How it Works" video series explains how the inner details of popular libraries work so that you can use the same solutions in your own projects.

Monday, January 31, 2011

How it Works – Robotlegs – Part 1

The "How it Works" video series explains how the inner details of popular libraries work so that you can use the same solutions in your own projects.

Monday, December 20, 2010

PatternCraft – Decorator Pattern

PatternCraft is a series of video tutorials that use StarCraft references to teach Design Patterns.

This video is the sixth in the series and covers the Decorator Pattern.


Source is here: http://github.com/johnlindquist/johnlindquist.com/tree/master/DecoratorPatternDemo/src/

Wednesday, October 13, 2010

PatternCraft – Mediator Pattern vs. Framework Mediators

*quick note - this video compares the Mediator Pattern to using Mediators in the Robotlegs framework. I start with a simple demo and refactor to both approaches so there is A LOT of simple code being thrown around to show you how you can do the same thing in so many different ways.

Hey guys, I've been trying to catch up on sleep the past couple weeks while trying to shake this cold. Hopefully I can get back on track to releasing a video per week now that I'm feeling better.

Anyway, this Mediator Pattern video really has very little to do with Starcraft since it's all about linking up buttons and a textfield. If you'd like, you can pretend I opened Starcraft and demoed the menu system or something if that makes you feel better ;)

You can watch it in the player below or just download it here to watch however you'd like:


Other PatternCraft tutorials:
Visitor Pattern
Memento Pattern
Command Pattern
State Pattern
Strategy Pattern

Tuesday, September 21, 2010

PatternCraft – Visitor Pattern

PatternCraft is a series of video tutorials that use StarCraft references to teach Design Patterns.

This video is the fifth in the series and covers the Visitor Pattern.


Other PatternCraft tutorials:
Mediator Pattern
Memento Pattern
Command Pattern
State Pattern
Strategy Pattern

Source is here: http://github.com/johnlindquist/johnlindquist.com/tree/master/VisitorPatternDemo/src/

Sunday, September 19, 2010

PatternCraft – Memento Pattern

PatternCraft is a series of video tutorials that use StarCraft references to teach Design Patterns.

This video is the fourth in the series and covers the Memento Pattern.


Other PatternCraft tutorials:
Mediator Pattern
Visitor Pattern
Command Pattern
State Pattern
Strategy Pattern

Source is here: http://github.com/johnlindquist/johnlindquist.com/tree/master/MementoPatternDemo/src/

Thursday, September 09, 2010

PatternCraft – Command Pattern

PatternCraft is a series of video tutorials that use StarCraft references to teach Design Patterns.

This video is the third in the series and covers the Command Pattern.


Other PatternCraft tutorials:
Mediator Pattern
Visitor Pattern
Memento Pattern
State Pattern
Strategy Pattern

Source is here: http://github.com/johnlindquist/johnlindquist.com/tree/master/CommandPatternDemo/src/

Tuesday, August 31, 2010

PatternCraft - State Pattern

PatternCraft is a series of video tutorials that use StarCraft references to teach Design Patterns.

This video is the second in the series and covers the State Pattern. You can watch it in the player below or just download it here to watch however you'd like:


Other PatternCraft tutorials:
Mediator Pattern
Visitor Pattern
Memento Pattern
Command Pattern
Strategy Pattern

Source is here: http://github.com/johnlindquist/johnlindquist.com/tree/master/StatePatternDemo/src/

Wednesday, August 25, 2010

PatternCraft – Strategy Pattern

PatternCraft is a series of video tutorials that use StarCraft references to teach Design Patterns.

This video is the first in the series and covers the Strategy Pattern. You can watch it in the player below or just download it here to watch however you'd like:

Visitor Pattern
Memento Pattern
Command Pattern
State Pattern

Source is here: http://github.com/johnlindquist/johnlindquist.com/tree/master/StategyPatternDemo/src/

Tuesday, July 27, 2010

Tuesday, May 18, 2010

AsyncCommand with Robotlegs, Signals, Flight, MinimalComps

I watched Jesse Warden's presentation at FATC over the weekend on Gaia + Robotlegs. It was a great presentation and he was a bit rushed so he didn't get to explain the importance of his AsyncCommand slide. I threw this together to show my typical approach:
[pro-player type="mp4"]http://j0hn.org/videos//asynccommand.mp4[/pro-player]

Right-click and "save as" to download the video to your hard drive.


*note - I recorded in 1280x720 to upload to YouTube HD hosting, but they rejected it since it's a little over 10 minutes.

Source Code

Libraries used:

Robotlegs
Signals
signals-extensions-CommandSignal
Flight
MinimalComps
Yahoo Astra WebAPIs

AsyncCommand with Robotlegs, Signals, Flight, MinimalComps

I watched Jesse Warden's presentation at FATC over the weekend on Gaia + Robotlegs. It was a great presentation and he was a bit rushed so he didn't get to explain the importance of his AsyncCommand slide. I threw this together to show my typical approach:
[pro-player type="mp4"]http://j0hn.org/videos//asynccommand.mp4[/pro-player]

Right-click and "save as" to download the video to your hard drive.


*note - I recorded in 1280x720 to upload to YouTube HD hosting, but they rejected it since it's a little over 10 minutes.

Source Code

Libraries used:

Robotlegs
Signals
signals-extensions-CommandSignal
Flight
MinimalComps
Yahoo Astra WebAPIs