A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: importing External file on Mac

  1. #1
    Senior Member
    Join Date
    Apr 2001
    Posts
    996

    Lightbulb

    I have a scroll bar situation which loads an external text file into a textfield. when I load it on a mac it wont show up the file is a simple text file named html.txt. I know something is wrong because when I send the same files to my friend on a pc they load but with the mac it doesn't load the txt file .Has anyone ran into this problem. Its driving me mad

  2. #2
    Junior Member
    Join Date
    Dec 2000
    Posts
    10

    I have had this too!

    I don't know what causes this or how to fix it. I am hoping that someone can tells us what the problem is.


  3. #3
    juggernart me2222's Avatar
    Join Date
    Jun 2000
    Posts
    1,322
    hm, two thoughts:

    1. it could be a relative path problem. If the textfile is not in the same directory as the swf its beeing loaded from try loading the text with an absolute path, i.e. loadVariablesNum (http://www.bla.bla/pathtothetextfile ...)

    2. include the fontoutlines for the dynamic textfield

    hope it helps

  4. #4
    Senior Member
    Join Date
    Apr 2001
    Posts
    996

    Re: I have had this too!

    Originally posted by Djpetro
    I don't know what causes this or how to fix it. I am hoping that someone can tells us what the problem is.

    Here is the answer another one of flashes fussy crap.
    Flash is fussy about how it takes the variables into the
    Flash player. The best advice to give here is to make sure there's nothing
    in there that isn't being used. Try to avoid using the Return key to make
    paragraph spaces. Instead, URL-encode the spaces (and any special characters
    . The following link will
    explain and is a useful reference to print out:
    http://www.macromedia.com/support/fl...l_encoding.htm
    this will work . Hope this helps


  5. #5
    Junior Member
    Join Date
    Dec 2000
    Posts
    11
    I HAD THE SAME PROBLEM!!!

    the more horrible things is, some MACs show, some don't!!! and same thing on PCs... some show, some don't!!!

    fortunately, that was for an in-house thing, i could just ask people to look at the movie on a machine that shows...

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