PDA

View Full Version : help with complicated project


Kmarch
11-05-2007, 02:06 PM
first off, hello all of you :) I hope you can help me out.

I'm working on a project (planning stage) that requires the user to be able to drag instances of a box onto the stage/arange them (in the website)
type text into those boxes and when all of the boxes are in place with their respective text and the user clicks "submit" have the finished "user project" emailed to me.

Now i'm new to Actionscript 3.0 and my AS 2.0 is limited to games so this is new stuff for me. But I know I can do it and I don't think it will be that complicated. What I need from you guys is direction on what commands and functions to research...

For example in AS 3.0 I need to know how:

#1) To let the user drag instances of a set object (with user imput text boxes in it) onto the stage

#2) to check that all of the text is entered

#3) let them save the layout for future use

#4) let them "submit" it to me (in PDF or JPG or something like that.. keeping the text copy/pasteable is a plus)

Thanks in advance for your help! :)

thumbslinger
11-05-2007, 02:16 PM
Well, the basics will get you through some of that:
if/then/else;
startDrag;
stopDrag and or hitTest for 'snapping' objects

As for storing a layout, you could probably do something simple with localConnection and storing variables that are read when a user revisits, but from the sounds of it, you might have to investigate how PHP sessions could be implemented.

Uploading will require a delve into the upload() method of the File Reference object of the File Reference/File Reference List classes.

Converting their data to a format other than a text file..hmm I can't think of that off the top of my head but I would guess it might be something related to the drawing api.

Kmarch
11-05-2007, 02:48 PM
Ok well, I have used startdrag/stopdrag before that's not a big deal.

To be more specific..

What I'm trying to figure out right now is how to have a pallet of certain size boxes with user imput text boxes in them that you can then drag out as many "copies" of each size box as you want and input different text into each box.