• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 16. Working with External Data > Using HTTP to connect to server-side s...

Using HTTP to connect to server-side scripts

The %{loadVariables function}%, %{loadVariablesNum function}%, %{getURL function}%, %{loadMovie function}%, %{loadMovieNum function}% functions and the %{loadVariables (MovieClip.loadVariables method)}%, %{loadMovie (MovieClip.loadMovie method)}%, and %{getURL (MovieClip.getURL method)}% methods can communicate with server-side scripts using HTTP or HTTPS protocols. These functions and methods send all the variables from the timeline to which the function is attached. When used as methods of the MovieClip object, loadVariables(), getURL(), and loadMovie() send all the variables of the specified movie clip; each function (or method) handles its response as follows:

  • The getURL() function returns any information to a browser window, not to Flash Player.

  • The loadVariables() method loads variables into a specified timeline or level in Flash Player.

  • The loadMovie() method loads a SWF file into a specified level or movie clip in Flash Player.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint