Go Back   CodingForums.com > :: Client side development > Flash & ActionScript

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 05-03-2012, 06:40 PM   PM User | #1
dougcollins02
New Coder

 
Join Date: Dec 2011
Posts: 85
Thanks: 15
Thanked 5 Times in 5 Posts
dougcollins02 is on a distinguished road
Looking for AS3 Form Tutorial

I'm looking for a good tutorial that goes over how to work with forms in Flash using AS3, specifically how to store inputted text as a variable and how to check inputted text for valid input. Anyone have any ideas?
__________________
What you've just said is one of the most insanely idiotic things I have ever heard. At no point in your rambling, incoherent response were you even close to anything that could be considered a rational thought. Everyone in this room is now dumber for having listened to it. I award you no points, and may God have mercy on your soul.
dougcollins02 is offline   Reply With Quote
Old 05-05-2012, 08:11 PM   PM User | #2
Awoken
New to the CF scene

 
Join Date: May 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Awoken is an unknown quantity at this point
What exactly do you mean by forms?
Yes there are many ways to store inputted text and check them but can you explain your wants in a little more detail?
Awoken is offline   Reply With Quote
Old 05-08-2012, 06:11 PM   PM User | #3
dougcollins02
New Coder

 
Join Date: Dec 2011
Posts: 85
Thanks: 15
Thanked 5 Times in 5 Posts
dougcollins02 is on a distinguished road
Quote:
Originally Posted by Awoken View Post
What exactly do you mean by forms?
Yes there are many ways to store inputted text and check them but can you explain your wants in a little more detail?
Sure, I'd be happy to be more specific.

My knowledge of Flash and AS3 is intermediate. I say this because, while I understand the basic tenants of Flash and AS3 and can pull off some nifty bits of code and interaction, I still have to go looking for tutorials whenever I'm learning a new skill. The project I'm working on is a big one, and I'm finding it difficult to string all of what I need to do with a particular form together.

I'm working on a project that's a mockup of a live system. My company will use this mockup for training purposes. This requires me to store information from input text fields, drop down lists and checkboxes, and to display that information at several other frame labels further on in the timeline. I don't need this information to be stored or processed on a server; it only needs to exist within the confines of the Flash document (so I'm not concerned with any connection to a server or interaction with any languages like PHP).

What I'm really looking for is a good tutorial on how to store and carry variables between frames (from input text, drop down lists, checkboxes, etc.), displaying variables entered in previous frames, and checking variables for null values (ie if an input variable is undefined brining up different error messages depending on which variable is left unchecked).

I know that getting into all of this is way beyond the scope of a post here (I don't expect the other users here to coddle me or be my personal unpaid teacher) so I was hoping that someone might know some good, general forms tutorials out there that I could look over.
__________________
What you've just said is one of the most insanely idiotic things I have ever heard. At no point in your rambling, incoherent response were you even close to anything that could be considered a rational thought. Everyone in this room is now dumber for having listened to it. I award you no points, and may God have mercy on your soul.
dougcollins02 is offline   Reply With Quote
Old 05-08-2012, 08:37 PM   PM User | #4
djpaul1963
New Coder

 
Join Date: Apr 2012
Location: Athens GR
Posts: 58
Thanks: 0
Thanked 6 Times in 6 Posts
djpaul1963 is an unknown quantity at this point
What you need is not a form tutorial but a basic knowledge of programming, regardless the language or framework you use.
Try to think your flash movie as a unity and not a collection of frames where various input boxes and dropdowns and radio buttons cannot communicate with each other.
To let them all serve your purpose, store their contents to a structure of global variables. When you need those values no matter the frame you are or how far from the initial form, their data will be in front of you, ready to assign them to other controls, or calculate or send to a server or whatever...

Last edited by djpaul1963; 05-08-2012 at 08:43 PM..
djpaul1963 is offline   Reply With Quote
Old 05-09-2012, 04:09 PM   PM User | #5
dougcollins02
New Coder

 
Join Date: Dec 2011
Posts: 85
Thanks: 15
Thanked 5 Times in 5 Posts
dougcollins02 is on a distinguished road
Thanks for the advice, DJPaul.

I have the basic knowledge of AS3; what I'm struggling with more than anything else is the ins-and-outs of storing and calling global variables, especially between nested movie clips and the root timeline. Some of my problems I've been able to work out for myself; others I still have questions about. This is why I'm looking for a tutorial: to teach myself the finer points of the how-to side of things. My shortcomings isn't with the understanding of the concepts.
__________________
What you've just said is one of the most insanely idiotic things I have ever heard. At no point in your rambling, incoherent response were you even close to anything that could be considered a rational thought. Everyone in this room is now dumber for having listened to it. I award you no points, and may God have mercy on your soul.
dougcollins02 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:03 PM.


Advertisement
Log in to turn off these ads.