so i haven't posted anything in a while, that doesn't mean i haven't been doing things.
in Flash we've been working with action script. I'm going to post my code so far so i can reference it.
package
{
import flash.display.MovieClip;
import flash.events.MouseEvent;
public class Main extends MovieClip
{
var pageOne:PageOne;
var pageTwo:PageTwo;
public function Main()
{
//trace( "hello world");
pageOne = new PageOne;
pageTwo = new PageTwo;
addChild(pageOne);
//ev list
pageOne.buttonOne.addEventListener(MouseEvent.CLICK, onButtonOneClick);
pageTwo.buttonReturn.addEventListener(MouseEvent.CLICK, onButtonReturnClick);
}
//ev handler
function onButtonOneClick(event:MouseEvent):void
{
removeChild(pageOne);
addChild(pageTwo);
}
function onButtonReturnClick(event:MouseEvent):void
{
removeChild(pageTwo);
addChild(pageOne);
}
}
}
Showing posts with label flash. Show all posts
Showing posts with label flash. Show all posts
Monday, March 1, 2010
Monday, February 8, 2010
the plan for my buttons
Monday, February 1, 2010
flash buttons
a while ago i spoke of a comic called the city of reality, it had buttons. now i know hoe to make buttons in flash. i am happy. now i just need to figure out what to do with it.
Friday, January 22, 2010
expantion and scale
Saturday, January 16, 2010
Collections
Wednesday, January 13, 2010
todays doodles
Tuesday, January 12, 2010
City of reality

today i was going through my comic list and rediscovered the City of Reality http://cityofreality.com/
it's an amazing comic. they do some wonderful things with flash that i really need to figure out how to do, at least i think it's flash they use.
the idea behind the comic is basically summed up with the first page and yet the author manages to keep the reader (me) hooked with interesting characters, a fascinating world and a unique look at the way things could be.
I recommend it to everyone.
Monday, January 11, 2010
Tuesday, November 10, 2009
Thursday, October 1, 2009
Subscribe to:
Posts (Atom)




















