User Tag List

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

Thread: Can't get rid of an active object.

  1. #1
    Clicker Fusion 2.5
    AM_Games's Avatar
    Join Date
    Oct 2017
    Location
    40 miles west of Chicago, IL.
    Posts
    68
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Can't get rid of an active object.

    So like the title says...It won't go away. I've deleted it off the object editor but it' still in the list of objects on the left. What gives?

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF 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)
    DaveC's Avatar
    Join Date
    Jun 2007
    Location
    Perth, Australia
    Posts
    2,112
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)
    are there any lingering "create" events associated with the object? if there are, try deleting those and see if it goes away.

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,281
    Mentioned
    26 Post(s)
    Tagged
    0 Thread(s)
    Also try removing any Qualifier groups. Once you have deleted the object, you might need to restart CF2.5 as well to get the ui to refresh.

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)

    Join Date
    Sep 2017
    Location
    Milano, Italy
    Posts
    130
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    I have the same problem and no idea how to solve it.

    The problem is also that I am not able to replicate the problem to search for a bug.

  5. #5
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCiOS Export ModuleInstall Creator Pro
    Julian82's Avatar
    Join Date
    May 2012
    Location
    outbuddies.com
    Posts
    937
    Mentioned
    47 Post(s)
    Tagged
    0 Thread(s)
    Next to removing qualifiers and create events you can right click on the ghost object in Event Editor and choose replace with another (dummy) object. Then delete the dummy object, save and reload your .mfa. There are ghosts you simply cannot get rid of. I’ve a couple in my long running project. The do no harm tho, I wouldn’t care too much.

  6. #6
    Clicker Fusion 2.5
    AM_Games's Avatar
    Join Date
    Oct 2017
    Location
    40 miles west of Chicago, IL.
    Posts
    68
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Interesting. Thanks all...

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)

    Join Date
    Sep 2017
    Location
    Milano, Italy
    Posts
    130
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    I tried with the replace method, but it is not working for me.

  8. #8
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCiOS Export ModuleInstall Creator Pro
    Julian82's Avatar
    Join Date
    May 2012
    Location
    outbuddies.com
    Posts
    937
    Mentioned
    47 Post(s)
    Tagged
    0 Thread(s)
    As I said, some ghosts will stay forever, no matter what you do^^

  9. #9
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module

    Join Date
    Dec 2008
    Location
    Italy
    Posts
    404
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    @AM_Games

    As Julian said, those ghost objects generally do no harm, so you can leave them where they are.

    Maybe make sure that in their 'object properties > runtime options' the 'create at start' option is unticked, to avoid them to be created in the layout and consume memory.
    If you still can see these objects in the debugger, you can simply add to them this behaviour: 'if number of GhostObject > 0 --> destroy'

    ---

    Anyway, if for some reason, you really need to get rid of those ghost objects, you could try the following:

    1- Try to look for references to these objects in the 'Event List Editor' instead of the 'Event Editor' (or viceversa). It happened to me to find objects in one editor and not in another. If you find them, delete the references, save the application, restart and see if the ghost objects disappeared.

    2- (this is quite an extreme measure, so backup first!) Create a 'new frame', and configure it exactly as the 'old frame' which contains the ghost objects: same width and height, same properties, same background color, same number and name of layers, etc.

    Then, go to the 'old frame', press ctrl+A to select all the objects on the layer, copy them and paste them in to the 'new frame', keeping their original position on the frame. Be careful: if you have more than one layer, you should repeat this process for all layers (select the first layer in old frame and hide the others, ctrl+A and paste in to new frame, go back to the old frame and select the second layer, ctrl+A and copy, paste in to new frame, and so on...).

    Then, go to Event Editor of 'old frame', select all event lines, copy them and paste them in the Event Editor of 'new frame'. Save the app and restart Fusion. If everything goes right, you should have the new frame identical to the old one (and working just like that), minus the ghost objects.

    Honestly, this is a lot of work and there's a chance it may break something in the frame so I again advise to simply ignore the ghost objects.

  10. #10
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCUnicode Add-on

    Join Date
    Jan 2009
    Location
    FRANCE
    Posts
    148
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    It happened to me as well a few months ago. I reported the solution I found to clickteam via the bugbox (rip).
    My ghost objects all came from "create object" events. It seems deleting these events sometimes messes things up in CF.

    What I discovered :
    > the ghost objects created after deleting "create object" events, were somehow linked to other "create object" events (even if the other created object had nothing to do with the ghost one). I had to test all my code and replace these corrupted -though fully working- "create object" events. And the ghost objects disappeared eventually.

    Test this on a copy of your .mfa : if you delete ALL your code, are the ghost objects still there ? If not, they're probably linked to other events. Find them by deleting your code little by little, and check if the ghost object disappears.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Replies: 2
    Last Post: 24th May 2015, 11:32 PM
  2. Replies: 4
    Last Post: 25th December 2014, 12:06 PM
  3. Replies: 4
    Last Post: 14th April 2014, 10:47 AM
  4. Advice about Active Object vs Active Picture
    By Pablo in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 11th October 2007, 02:40 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
  •