User Tag List

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

Thread: Help me load from the apps directory please

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Location
    St. Ave France
    Posts
    1,166
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Help me load from the apps directory please

    Hi All, I keep forgetting the best syntax to use for setting an active picture object to load an image from the same directory of the app itself.

    anyone?


    thanks

  2. #2
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Help me load from the apps directory please

    apppath$+"YourImage.png"
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Location
    St. Ave France
    Posts
    1,166
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Help me load from the apps directory please

    thanks. Can that go in the FILENAME tab in the properties of the active? It seems not.. I guess I'll have to make Filename blank, and then at start of frame> load apppath$ etc....

  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: Help me load from the apps directory please

    For a filename property, use
    .\MyFile.txt
    Working as fast as I can on Fusion 3

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Location
    St. Ave France
    Posts
    1,166
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Help me load from the apps directory please

    No, I mean in the properties of the active, the tab called Filename... it seems like Apppath$ cant work there\. Am I wrong?

  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: Help me load from the apps directory please

    If it's in the frame editor, and not in the expression editor, then no it can't work. But what WILL work is this:
    Code:
    .\MyFile.txt
    Working as fast as I can on Fusion 3

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Location
    St. Ave France
    Posts
    1,166
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Help me load from the apps directory please

    thanks much

  8. #8
    Clicker Fusion 2.5Fusion 2.5+ DLC

    Join Date
    Sep 2010
    Posts
    175
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Help me load from the apps directory please

    Okay, here is a problem I am having:

    I am using Active Picture to load an image based on a counter's value...which almost constantly changes. The application is supposed to locate a file within a certain subdirectory if the counter is a certain value. It works just fine within Multimedia Fusion 2 Developer, but when I build the app and run it seperate (to test and make sure it will work for the installer), the active picture shows nothing. All the files within the subdirectory exist so I know that it's not that.

    Could someone tell me what I am doing wrong?

  9. #9
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Help me load from the apps directory please

    What path are you using?

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  10. #10
    Clicker Fusion 2.5Fusion 2.5+ DLC

    Join Date
    Sep 2010
    Posts
    175
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Help me load from the apps directory please

    well, the path name is:

    Game\AF\skin-c\

    this above folder is just one of many subdirectories I have in the application.

    I originally renamed all the image files so no one could edit or even view them (was hoping to find a better way to do this...like perhaps store them in a zip file or archive and have each image called)...but the problem was not because of the files' extensions, as I renamed them back to .gif, .png, bmp, etc. and received the same results. Within MMF2 Dev, the images will appear, but as a stand-alone, they do not.

    The only solution I had to solve this was to make individual active objects and while this would simplify things, I'd end up with a 50+ MB file as then I would have to make a massive amount of active objects to handle all I wanted to do.

    Rather than 10 active objects containing hundreds of frames within possible dozens of directions and even more animations, I wanted 10 active pictures, loading 1 of up to several hundred pictures 1 at a time, as if it were an active object.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Load image from directory using Active Picture
    By paobrasil in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 25th July 2012, 09:35 AM
  2. Directory
    By Janman in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 21st October 2009, 12:51 PM
  3. UP Directory
    By 8u8n in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 22nd September 2007, 03:49 AM
  4. UP Directory
    By 8u8n in forum File Archive
    Replies: 2
    Last Post: 21st September 2007, 05:49 PM
  5. Built Apps don't load external files properly
    By MelliGeorgiou in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 14th March 2007, 04:08 PM

Posting Permissions

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