Following the samples from the Flash Docs you will have the following: [as]switch (variable) { case 0: trace(“Option0”); break; case 1: trace(“Option1”); break; case 2: trace(“Option2”); break; }[/as] But if you are about to test against a string variable instead of a number variable your first instict (or at least i guess it would be […]
GoDaddy and MySQL access
If you are a developer and you do some sort of backend work there is a chance one of your clients might ask you to install an application in GoDaddy servers. So if you are trying to connect to a dabase within your application what GoDaddy recommends is to use mysql.secureserver.net as your hostname. Maybe […]
ActionScript Email Validation
Sooner or later you will face with the small quest of validating an email address for your flash application. The following script is a basic script and should not be used for websites that relay heavily on the email address is being requested (shopping carts, credit card transactions and so forth) [as]function isValidEmail(e) { if […]
Never Understimate the power of MovieClips used as Graphics
When the time comes when you have to develop the same set of animations for different sets and different sizes don’t forget to use your MovieClips as Graphics, this is a great way to save work for everyone. Not only you will be able to deliver on time (and if you are lucky under schedule) […]
Flash ActionScript Inheritance
So I am trying to figure out the following piece of code: [as] in Application.as import Log; class Application { private var _log:Log; // force mtasc to compile Log.as function Application(createdBy) { // Re-assigment of _root to Application instance createdBy.__proto__ = this.__proto__; createdBy.__constructor__ = Application; this = createdBy; setup(); } public function setup() { TRACE(“hello […]
Developing ASP.NET – Welcome Matrix Project
After I got my computer I figured out that WinXP doesnt come with the IIS server to develop for ASP.NET. This is a major problem if you are like me who has to develop in different languages under the same platform. Well, I found this little application called ASP.NET Web Matrix Project. It is only […]
ICal & GTD
Sometimes is difficult to integrate the GTD system into your everyday life tools, locally for us Jeffrey C. Long posted the setup he uses in Ical, as most of you know Ical is only available for MAC and there is no sight of being developed for PC. There are similar items like Mozillas Calendar that […]
Welcome FABridge – A combination of Flash and AJAX
Adobe makes peace with Ajax 9th March 2006 By CBR Staff Writer Seeking to ride the Ajax wave, Adobe Systems is to announce that it wants to make friends, rather than compete with, the increasingly popular grassroots rich internet client framework. Adobe will release FABridge, which stands for Flash-Ajax bridge. Specifically, FABridge will allow JavaScript […]
New Layout
After so long without updating the layout for this site I finally got the opportunity to do it. At first I was concerned about all the details of the site but after starting programming this monster things were a lot easier than what I remember they were. I hope you all enjoy the new layout.
The TRUTH about PHP/mySQL security Part II
..continued from The TRUTH about PHP/mySQL security Part I So here we are on “The TRUTH about PHP/mySQL security Part deux”, So after reading lots of websites/blogs and reviewing nearly 100 OS PHP/mySQL scripts I have found that everyone has a similar structure Main Page |- imgs |-someimage.jpg |-someimage.jpg |- inc |- dbconnection.php |- extra_file.php […]