A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: URLLoader help

  1. #1
    Senior Member jweeks123's Avatar
    Join Date
    Mar 2006
    Posts
    1,124

    URLLoader help

    I'm doing a lot of stuff with sound and urls right now, and have come across a minor issue. I've come to find that at some point and time there could be files named with special characters in them. Then when flash tries to load these files, it returns a stream error. How do I get it to load these files?

    Example:

    K@#_%!

    That is literally a file name I have to figure out how to load properly. Any ideas? Thanks.

  2. #2
    lemon juice hurts your eyes florianvanthuyn's Avatar
    Join Date
    Jul 2005
    Location
    Merelbeke, Belgium
    Posts
    546
    You will have to make a parser for this, changing every unusual symbol to it's proper, usable, "safe" to use counterpart:
    For example, use "%25" for the percent (%) symbol and "%23" for the number sign (#)
    Florian Vanthuyne

    WAR AGAINST SOLVED THREADS
    mark yours as Resolved under Thread Tools!

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