C# - Arguments via file drop

This issue came up a while ago, but after getting deeper into C# I’ve now been able to track down the answer.

The problem involved loading a dynamic flash file into C# on the fly while still being able to load a default in its absence. You could of course use an XML file but then you would just have to edit it each time you used a different path – lame.

So this solution allows for you to drag a file/files onto an application’s icon, and retrieve a list of those dropped items. If it can’t find your file extension in the argument’s array it’ll return the path to your default file.


The best part about this is just how easy it is to get that list.


One thing to keep in mind ( at least for me ) was that the first array element is a reference to the application being launched. If you drop multiple files I couldn’t tell if they were in any specific order, so I chose to loop through the array instead of picking a consistent element index.

» » Comments     » del.icio.us     » Digg It!

Why I pay too much for the iPhone and why it doesn’t matter

iPhone boxes

In two years it’ll cost me at least $2500! but it’s still way better than my last phone.

Read the rest of this entry »

» » Comments (5)     » del.icio.us     » Digg It!

Flash to WordPress Guide and Code

Flash to WordPress Guide and Code

“Ever Since I launched my Flash website with a WordPress backend, I have received numerous emails and comments asking me how I did it. Today I will make available some of the PHP code I wrote to extract Data from WordPress in an XML format. I have also created a diagram and explanation on how my website works to hopefully assist anyone else who wants to try the same thing. I should point out that I haven’t made available an end to end solution, you will still need to do a lot of work, but I hope that I have provided a good starting point. The PHP Script makes an SQL query to a MYSQL database holding the WordPress Data. The PHP Script then formats the data into XML. This then can be loaded by your Flash Website. There are functions to retrieve Posts and create Menus.” - via tvwonline.net

» » Comments (4)     » del.icio.us     » Digg It!

Fullscreen Flash

I’ve been seeing a trend lately with Flash going full screen. Not only is it going to the edge of the browser, it is taking over the screen regardless of browser. This has been made possible since the arrival of Flash Player 9.

Read the rest of this entry »

» » Comments (3)     » del.icio.us     » Digg It!

Microsoft Surface

Microsoft Surface

Microsoft Suface Website

“Picture a surface that can recognize physical objects from a paintbrush to a cell phone and allows hands-on, direct control of content such as photos, music and maps. Today at the Wall Street Journal’s D: All Things Digital conference, Microsoft Corp. CEO Steve Ballmer will unveil Microsoft Surfaceâ„¢, the first in a new category of surface computing products from Microsoft that breaks down traditional barriers between people and technology. Surface turns an ordinary tabletop into a vibrant, dynamic surface that provides effortless interaction with all forms of digital content through natural gestures, touch and physical objects. Beginning at the end of this year, consumers will be able to interact with Surface in hotels, retail establishments, restaurants and public entertainment venues.

The intuitive user interface works without a traditional mouse or keyboard, allowing people to interact with content and information on their own or collaboratively with their friends and families, just like in the real world. Surface is a 30-inch display in a table-like form factor that small groups can use at the same time. From digital finger painting to a virtual concierge, Surface brings natural interaction to the digital world in a new and exciting way.” - via Microsoft Press Kit

Highlights

Microsoft Surface: Behind-the-Scenes First Look (with Video)
The software giant announced today at the D5 conference that it’s built a new touchscreen computer—a coffee table that will change the world. Go inside its top-secret development with PopularMechanics.com, then forget the keyboard and mouse: The next generation of computer interfaces will be hands-on.

Inside Microsoft’s Top Secret Computer (Video)
The company’s flat surface machine is the first in its category.

Read the rest of this entry »

» » Comments (8)     » del.icio.us     » Digg It!

Cool Workspaces

Cool Workspaces

“Designers need somewhere great to work to do their best work - be it a desk with 4 huge screens and a mountain of technical equipment or a laptop sat in your garden it helps the creative process along. Here we scour the internet for examples of workspaces; some good, some bad, some cluttered, some clean - we take a nosey at where we people are doing their work …” - via tutorialblog.org

» » Comments (1)     » del.icio.us     » Digg It!

Dynamic MovieClip Registration

“This handy little class (download here) will allow you to change the registration point of a MovieClip on the fly (instead of having to modify the symbol in the library and repostion all of the contents).” - via Darron Schall

» » Comments (1)     » del.icio.us     » Digg It!

Speech recognition for coding

“Well, if you think you’re going to be able to use speech recognition to code anytime soon, this video will set you straight.”

http://robrohan.com/2007/02/14/speech-recognition-coding/

» » Comments (1)     » del.icio.us     » Digg It!

Trigonometry in Flash

Trigonometry is an easily overlooked topic until you want to create interactive interface solutions relying on spacial relationships. In theory, the concept of trigonometry doesn’t require much to grasp yet still requires enough specialized and simple formulas which are better served as reference material.

So like any interaction developer, I’ll need a trig toolbox, and this will be it.

Note: This is currently a work in progress

Read the rest of this entry »

» » Comments (9)     » del.icio.us     » Digg It!

Neural Interface Device

Emotive_Neural_Interface_Device

IGN: GDC 2007: Emotiv Systems Unveils Shocking Neural Interface Device
“Emotive’s technology is based upon a new manner of interpreting the electrical activity in the human brain via EEG that looks below the individually unique (and thus difficult to accurately analyze) outer cortex to deeper regions of the brain. Users wear an electrode studded headset that wirelessly interfaces with a receiver already no larger than a USB ram drive. In our closed door demo, Emotive displayed three aspects of how the technology will bring humans and technology much closer together.” - via tagenigma.com

Includes; facial recognition (without a camera), emotional status detection ( excited or calm), and 3D virtual environmental movement manipulation with your thoughts (push, pull, slide, rotate, lift, drop, and six other motions). Coming in 2008 for less than a PS3.

Check out this video ( 11:30 )
http://media.games.ign.com/articles/693/693580/vid_1950935.html

» » Comments (1)     » del.icio.us     » Digg It!

« Previous entries ·

best kansas city bookstore pirodr! 666