Posts filed under 'observations'

How to use Bitmap and BitmapData in ActionScript 3 – v3

example of BitmapTest 3 Alright, this example is very similar to the other examples I have done. But with this one I am scaling all pixels at the same rate. Just click on it the image in the example Source | Example

[as] import flash.display.*;
import caurina.transitions.Tweener;
import flash.sampler.*;

var pixHolder:Sprite = new Sprite();

var img:Img = new Img();
//pixHolder.opaqueBackground = true;

addChild(pixHolder);

var coords_array:Array = [];
var pixels_array:Array = [];

var bmd:BitmapData = new BitmapData(img.width, img.height, false);
bmd.draw(img, new Matrix());
bmd.lock();
startSampling();

for (var i:int = 0; i < img.width; i++)
{
for (var j:int = 0; j < img.height; j++)
{
var coords:Object = {};

//var pixData:BitmapData = new BitmapData(1, 1, false, bmd.getPixel(i, j));

//var pixBit:Bitmap = new Bitmap(pixData, PixelSnapping.ALWAYS, true);

var pixSprite:Sprite = new Sprite();
pixSprite.graphics.beginFill(bmd.getPixel(i, j), 1);
pixSprite.graphics.drawRect(0, 0, 1, 1);
pixSprite.graphics.endFill();

pixSprite.x = i;
pixSprite.y = j;
//pixSprite.filters = [new BlurFilter(5, 5, 3)];
//pixSprite.addChild(pixBit);
pixHolder.addChild(pixSprite);

coords.sprite = pixSprite;
coords.x = i;
coords.y = j;
coords_array.push(coords);
}
}
trace(”what: ” +getSampleCount() )

bmd.unlock();
bmd.dispose();
stage.addEventListener(MouseEvent.CLICK, updating, false, 0, true);

function updating(evt:MouseEvent):void
{
removeEventListener(MouseEvent.CLICK, updating);
trace(”over”);

for(var k:int = 0; k < coords_array.length; k++)
{
Tweener.addTween(coords_array[k].sprite, {x:coords_array[k].sprite.x * 2, scaleX:coords_array[k].sprite.scaleX * 2, scaleY:coords_array[k].sprite.scaleY * 2, delay:.5,  y:coords_array[k].sprite.y * 2, transition:”linear”, time:.5});
}
trace(getSampleCount() )
}
[/as]

Add comment April 29th, 2008

Mrs. Spitzer’s thoughts during her husbands sex scandal press conference

Mrs. Spitzer has a lot to think about. – Link

Add comment March 12th, 2008

This is what I don’t like about Comedy

I’ve been doing the Heyna’s open mic and the first time I did it Gary Hood told me that what I did was good but “where’s the goofy, funny stuff”. So next time I come with the funny, goofy, owner says, “Thats cool and all but I want to see you do a tight five”. So today I come with a tight five and Gary says, “That’s good the puns and all that but do the witty stuff” I did that I did that last time and the owner told me to do a tight five. “Well you got to do the stuff you would to for an audition”. That is what I did. “Well I don’t want to bust your chops.”

I love comedy and I love doing jokes but I hate being directed back and forth for every little thing. He says I do great at open mics, that’s because no one is telling me do this do that I do what I want and that’s what I’ll do from now on and if I don’t get that guest spot then I don’t get it. I’m not getting a comedy boob job for work. Ala Naural.

Add comment February 17th, 2006

To go or not to go that is the question

Me and another comic (I won’t name name but he a big myspace headshot) were talking about moving I to NYC him to ? We weighted it because of the money issuses, flexible job and cost of living.

But I have imediate family there and I’m married so I need to get moving before she loses hope in me and doesn’t want to move. She is adiment about moving for a change of scenery and a possible comedy outlet for me. I know NYC isn’t the magic cure all for someone to become a working comic or actor but I think it would help.
But I don’t know I’d be going in blind and I lot of things can go wrong, I have a great job here. But nothing could happen here, too. Figuring your way in comedy (even life) is like a choose you own adventure book that was as thick as the bible, all lord of the rings and Narnia.Where will any of us end up.

2 comments January 13th, 2006

So what’s going on

Well this week I lost the first round of a comedy contest to a person who talked about her abortion for 5 mins. That was a waste. No offence but come on really that is going to be valid of a prize. Anyone can just shock people. Now a days everone thinks comedy is suppose to be like Jackass or Dave Attell. Both funny but comedy can’t just be Fart, molester, and dead baby jokes. That’s the knews you can be shock every day at 10pm if you want to hear about rape and abortion. How about we use our minds.

Shock comedy is not where the future or money is not unless your are very very clever. No one wants to listen to that stuff of 45-60 on a weekend. It get old, trust me.

Add comment October 8th, 2005

I see dead people

So a couple of hours ago I some how got…oh I was looking for something to do for a double date I have in a couple of hours. That is when I got to the sixth floor mueseum site, that took me to a Texas history site which took me to Boonie and Clyde, where I noticed they are both (including the surrounding fam) are buried here in dallas. Boonie just above Love field and Clyde off of Ft. Worth Ave. in the industrial part of town near the Main Post Office.

After looking for over an hour I noticed something…you need to treat your kids right and love you family, cause no one is going to tell your awesome story. There were many people on find a grave. Do you know who Greer Garson is? Well she was an actress she played Maddam Curee and won an Oscar for another movie. What about Arthur Demp? HE FOUNDED SEATTLE!!! The man founded Seattle and you probably had know idea what controbution he has made to America, fish, Cobain, Starbucks, this man founded Seattle. We search for fame and fortune and all this crap to die and have some guy who has nothing to do at 5:30 in the morning learn about you.

I hope these people were good to there kid cause a life dies even if it was on the silver scree or on wax. Name me 15 stars of the 1920’s. Name the Pulizter prize winner from last year. I bet you can’t even do that. In sixty years will anyone give to squirts about Bruce Willis, Hally Berry, or even the great Al Pacino (maybe Pacino). Have you been to a library lately it echos, “What have you done with your life,” and “Don’t waste your time writing books they may end up never being checked out” The vast amounts of books just availbible at the Dallas Library is amazing and that is just a small dose of what is out there and we can name how many authors besides the pop culture ones. I bet you if I was to die tonight, murdered by a serial killer toddler most people would not know my name 1 yr later and even more so ever read this blog that I keep.

Add comment August 27th, 2005

Working out

So me and my wife have been working out for a while and we are happy with the progress that we have made but we want more. So have decided that we are going to wake up early and workout. We started this a week ago, the problem is that we have yet to work out in the morning. Alarm goes off at 5..5:15, my wife nudges me to turn it off, 5:30 she nudges me again to turn it off I do. 5:45 it goes of again, by 7:30 she is pissed and the day has started bad now.

The gym is wierd because there are alot of people doing wierd thing with metal and there bodies, you have lots of different kinds of people also for example: the jocks with there noise making, the cool guys who work out in packs and have some cool thing to teach the other of something they learned in Muscle and Fitness, then there are the sexies who come to train hard but for everyone to wish and lust after them, this could be guy or a girl both wear short short and have tans(if white). Then there’s the gay men they work out so sexual and feminine. They don’t do bench or stuff like that they do raises but all the way up to the sky in a fairy-like motion (no pun intended).

The muscle guys, when they flex, look like stacks of terds.

Add comment August 22nd, 2005

Smurf movie

Coming out with new movie. I loved the smurfs they had every type of person in there. New Smurf movie will be have to date with cosmedic sergury smurf, jokie smurf would be terrorist smurf, Smurette would be Paris.

The Smurf episodes sometimes have this gang up on on perticular smurf, where is name states his downfall condition, Crackhead Smurf I can’t believe you stole my DVD player while you were house sitting.

Add comment August 22nd, 2005

Protected: The Aristocrats

There is no excerpt because this is a protected post.

Continue Reading Enter your password to view comments August 16th, 2005

Getting food and a book

So I decided to troad throught the heat of Dallas and go to the library and kroger. Well at the library near kroger, I checked to see if the MLK library was open.

I noticed that there is a sign that says no firearms beyond this point. The wierd thing is in Texas you can have a concealed handgun but almost ever place I go has a sign that says no firearms. That’s strange if I had a gun I could only conseal it in the car. No wonder there are so many road rages in Texas. You have to go back to you car to put your gun back.

So when I go to the MLK library I noticed also that there guard was packing a .45. A .45…at a library…a library.

“Hey kid…put that book down or I’ll shoot.”

At the library in Queertown, there was no gun on th guard, just no mase. I guess gay white people don’t steal books. Also the library had the Man Show on DVD. Let’s learn about boobs.

The library is a great under rated privilage for Americans. We complain there ae no free learning tool and what not. I learned almost everything about the web design from books and the rest from Craig.

Add comment August 6th, 2005


    Blog Calendar

    March 2010
    M T W T F S S
    « Jun    
    1234567
    891011121314
    15161718192021
    22232425262728
    293031  

    Posts by Month

    Posts by Category