User Tag List

Results 1 to 3 of 3

Thread: Making Certain Strings Invisible

  1. #1
    Clicker Fusion 2.5 DeveloperiOS Export ModuleMac Export ModuleSWF Export Module
    Hydra's Avatar
    Join Date
    May 2012
    Posts
    141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Making Certain Strings Invisible

    I have a bank system for my game and each slot is an active with a string over it to display quantity. There is an event that runs to check the quantity which is initially stored as an alterable value of the actives and then sets that number to the string to allow the user to view the quantity. However, I want the strings to be invisible if they are "0" because its useless to have them there when there is no item there.

    But no matter what I try, either no strings go invisible or all of them become invisible even if they contain text =/= "0"

    Any suggestions?

    Thanks guys.

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUnicode Add-on
    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)
    AyreGuitar's Avatar
    Join Date
    Jan 2011
    Location
    Wales, UK
    Posts
    1,113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Because the String object doesn't have a condition to check the string contents by an expression, you're forced to use 'Compare two general values'.
    Unfortunately, this condition does NOT filter your Strings so it will make all of them invisible if just one is "0"

    I've attached an example that uses the direction of the String (which WILL filter!) which is paired with Active's Alt Val (MyValue) so that when the Active's MyValue=0, the String can be made invisible without making all the Strings invisible.
    Attached files Attached files

  3. #3
    Clicker Fusion 2.5 DeveloperiOS Export ModuleMac Export ModuleSWF Export Module
    Hydra's Avatar
    Join Date
    May 2012
    Posts
    141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks so much, AyreGuitar!!! For some reason I can't upload a picture but here's the final result!

    http://i43.tinypic.com/33n9ezo.png

Similar Threads

  1. Any point in making a fully 'transparent' object Invisible?
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 27th May 2012, 10:35 PM
  2. Making buttons visible and invisible?
    By Vendethix in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 24th February 2012, 10:09 PM
  3. Invisible strings can't be changed
    By DavidN in forum SWF/Flash Export Module Version 2.0
    Replies: 4
    Last Post: 7th July 2010, 03:09 PM
  4. Making the grid (squares) invisible
    By RickyRombo in forum File Archive
    Replies: 3
    Last Post: 27th February 2009, 11:51 PM
  5. Using Global Strings embedded in larger strings
    By Mudstick in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 12th May 2008, 01:23 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
  •