User Tag List

Results 1 to 3 of 3

Thread: Setting Animation via String

  1. #1
    No Products Registered

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

    Setting Animation via String

    I have an object with a bunch of custom animations. Each animation is an "Item" that can be displayed. The name of the animation is the name of the item. What I would like to do is just set the objects animation via it's custom name, since I always know the string of the item that I want the object to display. Is there a way to do this?

    The Set Animation function wants a number as input. I have no idea what number corresponds to what custom animation string.

    Help !!!!

    thanks...
    Andy

  2. #2
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)

    Re: Setting Animation via String

    The animations start at 0

    So what you have to do is visit the active object in question and count to your animations and figure out the number.
    Hopefully in the future there is a field in the list so it tells you the number or be able to set them via name.

    So the first custom animation you made is most likely number 12

  3. #3
    No Products Registered

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

    Re: Setting Animation via String

    Thanks! Kind of a bummer, but I'll manage. Ill just have to have an event for every item:

    If <String> = "Item1" play animation 12.

    Etc. Kind of a pain but not a huge deal. Any way to request that a future update of MMF2 has a Set Animation <string> action?

Similar Threads

  1. using a parsed string for selecting an animation sequence
    By aylictal in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 7th February 2013, 01:56 PM
  2. Setting global string via an expression
    By MJK in forum SWF/Flash Export Module Version 2.0
    Replies: 5
    Last Post: 14th June 2010, 11:30 AM
  3. Setting Multiple source strings in String parser
    By Dynamite in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 1st March 2009, 07:41 AM
  4. Setting a string to the value of a variable
    By mobichan in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 12th February 2009, 06:31 PM
  5. Setting Font size of String to Maximum...?
    By aidmm in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 15th January 2007, 03:45 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
  •