User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15

Thread: creating folders during runtime

  1. #1
    Clicker Fusion 2.5 DeveloperSWF Export Module

    Join Date
    Sep 2006
    Posts
    511
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    creating folders during runtime

    Is there a way to name and create a new folder (ex in my documents) during runtime?

  2. #2
    Clicker Multimedia Fusion 2 Developer
    Jax's Avatar
    Join Date
    Jul 2006
    Location
    UK
    Posts
    702
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: creating folders during runtime

    Yes, here is an example:

    View MFA

    Watch out though: When you use the file object, all sub-folders of the folder you are making must exist. Some other objects don't have this requirement. (I know Ini++ doesn't off the top of my head, but otherwise I'm not sure)

  3. #3
    Clicker Fusion 2.5 DeveloperSWF Export Module

    Join Date
    Sep 2006
    Posts
    511
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: creating folders during runtime

    Thx,

    I'm going to try it out now.

  4. #4
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: creating folders during runtime

    Quote Originally Posted by Jax
    Some other objects don't have this requirement.
    There's Sphax' File-Folder object as well.
    Working as fast as I can on Fusion 3

  5. #5
    Clicker Fusion 2.5 DeveloperSWF Export Module

    Join Date
    Sep 2006
    Posts
    511
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: creating folders during runtime

    Ok, I got the new folders working, but I can't figure out how to save the file (list file) in the folder I just created.
    Is there anyway to save to a folder you just created?

  6. #6
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: creating folders during runtime

    Yeah, all you have to do is save there.

    So, what is it you can't figure out?
    Working as fast as I can on Fusion 3

  7. #7
    Clicker Fusion 2.5 DeveloperSWF Export Module

    Join Date
    Sep 2006
    Posts
    511
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: creating folders during runtime

    Well this is what I'm trying to do.
    Each time there is a new user,I want to create a folder for that user that will contain all of their files.

    So I want the folder to have the user name and I want to create an initial file for that user.

    Also want to be able to access the folder by using the user's name to find it.

    Can't save to a folder the usual way if the folder does not yet exist when you are coding the save (pre-runtime)

  8. #8
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: creating folders during runtime

    OK, so, the problem you're having is...?
    Working as fast as I can on Fusion 3

  9. #9
    Clicker Fusion 2.5 DeveloperSWF Export Module

    Join Date
    Sep 2006
    Posts
    511
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: creating folders during runtime

    The problem is that I don't know how to access the directory during runtime if the directory was created during runtime.

  10. #10
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: creating folders during runtime

    You access it the exact same way as you would if it already existed. There's no difference at all.
    Working as fast as I can on Fusion 3

Page 1 of 2 1 2 LastLast

Similar Threads

  1. creating folders (directorys) with file object
    By Dave in forum File Archive
    Replies: 0
    Last Post: 21st March 2008, 01:26 AM
  2. Creating Runtime Video Captures
    By Novabrain in forum Extension Developers Lobby
    Replies: 4
    Last Post: 8th January 2008, 10:06 PM
  3. Creating edit boxes at runtime w/ different names
    By Anfini in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 3rd December 2007, 04:52 AM
  4. creating folders on install?
    By Gair in forum Install Creator and Patch Maker
    Replies: 2
    Last Post: 15th January 2007, 08:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •