User Tag List

Results 1 to 2 of 2

Thread: AO's forming a line from one object to another?

  1. #1
    Clicker Fusion 2.5SWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    Colonial_Settler's Avatar
    Join Date
    Jun 2006
    Location
    Melbourne
    Posts
    50
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    AO's forming a line from one object to another?

    G'day all. I have some dragable objects in my app, and I also have a little 'marker' object. I need a line of these little marker objects from one dragable object to another.

    Sounds simple enough, but when the user drags one of the dragable objects to a new position, I need the line of markers to follow - so that they're still forming a line from the origin (point A) to the new destination (point B). I'm afraid I don't have the mathematical knowledge to pull off a stunt like that! [crazy]

    Any takers?

  2. #2
    No Products Registered

    Join Date
    Aug 2006
    Location
    Westcountry, UK
    Posts
    862
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: AO's forming a line from one object to another?

    If the line you want is straight then the expression below can be used:

    Set Marker X Position to:

    X( "1" )+((X( "2" )-X( "1" ))/(NumberofMarkers+1))*Number( "Marker" )

    Set Marker Y Position to:

    Y( "1" )+((Y( "2" )-Y( "1" ))/(NumberofMarkers+1))*Number( "Marker" )

Similar Threads

  1. Sentence by sentence or line by line movement in Rich Text object?
    By ratty in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 17th March 2013, 11:36 PM
  2. Save text to ini in "iOs Multiple Line Object" more than one line!
    By iamjot in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 1st February 2012, 02:16 PM
  3. chat program - changing color from line to line.
    By jhad9 in forum SWF/Flash Export Module Version 2.0
    Replies: 0
    Last Post: 16th October 2011, 11:30 PM
  4. Need a draw line & make active follow line example
    By BREK in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 29th January 2011, 09:50 AM
  5. Change List Object Line Color - One Line Only?
    By drnebula in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 21st December 2008, 05:58 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
  •