Google has just announced it's making an offline version of its Gmail e-mail service available today. The new feature will be initially available to users of its Googles Apps online suite of productivity applications, which includes Gmail.
Over the next few weeks, Google said it will make the feature available to consumers and others who use the stand-alone version of Gmail.
This is a simple bar like the ones we see in shooting games that shows how much life,health or energy left for you, I just made a very simple example to show how it is done.
As you can see I made two buttons Shoot Me and Help!!.  when you click on Shoot Me your energy will be decreased,
Exploring the Dark Room Using the Masking Property in Action Script 3
Written by Waleed Al-Bahrawy
Tuesday, 10 February 2009 12:09
Â
Â
Â
Using the masking property in Action Script 3 an object can mask the content of another object.
The masking object will show only the content of the masked object that is in it's range.
Many game developers are using this property in their games and I used it in my game Sky MazezZ(starting from level 15), where the level will be dark and the player can only see a limited area of the maze and doesnt know what is coming.
Suppose you made your own flash game and you want to put it on the internet like everybody else. Well thats pretty easy, only people may take your game and put it on there own sites, or maybe just download it and play offline.
Well not to worry there is a pretty easy way to prevent it.
Just read on for the code and well offcourse a little explaination...
Â
 Just insert the following code into your game ActionScript in the correct place as described below:
Â
1 2 3 4 5 6 7 8 9
if(this.root.loaderInfo.url.indexOf("YOURSITEHERE")!= -1){ //OK THATS WHAT I WANT } else{ //if the game is not played from my server //redirect the player to my site! var myURL:URLRequest = newURLRequest("YOURSITEHERE"); navigateToURL(myURL); }
Â
Description of the code:
We are using the this.root.loaderInfo.url property that returns the full path of the SWF file, starting with http:// , so we are checking if the path of the game has your web address in it or not. It will return -1 if it doesnt and will return a positive value if it does.
LINE 1: The value is not -1, that means the game is running from your server. You can leave the body empty or add an action such as starting the game!
LINE 4: This means someone downloaded the game and running it from his server or on his computer. In this case you will need to redirect the player to the original place of the game which is your website.
Â
LINES 7&8: These lines are for redirecting the player to your website
You can do this check before the game starts, if it is running from your server then start the game, otherwise dont start the game and redirect the player to your website.
Also when you publish your game out there on the internet you will also need to learn about flash games decomplation
You just finished your game and tested it and everthing is OK and now you want to publish it. I advice you to first upload the game onto (www.kongregate.com/) and (www.newgrounds.com), because they are the most known flash game portals that accept game submissions from developers and have big amount of traffic.
After that you may search for flash game portals that accept submissions from developers.Here is a list of websites that accept game submissions, some of them will require registration.
Note: If the website asked for "Flash URL", upload the "SWF" file of the game on your website and enter the address of the "SWF" file in the field or make a site using google sites and upload the file there if you dont have a website.
Below you will find even more links to websites and emails that accept submissions of your flash games on their game portals. Remember the more you submit the more the popular your game becomes.
I will summaries what Hallpass say about their API:
-50$ for each API added to a game, ofcourse after the game is approved by Hallpass. -They will pay you via PayPal after your game is uploaded to their site. -The API will send the scores to Hallpass, and they will be tracked in the users profiles. -The scores must be submitted at the end of each level or game.
Here are the steps to add the API:
1-Add the API Code to your game. 2-Upload it to Hallpass. 3-Wait a few minutes then check your profile area, your game should appear. Play and test your game out to see if it is sendingthe scores, be patient as scores update every few minutes... so play, wait, then check. 4- Contact Hallpass and tell them that your game has worked and you want to get paid and include your pay pal address.
Go to google and search for flash file decompilers, you will find numerours programs out there, that wil allow your flash file to be decompiled. Once decompiled the file can easily be edited and your source code can easily be seen. So it is important to protect flash files that you publish on the internet.
There are two numerous ways out there to protect flash files, we will discuss two ways to achieve this, a basic way provided by Adobe Flash and another provided by MochiAds.
Flash is built for streaming content, which means the movie will start if the minimum bare content has been loaded, such as elements used in the first frame.
This will not be good in games, because if a part of the game didnt load, then the game may not work properly! So we need to dedicate a frame at the beginning of the game to load the whole game parts on and after the loading is done, we will allow the game to start.
Ever wanted to save some information about a user like his level number, or last high score, or any other information. Well ActionScript provides a simple way to achieve this. Local data is used to save data into the user's machine such as score,level number,..etc. Below is the simplest example of saving local data on to a users computer.
Â
Here is a simple counter that counts how many times did you visit this article on FreshNova!
Â
Â
Read on to see the source code. The source code is well documented so I believe it is not too hard to understand.
Right click any flash file, a menu will show up with many items, in the middle you will find "Rewind" and "Forward", those two items allows the user to move from frame to frame in the flash file. Well personally I learned it the hard way, I published a game without disabling the right click, and players were basically able to do whatever they wanted in the game. So for those of who youwho want to disable it follow these steps. This will be a bug in the game or an easy cheat for players to jump from level to level if each level of the game has its own frame.
MindJolt provides high score api for developers to use in their flash games. They say there are 4 ways to install the API, 3 of them using components and the last one is manually done using action script, lets take a look at them.
Note: If you dont want to deal with adobe extensions jump to step 3.