Managing/moving objects in a list

Multimedia Builder (Legacy Forum)
Post Reply
polartech
Posts: 81
Joined: Sun Oct 31, 2010 3:29 am
Location: York, UK

Managing/moving objects in a list

Post by polartech »

Hi guys.

So, I`m attempting to move objects in a simple arrangement (no listbox, just move objects).

I want the buttons to add/move the relevant objects into the central grey box image with latest on top, second middle, earliest bottom.

Any further additions moves the others down, with the newest always appearing on top.

The remove buttons should, as expected, take the object off the screen and move any that are below it up so that the list is always filled top to bottom, in order.

See attached for what I`m talking about :)

I can`t seem to get the coding quite right!

Cheers.
Attachments
list.zip
(948 Bytes) Downloaded 88 times

polartech
Posts: 81
Joined: Sun Oct 31, 2010 3:29 am
Location: York, UK

Re: Managing/moving objects in a list

Post by polartech »

I can offer a monetary reward of 100 Euro if anyone can help me crack this :)

It`s for a small game project that I want to try to offer commercially.

Thanks.

Primo6210
Posts: 24
Joined: Thu May 19, 2011 2:39 pm

Re: Managing/moving objects in a list

Post by Primo6210 »

Hello Im just this your question, but at this time im on duty.

when i have time i try to do this for you, you don`t spend money for this.

first i must translate you text in German, but i come from german.

actualy i don´t understand exactly what you mean. I need a little time to finde out and make your script for you.

give me little time, hope in the next days i have the script and post it here for you.

greets from germany

polartech
Posts: 81
Joined: Sun Oct 31, 2010 3:29 am
Location: York, UK

Re: Managing/moving objects in a list

Post by polartech »

That sounds great, thank you!

Happy to give due payment for results as it’s only fair.

Feel free to contact me if you need clarification.

Thanks again.

dgilmour
Posts: 545
Joined: Fri Oct 22, 2010 11:29 am
Location: Moskva, Rusko
Contact:

Re: Managing/moving objects in a list

Post by dgilmour »

Is this what you want?
list.zip
(1.26 KiB) Downloaded 61 times

polartech
Posts: 81
Joined: Sun Oct 31, 2010 3:29 am
Location: York, UK

Re: Managing/moving objects in a list

Post by polartech »

Oh wow.. yes, that`s really close! :)

The functionality is perfect, just one thing.. I was wanting the colour blocks to appear in a vertical list of three.. for example, red on the top of the list, then yellow, then blue at the bottom. So you can see them all when added.

Starting off, the first block goes to the top slot. When a second is added, that new one goes to the top slot and the one that was there is moved down to the centre slot. Similarly, when another is added, the other two move down a slot. Most recent is always on top.

Then if say the yellow (centre) one is removed, the blue one at the bottom moves up one to take the slot that yellow was in. The list is always filled from the top down.

I hope that makes sense :)

Again, happy to compensate anyone who can help.

Thank you so much!

dgilmour
Posts: 545
Joined: Fri Oct 22, 2010 11:29 am
Location: Moskva, Rusko
Contact:

Re: Managing/moving objects in a list

Post by dgilmour »

Should incoming blocks push the bottom block out if there are all three slots taken?

dgilmour
Posts: 545
Joined: Fri Oct 22, 2010 11:29 am
Location: Moskva, Rusko
Contact:

Re: Managing/moving objects in a list

Post by dgilmour »

OK, check this out.
list.zip
(1.53 KiB) Downloaded 71 times

polartech
Posts: 81
Joined: Sun Oct 31, 2010 3:29 am
Location: York, UK

Re: Managing/moving objects in a list

Post by polartech »

Magnificent!! You truly are a master dgilmour :)

This is precisely the behaviour that I needed.

Very grateful to you, and if you PM me I`m happy to arrange something as a thanks.

Primo6210
Posts: 24
Joined: Thu May 19, 2011 2:39 pm

Re: Managing/moving objects in a list

Post by Primo6210 »

Yes, dgilmour ist hte master of here ;)

Post Reply