User Tag List

Results 1 to 4 of 4

Thread: Drag Object In Android App

  1. #1
    Clicker Multimedia Fusion 2 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    drnebula's Avatar
    Join Date
    Jul 2006
    Location
    Pennsylvania, USA
    Posts
    908
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Drag Object In Android App

    I'm trying to drag one object (and not the other objects on the screen) in an Android app. I've gotten the object to drag nicely. But I can't figure out how to get the object to stay there when I "click" to move the object a second time. The object keeps snapping back to its original position. I've tried various ways to save its position and have it stay there after the first click is complete, but have not been successful. I've attached a sample mfa file. Any help appreciated.

    Steveexample.mfa

  2. #2
    Clicker Multimedia Fusion 2 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    drnebula's Avatar
    Join Date
    Jul 2006
    Location
    Pennsylvania, USA
    Posts
    908
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Drag Object In Android App II

    I'm getting closer. I am able to drag the object and when I click again, it stays in place. But I cannot place stops on its movement so it does not go too far either up or down. See attached file.
    Steve



    exampleC.mfa

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module

    Join Date
    Jul 2006
    Location
    Lacey, WA
    Posts
    756
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How's this: exampleC-BipolarMike.mfa

    I didn't use your code, and just did it the way I've always done it

  4. #4
    Clicker Multimedia Fusion 2 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    drnebula's Avatar
    Join Date
    Jul 2006
    Location
    Pennsylvania, USA
    Posts
    908
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Bipolar,

    Thanks a lot. It will take me a while to sift through the code to figure out how this works, but it works very well indeed.

    Steve

Similar Threads

  1. Drag Angle not registeing in .APK build, but Drag Distance does
    By youthdigital in forum Android Export Module 2.5
    Replies: 6
    Last Post: 19th March 2015, 12:50 PM
  2. drag and drop on active picture not working on android?
    By Chokito in forum Android Export Module 2.5
    Replies: 0
    Last Post: 13th January 2015, 08:43 PM
  3. Beta 15, Testing backdrop object, active object and drag and drop movement
    By Fernando in forum Android Export Module Version 2.0
    Replies: 3
    Last Post: 9th February 2012, 11:57 PM
  4. Drag & drop without drag & drop object.
    By soloman in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 20th August 2011, 02:45 AM
  5. Drag Active using Jaffob's Drag Extension
    By Stephen in forum File Archive
    Replies: 0
    Last Post: 7th April 2009, 12:22 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
  •