User Tag List

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

Thread: Activate group {name} with expression?

  1. #1
    No Products Registered

    Join Date
    Jun 2009
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Activate group {name} with expression?

    So im trying to activate a group with an expression.. i just dont know if its possible.

    Basically i want to input text such as this into an edit box.

    "Activate group :wiggles"

    Left$(string$( "Edit Box" ), 16) = "Activate group :"
    ->> activate group Mid$(string$( "Edit Box" ), 16, 100)

    so basically i type the name of the group and it gets activated. not a manual activation but an activation based in an expression.

    I hope my example of code helped describe exactly what i wanted.

    IF its possible.


  2. #2
    No Products Registered

    Join Date
    Mar 2007
    Location
    Sydney, Australia
    Posts
    1,369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Activate group {name} with expression?

    Yes it should be possible.
    I have done such things with loops before and it worked OK.

    But you should check your syntax, it should work by simply activating group text(Editbox)

  3. #3
    No Products Registered

    Join Date
    Jun 2009
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Activate group {name} with expression?

    problem is, i cant seem to get it into the expression editor.. every time i select the special object for activating a group, i ge t a popup window and have to select the group. how do i avoid that popup box?

  4. #4
    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: Activate group {name} with expression?

    You might have to workaround this by using values or strings.
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  5. #5
    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: Activate group {name} with expression?

    There isn't a way to directly do this yet. You could request it, but the problem is that two groups can have the same name, so you would have to do it by number. Which means you'd need a 1D array to store the group names with thier indexes being thier IDs.
    Working as fast as I can on Fusion 3

  6. #6
    No Products Registered

    Join Date
    Jun 2009
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Activate group {name} with expression?

    How would i go about requesting this feature? IT would eliminate so many actions in my current program lol.

    Maybe there is an easier way of doing it, but im not sure.

    Basically i made an irc program based on the old example that was given. However my irc program is a bot and has specific things it needs to do upon recieving special commands.

    Ive gotten it to do this, but for each command that i have, i need to activate and deactivate groups. I currently have about 30 groups to activate and deactivate and i have 3 commands for each group for deactivation and activation.

    Just seems like a big mess. even though it works.

    Id rather not post an example file right now as my source is quite valuable to a certian gaming community.

  7. #7
    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: Activate group {name} with expression?

    Couldn't you just do:

    If Editbox Text = "Activate group :wiggles"
    Activate Group "wiggles"

    :confused:

    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  8. #8
    No Products Registered

    Join Date
    Jun 2009
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Activate group {name} with expression?

    I do that now, problem is, i have about 30 groups and

    If Editbox Text = "Activate group :wiggles"
    Activate Group "wiggles"

    If Editbox Text = "Deactivate group :wiggles"
    Deactivate Group "wiggles"

    for each group is pretty time consuming.

    Edit: i recounted my groups, i have 55 groups. so make that

    110 activate / deactivate commands
    that could be eliminated by TWO expressions

    Left$(string$( "Edit Box" ), 16) = "Activate group :"
    ->> activate group Mid$(string$( "Edit Box" ), 16, 100)

    Left$(string$( "Edit Box" ), 18) = "Deactivate group :"
    ->> deactivate group Mid$(string$( "Edit Box" ), 18, 100)


  9. #9
    No Products Registered

    Join Date
    Mar 2007
    Location
    Sydney, Australia
    Posts
    1,369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Activate group {name} with expression?

    I am sure it works with an expression, but I dont have mmf installed here to test. Isn't there an option to open groups by expression?

  10. #10
    Clicker Multimedia Fusion 2SWF Export Module

    Join Date
    Sep 2006
    Posts
    1,544
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Activate group {name} with expression?

    There is no expression dialogue for openning/closing groups.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. activate group via expression?
    By oasuke in forum Multimedia Fusion 2 - Technical Support
    Replies: 15
    Last Post: 26th January 2012, 02:11 AM
  2. Can't activate
    By Christian_Wheel in forum SWF/Flash Export Module Version 2.0
    Replies: 3
    Last Post: 19th January 2011, 06:18 PM
  3. How to activate something only when in frame?
    By FlinkGigitty in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 13th March 2010, 10:10 PM
  4. 'Activate a Group of Events' causes MMF to CRASH
    By Mico in forum Multimedia Fusion 2 - Technical Support
    Replies: 19
    Last Post: 22nd April 2009, 04:26 PM
  5. Activate/deactivate group list - scrollable?
    By Tiny in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 2nd May 2008, 11:51 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
  •