A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Loading variables from txt document

  1. #1
    Member
    Join Date
    Mar 2004
    Posts
    135

    Loading variables from txt document

    Ok in my flash movie I am loading variables from an external text file for my text areas.

    Example: &about_txt1=text that I want in box

    The problem is I want to include links inside the text areas that control my movie. Is there any way to do this? The flash movie is a website if that matters. I am using flash mx 2004.

    Here is the code that I would use to run the link if I created a button inside the flash movie, instead of through the text areas:
    on(release) {
    _parent._parent.menu["item" + _root.link].gotoAndPlay("s2");
    _root.link=7;
    _root.main.gotoAndPlay("s1");
    }

  2. #2
    Senior Member pellepiano's Avatar
    Join Date
    Feb 2000
    Location
    Stockholm, Sweden
    Posts
    15,151
    You can use regular html to make text links to external urls. To trigger internal actions you would also use html tags (h ref ) but with a added asfunction that calls a internal function. That way you can control your movie with text links. See tutorial here.

    http://www.webqs.com/experiment.php?id=1

    -Pelle Piano
    // Image Gallery
    www.studiobild.com
    // Photo Blog
    http://talesofthepixel.blogspot.com

  3. #3
    Member
    Join Date
    Mar 2004
    Posts
    135
    Thanks pelle, you are always a life saver.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center