You want to be able to drag the images only on the frame object, right?
This should do it:
+ Text: [negated] Text is "" (case: No)
+ System: frame at (MouseX,MouseY)
-> ImageManipulator: Load image Text.Text
-> ImageManipulator: Resize to 128 x 128
-> ImageManipulator: Copy image to sprite picture
+ System: Always (every tick)
-> Text: Set text to ""
I haven't found a way to get the file location before the file is dropped, so you can't have the image previewing before the drop.
---------------------------------------------------------
Thanks for the reply
"You want to be able to drag the images only on the frame object, right?"
No........The frame object doesnt need to be there. I just added it just to help me solve my problem?
Basically i want to do the following :
1, Run the app
2, Drag a image file into the app window.
3, On drop, the image manipulator loads and displays the image.
I created the following events:
+ picture: picture overlaps frame
-> Wait: Delay 100 ms
-> ImageManipulator: Load image Text.Text
-> Wait: Delay 100 ms
-> ImageManipulator: Resize to 128 x 128
-> Wait: Delay 100 ms
-> ImageManipulator: Copy image to sprite picture
ON DROP..... the image loads OK...........................BUT THE FRAMERATE DROPS (AND STAYS) AT 20 FPS.
Adding " -> frame: Destroy " as a FINAL EVENT stops the Framerate drop (it must stop a loop ?)
Am i making sense ?
--------------------------------------------------------
"I haven't found a way to get the file location before the file is dropped, so you can't have the image previewing before the drop"
This part not a problem.
<img src="smileys/smiley5.gif" border="0" align="middle" />