User Tag List

Results 1 to 6 of 6

Thread: Selecting one instance of an active object?

  1. #1
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jul 2006
    Location
    Pittsburgh, PA, USA
    Posts
    777
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Selecting one instance of an active object?

    I'm trying to use a group of events to change the color of the background (an active object). I have it set up this way because I want the new background to fade in, and I have set "Active Color BG" to fade out on being destroyed.


    [size:8pt] Full-Size Image [/size]

    The result, however, is that both the old and new instances of "Active Color BG" have their color changed, and neither is destroyed. I checked the debugger, and the spreading of 0 worked. Why isn't the object with the Alterable Value A of 1 being destroyed?

  2. #2
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Location
    UK
    Posts
    1,393
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)

    Re: Selecting one instance of an active object?

    Image data is shared between all instances of an object - you replace a color in one instance, and it will affect all other instances too. Same with using the "load frame" function.
    This is unavoidable.

  3. #3
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jul 2006
    Location
    Pittsburgh, PA, USA
    Posts
    777
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Selecting one instance of an active object?

    Is there another way to change a solid-color background by fading from one color to another?

  4. #4
    Clicker Multimedia Fusion 2SWF Export Module

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

    Re: Selecting one instance of an active object?



    Also, im curious why the spreading of your value worked at all. Spread a value between objects i]should[/i] only select the currently scoped objects and sets their value to increments based on their order of creation. When you have a "Create Object" event, it scopes only that new object.so if you have 10 eggs, and create a new egg, only the new egg should be scoped- not all 11. When you spread value, it should just set the value of that single egg to 0 and leave the rest unaffected. Maybe spreading values doesn't work like other events in terms of scoping? :S

  5. #5
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Location
    UK
    Posts
    1,393
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)

    Re: Selecting one instance of an active object?

    @Pixelthief: By the looks of things, it didn't work - that's why neither object was destroyed.

    @OP: I'd just use a system box object, but there are heaps of other ways to do it.

  6. #6
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jul 2006
    Location
    Pittsburgh, PA, USA
    Posts
    777
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Selecting one instance of an active object?

    Quote Originally Posted by Pixelthief
    Also, im curious why the spreading of your value worked at all.
    [snip]
    Hmmm I wonder why, too. Like I said, I checked the debugger and it did spread the value. Now I'm wondering exactly what went wrong. :crazy:

    Quote Originally Posted by MuddyMole
    I'd just use a system box object, but there are heaps of other ways to do it.
    I probably should have clarified that I'm using the SWF Exporter, so there's not nearly as many options. I found a workaround, but I would have liked to get this working as I had it. Oh well. Thanks for everyone's input.

Similar Threads

  1. Handle an Active overlapping another instance of itself
    By Keith in forum Multimedia Fusion 2 - Technical Support
    Replies: 19
    Last Post: 6th October 2012, 03:23 AM
  2. Selecting an Object by Alterable Value
    By matt_barr in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 19th October 2009, 02:39 PM
  3. selecting only the higest z ordered active?
    By BrashMonkey in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 20th September 2009, 10:51 AM
  4. Active Picture with alpha- selecting just 1 object
    By aidmm in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 27th February 2007, 11:40 AM
  5. selecting object
    By westray in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 15th July 2006, 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
  •