dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: A Way to reference links on Buttons from external txt file

Hybrid View

  1. #1
    Senior Member
    Join Date
    Aug 2001
    Location
    New York City
    Posts
    409

    A Way to reference links on Buttons from external txt file

    Is there a way to set getURL Link destinations to an
    outside text file or HTML file ? -
    So that the links can be changed quickly...

    Thanks.

  2. #2
    absent
    Join Date
    Aug 2000
    Location
    NB, Canada
    Posts
    155
    If you make your getURL destination a variable you can then set that var from a .txt or .xml file.


    someplace = "http://www.google.com";

    on (release) {
    getURL(someplace, "_blank");
    }

    How to load an XML if you need it: http://www.kirupa.com/web/xml/XMLwithFlash2.htm


    g'luck!
    - g

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