Jump to content


LoaderMax and %APPDATA% via SWF Studio Pro?

Moderator Tag

Recommended Posts

Hey, guys, here's what's going on:


I'm using SWF Studio Pro to augment my SWF and create a folder in the user's %APPDATA% directory on a Windows machine. That all works like it should.


The problem, however, is when I attempt to load an XML file saved to the user's local machine: when my EXE is first run, it copies an XML file to %APPDATA%\pathname\filename.xml Because I won't know what the users' names are, how can I tell LoaderMax to look in said folder?


SWF Studio Pro uses what it called "monikers" that get resolved to the actual paths required, so for example when I type "appdata://pathname/filename.xml", the program sees "C:\Users\Blake\AppData\Roaming\pathname\filename.xml"


LoaderMax is, understandably, having trouble (that is, it's not) resolving the full appdata path. Any thoughts on how to solve this problem? Thanks!

Link to comment
Share on other sites

I'm a moron: SWF Studio Pro also includes strings like ssGlobals.ssAppDataDir that solve my problem.


Too many help files to read and not enough common sense to read them! Ack! :oops:

Link to comment
Share on other sites

Thanks for letting us know that you solved things. This thread might be useful for someone else down the road who is trying to do the same thing.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.