Optimizing Mobile Air Apps

How to Use Flash and Mobile Air Apps

When mobile devices with browsers and/or operating systems are used for internet browsing, many users end up surfing the web on mobile apps rather than a desktop browser. These apps are called mobile air apps and their layouts can be downloaded free of charge.

Mobile air apps usually use Flash or Java to display different interfaces. Websites are programmed in HTML, CSS or JavaScript depending on the platform. A person can either browse the web through the app or use a browser in conjunction with an app to surf the web.

Before Flash, there were only Flash movies to watch, but today’s Flash is far more advanced. If a website is coded with Flash, it can be viewed by all users on most mobile devices, and users will not need to download an extension in order to view the page.

On the other hand, Flash is not a server-side application. It must be installed in the operating system in order to run. Users have to install Flash on their mobile devices and then they will be able to view pages that contain Flash files.

There are three types of websites in which users can access mobile air apps. The first is the mobile web. In this case, a person can access the same content from any mobile device and there are no restrictions. This type of web application is commonly used when a site is always available.

The second type of mobile air apps is hosted mobile web app. Web pages are hosted on a server. There is limited functionality for a user to access their content unless they have access to a Wi-Fi connection.

The third type of mobile air app is the off-line web. This type of app cannot be accessed from a device with a browser. It can only be accessed on the mobile device without a browser.

There are ways in which the application can be accessed through different devices. Usually, people with smartphones can access their content through a website or app. Those who have tablet PCs can access the content through a desktop application.

There are some common issues that all users should be aware of when using mobile air apps. Users need to ensure that their browsing habits match what the mobile web allows. If a user uses a mobile app for a website that has Flash or Java enabled, the content cannot be viewed on a browser.

Users also need to ensure that the apps they want to use have functionalities that match what the mobile air apps can do. The same goes for the actual apps themselves. Users should be sure to use a compatible app when browsing the web. Also, users should ensure that the content that they are looking at is compatible with their device.

Lastly, users should also protect their personal information from being accessed by others. Information from mobile air apps is sent directly to the web server and should not be read by anyone else. Be sure to lock down all personal information before doing so.

Once a person uses mobile air apps, they will quickly find out how convenient and beneficial they are. Rather than having to download Flash or Java, they can now surf the web by downloading the app. With a high quality phone that is powered by Android, a person can still surf the web without having to download technology.

Flash Countdown Timer

In this tutorial, you will learn how to create a timer in Adobe Flash that will count down the time to a given date in days, hours, minutes, and seconds. If you were looking for a great Flash tool for counting down holidays, birthdays, etc, this is the tutorial for you.

Also, this Flash countdown timer tutorial allows you to preset any day of your choice with in AS2 and AS3. Have fun!

Create the Flash Countdown Timer in AS2

This tutorial will go over the basics on constructing a Flash countdown timer within Actionscript 2.0.

Step 1: Create a dynamic text field with the string value of “00:00:00:00″. Note:this is simply to get the text field to the size needed for the dynamic content.

Step 2: Delete the string value of text field and name the text field “time_txt”.

Step 3: Create a new layer named “actions” and insert the following code in the first keyframe:

Source File: REMOVED

Update: Based on your feedback on this tutorial, I decided to create a hassle free CountdownTimer AS3 class that will assist in creating your very own flash countdown timer. Learn how to create a Flash Countdown in AS3 using this class.

//onEnterFrame allows for a function to be called every tick
this.onEnterFrame = function()
	//Stores the current date
	var today:Date = new Date();
	//Stores the Current Year
	var currentYear = today.getFullYear();
	//Stores the Current Time
	var currentTime = today.getTime();
	//Creates and stores the target date
	var targetDate:Date = new Date(currentYear,11,25);
	var targetTime = targetDate.getTime();
	//Determines how much time is left.  Note: Leaves time in milliseconds
	var timeLeft = targetTime - currentTime;
	var sec = Math.floor(timeLeft/1000);
	var min = Math.floor(sec/60);
	var hours = Math.floor(min/60);
	var days = Math.floor(hours/24);
	//Takes results of var remaining value.  Also converts "sec" into a string
	sec = String(sec % 60);
	//Once a string, you can check the values length and see whether it has been reduced below 2.
	//If so, add a "0" for visual purposes.
	if(sec.length < 2){
		sec = "0" + sec;
	min = String(min % 60);
	if(min.length < 2){
		min = "0" + min;
	hours = String(hours % 24);
	if(hours.length < 2){
		hours = "0" + hours;
	days = String(days);

	if(timeLeft > 0 ){
		//Joins all values into one string value
		var counter:String = days + ":" + hours + ":" + min + ":" + sec;
		time_txt.text = counter;
		trace("TIME'S UP");
        var newTime:String = "00:00:00:00";
        time_txt.text = newTime;
        delete (this.onEnterFrame);