recovering designer
current coder
future pharmacist

I'm not sure which side runs this Village.

July 21
July 20

Batman

It gave me a headache from the large stretches of tedium.

(I so hope they do something nice with Watchman.)

The desk here at work is undergoing ant invasion

There’s been no food left out. They’ve come for my skin flakes!
July 19
July 18
Lefkas, West End: Chicken yiro: oh so yum.
July 17

Fullscreen / fullbrowser background resize function in Actionscript 3.0



function resizeBackground():void {

	FrontpageFullscreener.scaleX = stage.stageWidth/ImageWidth;

	FrontpageFullscreener.scaleY = FrontpageFullscreener.scaleX; 

	if (stage.stageHeight > (ImageHeight * (stage.stageWidth/ImageWidth))) {

		FrontpageFullscreener.scaleY = stage.stageHeight/ImageHeight;

		FrontpageFullscreener.scaleX = FrontpageFullscreener.scaleY;		

	}

  }



I was being lazy and my google-fu failed to bring this up and it’s ever so frickin trendy. (You bandwidth whores.) So this is how you do it. Requires you to supply the info for ImageWidth and ImageHeight (because the files are fat FrontpageFullscreener.x might not work for you if the image ain’t loaded) and set all your own resize listeners/stage scaling. Setting mybitmap.smoothing = true will keep things smooth.

(Try Dr Nic’s syntax highlighter.)

July 15
July 14

Things I get to learn about this semester:

  • Cardiovascular System
  • Respiratory System
  • Reproductive Systems
  • Urinary System

I am super excited about the last two. Cardiovascular = yawn.

And my first actual pharmacy practice unit! Why am I so excited about making labels? labels labels labels + FUNGAL INFECTIONS. I am happy. (Apart from the dolmades.)