PDA

View Full Version : Drag and Drop Scheduler?


webguyjon
08-02-2006, 08:52 PM
Hello all,

I am in need of creating a drag and drop scheduler of sorts. There will be no tracking involved, this is just a simple schedule your day type of thing for young kids in class who need to learn how to schedule their time properly.

I want to have a notebook of sorts with 5 pages on the left side of the page with 10 tasks on each page. these would be draggable onto a mock palm pilot on the right of the screen.

The palm window will have a day's worth of time and broken down into half hour increments.

The tasks on the notepad will be variations of 1/2, whole and whole and a half hour increments.

The kid can drag from the notepad a task they would like to add to their scheduler and they continue to do so from variations of the 5 pages until the day is full and then they get a "well done" or if they have something at 1 for half hour and something at 2 for half hour and they try to add a whole hour task at 1:30... it would pop up something to say... :sorry please reschedule your day to allow for this task" or something like that.

does this make any sense to anyone? And if so... how would i go about it in flash mx 2004?

Thanks for your help.

goliatone
08-02-2006, 09:18 PM
hi, and welcome to the forums

are you starting from scratch? do you have anything done yet? can you post some code or some fla?

webguyjon
08-03-2006, 03:33 PM
Thanks for welcoming me to the forum. I am excited to be a member.

I actually haven't really started a production version as of yet due to my wondering what the best route would be to go on this one so that i don't waste a lot of time doing the wrong thing. I mean the drag this drop that is whatever but the ability to do all of this functionality all at once is eluding to me.

To mash it out in my head I started with adding a drop target mc on the right side of the screen that would take the place of the palm pilot. Graphically it would be swapped out after i got the thing working of course.

Second i made 5 page of task mc to rep the notebook of tasks to the achieve to the left side of the screen. For this i created a holder_mc for the 5 individual mc and added fuctions to the button portion of their tops to tell the mc to switch between pages when the mouse is released.

On each of the pages I added 10 task_mc items in order to drag them onto the drop target. There was an issue here due to when the user switches between the pages to see different items... the items they have already dropped onto the drop target disappeared of course.

Any ideas? Another poster emailed me and said I should control it all with an external XML doc. Would that make sense if the tasks dont ever change? But the again in order to do the tabulation of all hourly time alottments then it might be best to have it all externally changeable and modifyiable?

Confused.

thanks for any replys. I will keep working and upload an FLA soon.

jon

webguyjon
08-03-2006, 10:11 PM
I have been working on this component today and thought i would upload a new version for your viewing.

check out the FLA at the link below.

http://www.rcipro.com/sched_dragdrop.zip

thanks to anyone who can help.

webguyjon
08-04-2006, 03:52 PM
should I be posting this question to a more advanced part of the forum? I figured this would be something the more advanced users would be like ..." oh that's easy kid" and make me feel stupid or something haha.

ok... so am i on my own on this?

sorry...just trying to lighten the mood up a bit as it is soo early here still.

thanks everyone for atleast dropping by to view my posting.

and why cant I post a swf on here?

Jon

webguyjon
08-09-2006, 06:25 PM
Hello everyone,

hope all are well.

Wanted to submit an update on my scheduler project.

Can anyone help me setup the hittest and the droptarget so that I can't drop in any other place other then the palm pilot screen? I have the task_mc's constraining to only a certain area atleast but I need to only be able to drop them onto the palm screen, else go back to original position. do you know what I mean?

Here is the updated swf for you to see.

Thanks for your help... i need to get this thing done so please help as i am confused about the whole integer and hittest thing. I have so many "task_mc" that I don't know how to set the rest up.

Thanks.
Jon