User Tag List

Results 1 to 6 of 6

Thread: Follow the frame?

  1. #1
    Clicker Multimedia Fusion 2
    Skeets's Avatar
    Join Date
    Apr 2007
    Location
    Utah, USA
    Posts
    360
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Follow the frame?

    Is there a way to make an object follow the frame after a certain event?

  2. #2
    Clicker Multimedia Fusion 2SWF Export Module
    Monokkel's Avatar
    Join Date
    Sep 2010
    Posts
    50
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Follow the frame?

    One way to do it would be to have a global value change when the event happens. Then create a new event going:

    When:
    - Global Value A = 1
    - Always

    and then include your follow frame events

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Follow the frame?

    Quote Originally Posted by Monokkel
    ...and then include your follow frame events
    The problem is, though, that MMF has no follow frame events. This would need a workaround. The only one I can think of would be:

    Code:
    Object should not follow the frame:
    --Object: Set X coordinate to X Left Frame + 50
    --Object: Set Y coordinate to Y Top Frame + 50
    --Scroll the Frame Window
    "Object should not follow the frame" should be something that, whenever the object should not follow the frame, would call the action every frame loop. I also assume that you want the object at (50, 50) relative to the frame. Change the two 50s to the X and Y positions you want the object to be in the window.

    Also, for the best appearance, the frame should be scrolled after all the objects are moved.

  4. #4
    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,132
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)

    Re: Follow the frame?

    or you could have 2 identical looking objects, one with the follow frame ticked and one without, then swap them at runtime as needed..? you might need to get the x/y of the object relative to the window edge and then use those co-ordinates to position the new object.. i haven't tried this out.. im at work.. i know the follow frame thing can be touchy.

  5. #5
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export Module
    Skyhunter's Avatar
    Join Date
    Jan 2007
    Location
    Croatia
    Posts
    452
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Follow the frame?

    Best bet would be two layers, follow frame ticked. one layer with no scrolling and then send the object from that layer to the layer that has scrolling.

  6. #6
    Clicker Multimedia Fusion 2
    Skeets's Avatar
    Join Date
    Apr 2007
    Location
    Utah, USA
    Posts
    360
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Follow the frame?

    I like the layer idea, Thanks!

Similar Threads

  1. frame follow question
    By pikzilla in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 18th April 2009, 03:47 AM
  2. Follow Frame???
    By csj1 in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 31st March 2009, 06:57 PM
  3. Active won't follow frame
    By kungsangun in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 13th December 2008, 02:40 AM
  4. Follow the frame
    By Rabagast in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 6th March 2008, 04:23 PM
  5. Don't Follow Frame
    By droberson in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 14th March 2007, 01:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •