User Tag List

Results 1 to 4 of 4

Thread: loading ini into string

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

    Join Date
    Jul 2006
    Location
    S.East England
    Posts
    744
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    loading ini into string

    Hi all,

    Making a pc application that needs the user to load in images, which i have set to change a string and then save that to an ini file.

    The ini file looks like this after:

    [Images]
    Image1=C:\garden.JPG
    Image2=D:\house.JPG
    Image3=C:\flower123.JPG

    On another frame, i want it to load these images into a string/or active picture and kind of do a slideshow with these images present in the ini file.

    However, i have added ini object to another frame and try as i might i can not get these to load back into string or active picture.

    I have tried : string of$( "Ini" )

    Anyway i'm a bit stuck now, i'm hoping someone will make me look stupid and i've missed something..

  2. #2
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can use the GetGroupItemString$ expression of the INI object to retrieve a specific item - in your case, GetGroupItemString$("Ini", "Images", "Image1") would get the Image1 item (in group "Images"). You could put the result of this into a String object so that you can see what you're doing while you're debugging it.

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

    Join Date
    Jul 2006
    Location
    S.East England
    Posts
    744
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks shall try that

  4. #4
    No Products Registered

    Join Date
    May 2015
    Location
    Poland
    Posts
    50
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    My ini looks almost the same, but returned string is empty though I don't have any special characters in string.

Similar Threads

  1. Loading string from file
    By manwich in forum Android Export Module Version 2.0
    Replies: 3
    Last Post: 25th May 2013, 03:51 AM
  2. Unable to change a string with the list obect if string contains three periods in row
    By redpandagames in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 4th January 2013, 03:01 PM
  3. Loading images by name (string) not by file format
    By simonbelmont in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 21st October 2012, 08:05 AM
  4. String Parser 2 - External File Loading
    By UrbanMonk in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 7th August 2012, 07:17 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
  •