First time here? First time here? Newsletter Signup Newsletter
651326 Members and growing! | Flash Jobs
Search tutorials
Author: Eddie Carroll | Website: http://www.flashkit.com

Usage:
Get URL ("URL", Window/Variables)

Parameters

URL - defines the URL for the action. Can be a relative or absolute path.

Window - Identifies how you want the URL to be loaded.

  1. _self - loads URL into current movie.
  2. _blank - loads URL into new browser window.
  3. _parent - loads URL into the parent frame of the current frame.
  4. _top - removes current frameset and loads URL into the browser window.

Variables - Gives you control of how variables are treated.

  1. Don't Send - Does not send variables. Default for opening URLs.
  2. Send using GET - sends a small number of variables that are appended to the URL identified in the URL parameter. For example if the variables are text and style, then the URL will be "http://www.flashkit.com/tutpage.shtml?text=How+are+you&style=big". A Flash movie on tutpage.shtml would then accept the variables and used them as directing in the movie.
  3. Send using POST is best used for flash forms and sends the variables separately to the URL. This is best used when dealing with CGI or something similar.

Example uses:
HTML Navigation in Flash movies, opening browser windows, sending variables like a HTML form.

Description:
Get URL can perform two roles. One, tell the browser window to load the URL indicated in the command or, two send variables from the current movie to an URL (eg. CGI). The first role will be the main use. It creates a "hyperlink" for flash movies and can be used on projectors as well and it will accept both relative and absolute paths.

Basic Example:
On (Release)
    Get URL ("http://www.flashkit.com/tutorials/tute.shtml", window=_blank")
End On
Advanced Example:
On (Release)
    Get URL ("http://www.flashkit.com/cgi-bin/tutescript.cgi", vars=POST")
End On
» Level Basic

Added: 2000-10-10
Rating: 5 Votes: 181
(10 being the highest)
» Author
Eddie was a Content Editor at Flashkit.com and is actually a sentient Gateway Solo 2150xl notebook that suffers from acute lysdexia and caffeine addiction. He is carried on the shoulders of a semi-autonomous human called "Body".
» Download
Download the files used in this tutorial.
» Forums
More help? Search our boards for quick answers!

Comments

  • There are no comments yet. Be the first to comment!

  • You must have javascript enabled in order to post comments.

Leave a Comment
  • Your email address will not be published. All fields are required.
Featured Flash FLA
» Author: S.Saipriya
» Title: Flash Fire Effect
» Description: This tutorial explains about how to create Fire Effect in Flash of Actionscript 2.0.I hope this tutorial helps you!
Featured Sound Loops
Image for equalize

Audio Player

» Author: Aidan Crouzet-Pascal
» Title: Falling Star
» Description: This loop is a cool sounding, E minor loop.
Latest Font
» Author: Fábio FAFERS
» Description: I created this font for free use. Everyone can apply it in personal or business texts. Its free, but I want to be communicated in case of business use. Donations are accepted to keep the project of free fonts alive! Thank you all
Featured Sound Fx
Image for equalize

Audio Player

» Author: Brandan Paulin
» Description: Epic sounding loop with Brass, Percussion, Strings and Winds. This is actually part of a Loop Pack called the Coming where you can download the rest of the loops that go with it FREE from my website.