Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 04-03-2012, 02:03 AM   #1
m1990
Registered User
 
Join Date: Apr 2012
Posts: 2
Question Madlib help

Hey there...

So, for my Interactive Multimedia class we need to create a madlib using ActionScript 3.0. Basically, I have input boxes that allow users to enter certain words. Once entered, I need the users to hit the submit button, which will input their words into my madlib. So far, my input boxes and button work. However, I'm not sure how to make it so that after the user hits the submit button the words they entered actually take them to my madlib and then enter their words into the madlib. Do I need a separate frame with it's own actionscript? Right now my input boxes are one frame 1...I don't want to mess with multiple scenes. Not sure if this makes sense or not but I'll upload pictures of what I have done. The first two images (flash 1 and 3) are of the layout, input boxes, and submit button with the appropriate script, and the second (flash 2) is what I believe the script would be for the madlib text. I guess I'm having trouble putting the stuff together to create a finished madlib. Any help would be appreciated. I won't see my teacher for a couple more days, and I would like to get this finished as soon as possible. Fyi...I don't like flash..I realize my stuff is basic but hey, it's a start. Thanks for your help!

Also, I know my coding for the second picture (flash 3) is correct...I really am not sure about the last (flash 2) though and if that coding would go in the same ActionScript (frame 1) as the first coding or in its own frame (frame 2). I'm more of a PhotoShop, InDesign, and Illustrator type of person.
Attached Thumbnails
Click image for larger version

Name:	flash1.png
Views:	39
Size:	83.1 KB
ID:	38331   Click image for larger version

Name:	flash3.png
Views:	35
Size:	53.9 KB
ID:	38332   Click image for larger version

Name:	flash2.png
Views:	37
Size:	46.7 KB
ID:	38333  
m1990 is offline   Reply With Quote
Old 04-03-2012, 08:17 AM   #2
sleepy20
Registered User
 
Join Date: Jul 2011
Posts: 33
Default

you could add gotoAndPlay(2) for it to jump to next frame inside submitWords then use this.adj1, this.obj1 and so on, put flash2 on another frame and also attach the "this." to adj1, obj1, name1 and so on.
sleepy20 is offline   Reply With Quote
Old 04-03-2012, 12:03 PM   #3
PasD
pseudoActionscripter
 
Join Date: Apr 2012
Posts: 68
Default

whats a madlib supposed to do?
PasD is offline   Reply With Quote
Reply


Thread Tools
Display Modes 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. The time now is 11:09 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.