1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

.swf Loading Problem

Discussion in 'Help' started by LoboLascivo, May 9, 2013.

  1. LoboLascivo

    LoboLascivo Potential Patron

    Joined:
    Apr 29, 2013
    Messages:
    21
    Likes Received:
    1
    Hello, I was wondering if you can help me. My problem is that I can't load multiple .swf using the loader.

    For example, I have this in Mods.txt (Mods.txt is placed in Mods/Char/):

    Code:
    strapped_heels.swf
    The mod loads fine. But if instead I have this:

    Code:
    strapped_heels.swf
    black_skirt.swf
    It doesn't loads neither of them.

    Am I doing something wrong? I can only load one mod at time. By the way, I'm using Ubuntu 12.10, but I have the last Flash Player version, and I also tried using the Flash Projector.
     
  2. ModGuy

    ModGuy Club Regular Content Creator

    Joined:
    Feb 17, 2011
    Messages:
    1,754
    Likes Received:
    22
    That should be correct.
    Given that you're using Ubuntu and I've only every developed this for Windows that may be an issue... maybe.
    Not sure how I'd go about testing but if someone else could confirm that loading anomalies exist that would help.
    Until then, perhaps scour the net to check if similar issues exist when Flash loads local files from within Linux and Windows.
    If you find an article that deals with such a problem, send it my way.
     
  3. sby

    sby Club Regular Content Creator

    Joined:
    Sep 11, 2012
    Messages:
    1,331
    Likes Received:
    73
    use the terminal command unix2dos on your Mods.txt file.

    it changes line feeds to carriage-return line feeds

    assuming most people making stuff are on windows, hopefully you will only have to do this when you decide to edit the txt files yourself.
    i would consider finding an editor that gave you the option to save the 'dos' format if you are going to edit a lot of these xD
     
  4. ModGuy

    ModGuy Club Regular Content Creator

    Joined:
    Feb 17, 2011
    Messages:
    1,754
    Likes Received:
    22
    Line feeds are the problem?
    Well that's unusual, guess it's time to change up the parsing algo.
     
  5. sby

    sby Club Regular Content Creator

    Joined:
    Sep 11, 2012
    Messages:
    1,331
    Likes Received:
    73
    yeah, i specifically had to add in the carriage-returns to animtools position saving for them to work xD
     
  6. LoboLascivo

    LoboLascivo Potential Patron

    Joined:
    Apr 29, 2013
    Messages:
    21
    Likes Received:
    1
    I thought it could have been the text editor. I have wine (windows programs emulator) and edited the files with notepad from windows.
    I'll try that program you mentioned, and I will try my files on windows.
    I'll post results.
    Thanks for the replies!
     
  7. LoboLascivo

    LoboLascivo Potential Patron

    Joined:
    Apr 29, 2013
    Messages:
    21
    Likes Received:
    1
    I used unix2dos and it worked like a charm. Thanks Sby!