A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: can I access remote text files with flash???

  1. #1
    Junior Member
    Join Date
    Sep 2000
    Posts
    1
    Hello all, does anyone know what happened to the FLASHNEWBIE email forum?? I was wondering how I might go about getting my name put back on the
    list.

    I also have a question.

    I am creating a hybrid site that consists of flash and html content.

    The client I am working for is scared to death of flash, he does not feel
    capable of learning a new medium, and is basicly stuck in the stone ages. I
    am trying t convince him that it is really not that bad, and that actually
    editing content is rather easy.

    The problem I have is this, if I give him the open source code, what is to
    stop him from changing elements of my design and whatnot. As an artist
    first, then a web designer, my compositions are my first priority.
    It is unacceptable to me that he might be able to mess with them.

    Is ther any way that I could include a text file somewhere out in space and
    have the flash file remotely call it and display it in a desired location.
    Could I have this text show up say in a set dimension box or area (movie
    640x320) and give the user the ability to scroll through text that is much
    longer than that.

    This way, I could give him access to only the text file, and he could make
    updates as regularly as necessary, without having access to my
    source????????

    Any help is greatly appretiated.

    Thank You

    Cory

  2. #2
    Senior Member
    Join Date
    Dec 2000
    Posts
    120

    well, yes and no.

    Flash can read remote text files, yes, but it loads them as variables, not as a text file.

    in other words, if you have a text file that said:
    my name is joe.
    I work in a button factory
    I have a wife and two kids.

    then, no. it wouldn't read that in.
    if the text file said:
    text=my name is joe.
    I work in a button factory
    I have a wife and two kids.

    then you could loadVariables() it and your flash movie would have a variable named text that would have your text file in it. Then you just display it in a dynamic text field.

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