Skip to content
Cawd Logo Cawd
  • Home
  • About
  • Assignments
  • Student Work
  • Resources
  • Contact

Linking from Actionscript to external web locations

Linking from Actionscript to external web locations

Two lines of code are used in a function to have Flash load an external location.

This first line of code defines a variable.  You put where you want to go in this variable (swap Google out with wherever you want to go).

var request:URLRequest = new URLRequest("http://www.google.com");

This second line of code tells Flash to go to the variable you set.

navigateToURL(request, "_self");

Cawd Instructors:

Matt Cronin

Will Bohmann

Instragram Facebook Twitter

A little about Cawd:

Serving high school students interested in Computer Animation, Game Design, and Web Development in North Western Vermont.

Students continue at:

University of Vermont Ringling School of Art and Design Northeastern University Rochester Institute of Technology Concordia University

Students find careers at:

Dealer.com Union Street Media Rovers North Prudential Investments DockYard
Navigate to top of page