Skip to Content
ActionScript for Flash MX: The Definitive Guide, Second Edition
book

ActionScript for Flash MX: The Definitive Guide, Second Edition

by Colin Moock
December 2002
Intermediate to advanced
1088 pages
192h 4m
English
O'Reilly Media, Inc.
Content preview from ActionScript for Flash MX: The Definitive Guide, Second Edition
XML Class
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
Alphabetical Language Reference
|
911
Note, however, that updateAfterEvent() is not an arbitrary screen-refreshing tool; outside of
setInterval() and the handlers in the previous list, it has no effect. In Flash 6, even the
Mouse and Key objects’ event handlers do not support updateAfterEvent(); however, they
are expected to support it in future versions of the Player.
Example
The following script causes pointer_mc to follow the mouse pointer. It uses
updateAfterEvent() to refresh the screen every time the pointer moves (which may be more
often than the frame rate):
pointer_mc.onMouseMove = function () {
this._x = _root._xmouse;
this._y = _root._ymouse;
updateAfterEvent();
}
See Also
“Refreshing the Screen with updateAfterEvent(),” in Chapter 10
$version “Global” Property
the version of the Flash Player
Flash 4 Build 11; deprecated in Flash 5
read-only
_root.$version
Description
The $version property contains the same string as the return value of the global getVersion(
) function and the
System.capabilities.version property (the operating system, followed
by Player version information). See the
capabilities.version entry (under “C” in this
Language Reference) for complete details on the format of the version information and
version detection from within a browser before the Flash Player ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

ActionScript 3.0 Game Programming University, Second Edition

ActionScript 3.0 Game Programming University, Second Edition

Gary Rosenzweig
ActionScript 2.0 Language Reference for Macromedia® Flash® 8

ActionScript 2.0 Language Reference for Macromedia® Flash® 8

Francis Cheng, Jen deHaan, Robert L. Dixon, Shimul Rahim
ActionScript 3.0 Bible

ActionScript 3.0 Bible

Roger Braunstein

Publisher Resources

ISBN: 059600396XCatalog PageErrata