January 11, 2008 at 4:45 am
· Filed under Development, C#
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.
» Permalink
»
» del.icio.us
» Digg It!
July 2, 2007 at 10:37 am
· Filed under Development, Design, HTML, XML, Web, UX, CSS, JavaScript, Hardware

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 »
» Permalink
»
» del.icio.us
» Digg It!
June 25, 2007 at 3:17 pm
· Filed under Development, HTML, Flash, Actionscript, XML, JavaScript
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
» Permalink
»
» del.icio.us
» Digg It!
June 13, 2007 at 7:42 am
· Filed under Development, HTML, Flash, Actionscript
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 »
» Permalink
»
» del.icio.us
» Digg It!
April 30, 2007 at 1:11 pm
· Filed under Development, Flash, Actionscript
“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
» Permalink
»
» del.icio.us
» Digg It!
April 21, 2007 at 9:05 pm
· Filed under Development, Audio
“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/
» Permalink
»
» del.icio.us
» Digg It!
April 17, 2007 at 7:05 pm
· Filed under Flash, Actionscript
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 »
» Permalink
»
» del.icio.us
» Digg It!
April 15, 2007 at 4:42 pm
· Filed under Flash, Actionscript
“This function is used internally during the initializion stage for the predefined actionscript objects. It is used to hide an objects children from the for..in loop construct. The for..in loop construct iterates over all children of an object, this means it exposes both methods and properties of an object. It is also used to protect the predefined actionscript objects children from being over-written by another action with the same name and to protect the predefined actionscript objects from being deleted. The usefulness of this function can also be harnessed by the developer and that is when this function gets interesting… ” - via FlashGuru Consulting » ASSetPropFlags
» Permalink
»
» del.icio.us
» Digg It!
April 11, 2007 at 10:13 pm
· Filed under Development, HTML, Flash, Actionscript, JavaScript
Embedding Flash
“There seems to be a lot of confusion about the code needed to properly embed Flash objects within a website: it’s the most frequently asked question at this site’s forum. The rise of profiling sites like Myspace (who filter lots of codes) and the recent Eolas patent enforcement have thrown even more confusion into the mix. In this article, I’ll try to clearly align the best options for Flash embedment. I’ll also mention the most common pitfalls, and their workarounds.” - via jeroenwijering.com
My method-of-choice to embed has to be SWFObject. It’s able to not only take care of what it needs to, but also integrates with several other techniques including SWFAddress. Another thing I like about it is the ability to work well within Wordpress. At first I had to fall back on some embed techniques and plugins, but after reading this post about using multiline comments, I am up and running with SWFObject again.
» Permalink
»
» del.icio.us
» Digg It!
March 2, 2007 at 11:28 pm
· Filed under Flash, Actionscript
Bitwise operators are a very low level way to program and therefore not considered light reading, but lately I’ve been seeing enough interesting scenarios where they can be applied.
Read the rest of this entry »
» Permalink
»
» del.icio.us
» Digg It!