TV Tux

11 5 6th 2009 § 0 comments § permalink

Watching Batman Brave & Bold with D.

Slider()

11 5 6th 2009 § 0 comments § permalink

A simple slider… enter a value and hit enter, or click on the track, or move the thumb.

I just put this into the timeline:

setTimeout( function(){ mySlider_1.init( 0, 2000, 100, 0, txt ) } , 400 );

// to move the bar based off of the textbox
// this is quick and dirty, sorry
function setValFromText( )
{
	trace("< " + Number( txt.text )  + " >");
	var _txtVal:Number = Number( txt.text );
	mySlider_1.valueDrag( _txtVal ); // <-- sets the value in the class
}

// alert back keys that are pressed
addEventListener( KeyboardEvent.KEY_DOWN, keyHandler );
// key press alert
function keyHandler( e:KeyboardEvent ):void
{
	//trace("[ " + e.keyCode  + " ]");
	if( e.keyCode == 13 ) setValFromText() ;
}

Here is my actual class added to the slider object:

→ Read the rest of this entry.

Creature on the stairs

11 4 5th 2009 § 0 comments § permalink

He has taken over the office. We fear the bedroom is next.

youTube()

11 4 5th 2009 § 0 comments § permalink

This is my simple class for playing a youTube movie in a containing swf.
→ OMG! WTF? More!

AS 3.0 standard settings

11 4 5th 2009 § 0 comments § permalink

I’m just going to say this once…
When I set up to work in AS 3.0 on any machine there are a few standards I use:
→ Read the rest.

Where am I?

You are currently viewing the archives for 11 4 5th 2009 at DrPunchBlog.

  •  

    November 2009
    M T W T F S S
    « Oct   Dec »
     1
    2345678
    9101112131415
    16171819202122
    23242526272829
    30  
  • Archives

  • The Uber-Mannerist ...
    By Van Arno
  • RSS mtr.me

  • Translator