So actually there is not an error in the way the CSS properties are handled within Flash, if you area always in the run trying to get things done you will notice that the first column in the Flash Help file for the CSS properties has (for example) text-align. You might right away try to […]
Month: October 2006
Using Switch and Case
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 […]