...
< Day Day Up >
Using Clip Events
When a movie clip instance with attached scripts enters a scene, that scene can ... on the main timeline (which we created in
Step 4), to hold the value of an incrementing number. Using the ++ operator, each
time the enterFrame event occurs (24 times a second), the value of ... mathematical comparisons in our if/else if statement, their values...
...
< Day Day Up >
Using Component Methods
As should be obvious by now, both the UIObject and UIComponent classes ... myButton_pb instance.
NOTE
For more information on what focus means and how it's used, see " ;Using the
FocusManager Component" later in this lesson.
There are other methods that are ... the URL to open; the second specifies the HTML
target. Our...
... creation of new documents by
eliminating many of the common tasks required to start a new document. See “Creating a new
document” on page 21. You can also create your own templates from documents. ... option” on page 116
•
Using the ADPCM compression option” on page 116
•
Using the MP3 compression option” on page 116
•
Using the Raw compression option” on page 117
•
Using the Speech...
... the documentation using VS .NET.
Accessing the Documentation Using VS .NET
If you're using VS .NET, you access the documentation using the Help menu. To access
the contents of the documentation, ... .NET SDK is a subset of the documentation
that comes with VS .NET.
Accessing the Documentation Using the .NET SDK
If you're using the .NET SDK, you access the documenta...
... text that you want to display using the Text
property.
LinkLabel Similar to a label, except it displays hyperlinks. You set the hyperlink
that you want to display using the Text property. You ... source, such as a database.
You set the data source using the DataSource property.
ListBox A list of options. You set the list of options using the Add() method of
the Items collection...
...
< Day Day Up >
Using Shared Objects
An SWF file can save data (variables as well as array, XML, and other data objects) to a
user's hard drive using shared objects—similar ... ActionScript you can't reference the shared object directly
using that name. Therefore, a reference to the shared object is created using myObject.
This means that whenever you reference...
... any time. Using socket connections to continually transfer data to
and from the server is how most chats and multiplayer games are created in Flash.
A key principle to understand about using socket ... application
using the ElectroServer class, a little bit of ActionScript, and some components.
If you're interested in creating a more advanced chat room, look through the
Electro...
...
Using Array Arguments
Suppose you want to write a method to determine the minimum value in a set ... populate the array passed in. However,
you can get the compiler to write some of this code for you by using the params keyword
to declare a params array.
Declaring params Arrays
You use the params ...
}
}
The effect of the params keyword on the Min method is that it allows you t...