User Tag List

Results 1 to 3 of 3

Thread: cloned active object string storing

  1. #1
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Dec 2006
    Posts
    289
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    cloned active object string storing

    i dont know how but can i create the same active object with storing differant alterable strings in it so each one will have its own set of strings (during runtime).


    thanks.

  2. #2
    No Products Registered

    Join Date
    Sep 2007
    Posts
    104
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: cloned active object string storing

    For cloned objects, each object is essentially separate, so therefore you have to make "duplicates" out of them by using a qualifier, or manually set each one. However, I'm assuming when you say clones you mean duplicates, since that's really the only thing that poses a straightforward issue to iterate between duplicate objects of the same type. For this, you need to use the "spread value" option, which lets you iterate between duplicates of the same object.

    Here's how to do it for duplicate objects:

    step 1. spread 0 in one of your alterable values. Let's call this alt value "index".

    step 2. Start fastloop (let's call it "iterate") for nObjects loops (that's the number of objects you have created.)

    step 3. On Loop "iterate" + Alt value = somenumber: Set Alterable string to "This is object " + str$(index("object")).

    You can load strings from a list with a 0-based index or using paragraphs from a string object if you like. Each object will be iterated and given the proper string inside it.

    ==========

    For clones, you can repeat this step, only replace the objects you want to directly iterate with a qualifier instead. For this to work properly you probably need all the objects to be of the same object type (Active, APO, etc).

  3. #3
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Dec 2006
    Posts
    289
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: cloned active object string storing

    (while in runtime) what im trying to do is to create a active object with a string val A "hello" and then create another of the same object with its string val A "there!".

    then ask for the strings by the object created. (ex. by say a list object)

    please id like a example.mfa if possiable.
    thankyou.

Similar Threads

  1. I cloned an object, but they behave differently in a weird way
    By UltraHammer in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 29th January 2013, 03:33 AM
  2. FPS drops when the Active object crossing into the String object.
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 9th June 2012, 04:22 PM
  3. String Appear in Front of an Active Object
    By Gatesmi in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 27th March 2011, 03:13 PM
  4. Storing a counter value on a string
    By Snakesoft in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 28th September 2007, 08:38 AM
  5. Active behind string object
    By Nickydude in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 8th April 2007, 07:46 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
  •