Skip to Content
Perl Graphics Programming
book

Perl Graphics Programming

by Shawn Wallace
December 2002
Beginner
478 pages
17h 55m
English
O'Reilly Media, Inc.
Content preview from Perl Graphics Programming

Actions, Functions, and Properties

The actions and properties described in this section can be thought of as methods and properties of the top-level movie. ActionScript also provides built-in functions for evaluating various expressions. These are described in the following tables:

Table D-8
Table D-9
Table D-10
Table D-8. ActionScript actions

Action name

Parameters

Description

call

frame

Switch the context from this script to the script attached to the specified frame.

delete

object

Delete (undefine) the specified object or variable.

duplicateMovieClip

movie_clip, new_name, depth

Create a new instance of the given MovieClip, place it at depth, and label it with new_name.

fscommand

command, argument_string

Pass a command and list of arguments to the system that is running the SWF user agent.

function

name { code_block }

Define a function.

getURL

url , window

Load a MovieClip from an external URL. The optional window parameter can be one of the following values:

_self

The current frame in the current window.

_blank

A new window.

_parent

The parent of the current frame.

_top

The top-level window.

gotoAndPlay

frame

Go to a particular frame and play the movie.

gotoAndStop

frame

Go to a particular frame and stop the movie.

loadMovie

url, target

Load an external movie from the specified URL. The target can be a path to an existing object in the movie (which will be replaced) or the depth at which the movie clip should be placed.

loadVariables

url, level

Load variable data from a text file or CGI script. The data will be read into ...

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

Advanced Perl Programming

Advanced Perl Programming

Sriram Srinivasan
Perl One-Liners

Perl One-Liners

Peteris Krumins
Perl Template Toolkit

Perl Template Toolkit

Darren Chamberlain, Andy Wardley, David Cross

Publisher Resources

ISBN: 9781449358280Errata Page