dcsimg
A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: [RESOLVED] Loading web links from txt file

Threaded View

  1. #1
    Junior Member
    Join Date
    Mar 2007
    Posts
    12

    [RESOLVED] Loading web links from txt file

    I am making a sort of flash news post that posts 5 news posts and goes through them automatically. I would like it so when you clicked on one of the buttons (1,2,3,4,5) it would go to the full article that is posted on the site.

    So on the main actions layer, I did:

    this.createEmptyMovieClip("loader", 0);
    loadVariables("links.txt",loader);

    On button 1 I did:

    on(release)
    {
    getURL(loader.url1, _blank);
    }

    and in the text file I have:

    links.txt
    url1="www.google.com"&url2="www.paypal.com"

    However #1 when I view it on my computer, it tries to go to file:///C|/Documents%20and%20Settings/...........
    When i put it up on a site, it doesn't do anything at all.

    Please help me out here!
    All of the files are here - http://csulb.edu/~adurgavi/Flash/
    thanks
    Attached Images Attached Images
    • File Type: jpg 1.jpg (27.7 KB, 12 views)
    Attached Files Attached Files

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