blogs
In the previous article, I gave an introduction to SQLite and its place inside or AIR. In this tutorial, I will be explaining the code needed to connect to and query a previously existing SQLite database. This will take two articles to accomplish this, so this article will focus on learning the basic classes and methods that you will need to know. The next tutorial will contain a sample application that implements these features.
In order for software to be useful, it needs to be able to react to its environment. Put another way, a program needs to have logic. The logic of an application gives it the ability to change course when a given condition is met. Program flow in ActionScript 3.0 is controlled by conditionals and loops. Both conditionals and loops are responsible for determining whether a particular code block is executed, and are therefore placed within a method body. The main difference between the two is that conditionals decide on executing one collection of statements over another, and loops allow a collection of statements to execute over and over. As we'll soon see, loops, like many things in object-oriented programming, are great tools that provide the very important element of scalability. But first, a bit about conditionals.






Recent Comments