Super Stupidly Simple Particle Effect (Actionscript 3.0)

Here’s a quick particle effect I threw together. Thought I’d put it up here… figuring it might help some hapless googler searching for a quick fix, since it’s a super simple class you can easily reuse or (quite possibly) extend… probably. Download source here. [swfobj src=”http://nathalielawhead.com/sourcefiles/Mouse_Particle_Effect/silly_little_particle.swf” height=”400″ width=”480″] Mouse over the above area to preview. The AS (Particle.as) package { import flash.utils.Timer; import flash.events.TimerEvent; import flash.geom.Point; import flash.display.MovieClip; public class Particle extends MovieClip { protected var position:Point; protected var vector:Point; private var gravity:int; private var friction:Number; private var maxIterationsAlive:Number; private var iterationsAlive:Number; protected var update_i:Timer; public function Particle(p:Point, v:Point, g:int,...

Continue reading...

Displaying IMAGES And MEDIA Files In A Flash Based Twitter Feed Reader

This is a follow up to my previous post “Loading Twitter Feeds Into Flash (Through PHP)” (Check it out for source code and other resources)… After successfully doing so, the next most obvious question of any Flash developer would be: “Wow, Flash is awesome! So, can I display images and media files in my Flash Twitter feed reader?” Well, son… The answer is both Yes and, um… No. You can display direct links to media such as: http://realylongurltoyoursite.com/directory/anotherdirectory/image.jpg BUT Twitter has a 140 character limit (that’s just the idea behind Twitter, if it where longer it would be Tumblr). So...

Continue reading...

Loading Twitter Feeds Into Flash (Through PHP)

[swfobj src=”http://nathalielawhead.com/noodles/twitter.swf” height=”200″ width=”600″] -Supports ability to retweet, follow, and shows a profile pic. Download the sourcefiles here. There are many cool things you can do with twitter. See Smashing Magazine’s article “50 Twitter Tools and Tutorials For Designers and Developers” I like it. Rather inspiring. Twitter is cool. You know you can even grab the coordinates of where the twitter twat tweeted? I feel sinister seeing that. Consider making a “stalk your ex” app using Twitter and Google Maps where you can enter a user name and see your “ex’s” migration and travel habits. Hehe… Evilness. Importing Twitter feeds...

Continue reading...

Twitter, Tiny URL, Stumble Upon, Facebook Share, Delicious, Google Buzz, IN FLASH (With Source Files)

DOWNLOAD SOURCE FILE [swfobj src=”http://nathalielawhead.com/sourcefiles/Share_All_FlashToSocial/share.swf” height=”199″ width=”597″] Here’s a quick .fla based on quite a bit of digging I dun did, to figure out what buttons you can put into Flash to best enhance your sites social networking capabilities… Oh shit, ouch! Sorry. That last line sounded like I fell out of the marketing department. Of course this example uses: var pageURL:String = ExternalInterface.call(‘window.location.href.toString’); To get the URL (based on where the swf is). If you’re picky and you know that is a bit iffy then use .php to do that or hardcode your shit in there. Like a boss....

Continue reading...

Along The Way

Wayward traveler I met along the way… I know your face but not the name. Share with me from whence you came, And I’ll name you a fellow seeker. Past perchance have we met before? Past romance, kith, kin, or vow to save the last dance. Perchance quite ponderously, strange as it seems, You appear a forgotten memory from a million footsteps ago, And I tread lightly, I’ll have you know! Wayward traveler I met along the way… As night creeps in upon the day, tell me your tale! I’ll write you a psalm to carry us beyond the grave,...

Continue reading...

Sun 11:05 PM

Does each have a name? I consider the stern ants… From the top of my high rise. . Sunset, park just closed New friend, the ringing phone booth! The little bird sings. . Deportation time! A mass of people line up And wait for the buss. . He makes a promise Somehow that’s anesthetic “This won’t hurt a bit.” . After work hours, Brilliant innovator’s Sale cons my wallet. . Hoping it will change So I’m throwing bricks at it It’s a wall, I know. . Chaos, half-done mess… “Why has God forgotten me?” Asks the canvas, wet. . Church,...

Continue reading...

Heart Box

Can it please feel less? That feeling in my chest. I know the world isn’t real, But still I have to feel. Quieting that overburdened melody, In my heart box. Can I please cut it out in exchange, For a bigger and more sensible brain? Anything less quick to ache and pain, Like something from a machine! That’ll just beat, and beat, and beat, and beat… All punctually punctilious, And wholly inconspicuous. Quiet you! Over-pronounced melody, Considering my heart box. Perhaps I can, please… Contrive a means to make it cold? I’d buy it as medicine for my soul, And...

Continue reading...

Thu 1:51 PM Haiku

She’s collecting stars Strewn upon the pavement, blind Sweeping shop keeper . Friend to the bottle Curls softly beneath the smoke A cigarette bud . I can read the lines Blisters tell us we’re stronger Callus on my hands . Flower-stand baby At the intersection where The cars pass him by . Farewell family Next to a slaughtered forest A dying tree seeds . Exiled to a cart God, tell her she’s forgiven So she can go home . A stale smell downstairs Follow a cough and the blues Rain, wet cigarettes . All quiet except A guitar in the...

Continue reading...

Sun 10:41 PM Haiku

Something beautiful I watch it from a distance Love makes us so strong . Glass shards on the street To cut the soles of my shoes Neon sign flickers . The last survivor On the concrete corner, cracked Dandelion bloom . Newspapers stuffed clothes Spare her most the cold Lying on a bench . Brush stroke clouds on blue Splendidly powdered colors His concrete canvas . A playful rattle Smiling with only one tooth I throw him a coin . On a pedestal The oracle foretells doom Speak it, preacher man . Street lights in the sky Where do the...

Continue reading...