Have you got an idea for an online business? Maybe you’re currently in full-time work, in college, or you’re a stay-at-home mom … but you’ve got a few hours to spare and you’d love to have some extra cash. You’re not stupid: you know a lot of the “make money from home” adverts are just scams.
But you’re stuck. How do you work out if your cool idea has legs? How do you get it off the ground? Where should you begin?
Work Out What You’d Love to Do
Firstly, if you’re going to start an online business, don’t just pick something that you think will make a lot of money. Yes, it’s very cheap to get an online business up and running – but there’ll be a big cost in terms of your time. Continue reading →
Here are some commonly used regular expressions. Most of them are applicable for PHP, JavaScript, Perl, Python and Java.
HTTP URL
/*
Matches: https://tutorboy.com, http://tutorboy.com:8080/profile.html
Nonmatches: ftp://tutorboy.com, ftp://tutorboy.com/
*/
Expression : /(https?):\/\/([0-9a-zA-Z][-\w]*[0-9a-zA-Z]\.)+[a-zA-Z]{2,9})(:\d{1,4})?([-\w\/#~:.?+=&%@~]*)/
Its too simple to remember, the problem is because of, Flash will lose the focus of the stage while adding(addChild) or removing(removeChild) the child like Sprite, MovieClips. So we need to enable focus after each add/remove function calls. Use the following code snippet after the above mentioned functions.
ActionScript 3.0
// enabling the focus to the stage.
stage.focus = stage;
Here is the simplest method to load an external XML file to the flash using Actionscript 3.0. You need to import the following classes to your package ie URLLoader, URLRequest, Event and XML; Continue reading →
There are 4 kinds of operations are available to add a new node to the XML Object.
1. appendChild(),
2. prependChild()
3. insertChildAfter()
4. insertChildBefore() Continue reading →