A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: using buttons to change scroll component's dynamic text

  1. #1
    Junior Member
    Join Date
    May 2003
    Posts
    4

    using buttons to change scroll component's dynamic text

    i haven't been using flash for real long and suprisingly have run into a problem, although, i have no idea why it isn't working. here's the dilemma: (using MX)

    i have an instance of a scroll pane component called scrollPane located in the main movie, it automatically loads a file called news.txt. The goal is to have a new txt file load as the user clicks a button, however, this isn't happening. i've tried a million things, but this is the code i was told to use.

    on (release) {
    scrollPane.loadURL("bio.txt");
    }

    any ideas? i can send the fla file if anyone needs clarification.
    thanks a bunch.

  2. #2
    Senior Member
    Join Date
    Apr 2003
    Posts
    124
    send the .fla please to clearfy it. Thanks
    Last edited by rctroub; 05-15-2003 at 08:51 PM.

  3. #3
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    loadURL ???

    First time I've seen that!

    You should have a textfield inside an mc which is the content mc of the scrollpane. Have you ever used the scrollpane?

    http://www.flashkit.com/tutorials/Ge...-757/index.php

  4. #4
    Junior Member
    Join Date
    May 2003
    Posts
    4

    the project's fla file

    can i email the fla to you? its too big to attach.

  5. #5
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    You can e-mail me through my profile button, a link to download it from your server. Zip your file(s) up!

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