Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions


WDVL Newsletter

Active Server Pages
JSP/Java Servlets
Microsoft SQL Server
Daily Backup
Dedicated Servers
Streaming Audio/Video
24-hour Support    

jobs.webdeveloper.com

Hiermenus


e-commerce
Partner With Us















Developer Channel
FlashKit.com
JavaScript.com
JavaScriptSource
Developer Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers


Load Variables

April 17, 2000

  • Open the Frame Properties dialogue box in frame 1, (either double-click on the second frame in the timeline or move the playhead to frame 1 and select Modify > Frame).
  • On the Actions tab, click the plus sign to add an action.
  • Select Load/Unload Movie
  • In the dialogue for this action, you have three choices of what to load/unload. Select Load Variables into Location:
  • For URL: type "data.txt" (without the quotation marks).
  • For Location, select the Level radio button and type "0" (Zero, without the quotation marks) in the field.

What we just did:

  • Load movie - loads an outside file into the Flash movie during playback (usually this is used to load another Flash movie, like a hip-hop - or techno - loop).
  • Load variables - tells Flash to look for variables in the file we are loading.
  • URL: location of the file. We are going to assume that the .swf and the .txt files will be in the same directory.
  • Location=Level 0: Level 0 is the main timeline of the movie, where our editable text fields reside. We want the variables to load into the same level as the editable text fields so that the text fields can display the variables.

Test the movie (CTRL - ENTER) and watch what happens. You should see something like this:

Getting Started
Tricks & Data, Flash Yin & Yang
Text Fields and URL Encoded Data


Up to => Home / Authoring / Flash / Yin-n-Yang




Jupiter Online Media: internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and Jupiter Online Media

Jupitermedia Corporate Info


Legal Notices, Licensing, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers