Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For this assignment, you will create two different files. 1. Build a sentence using only ActionScript. Create an FLA file and in the actions panel

image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
For this assignment, you will create two different files. 1. Build a sentence using only ActionScript. Create an FLA file and in the actions panel type the code identifed for you on the BuildASentence.jpg attached. 1. Be sure to add comments as to what you believe the code is doing. 2. Change the nouns, adjectives, and verbs to be your own. Keep it clean! 3. rename the variable names for adjYourName, nounYourName, and verbYourName to have Your Name in place of YourName..e. adjAnne, nounAnne, verbAnne. 2. In a separate ActionScript file, follow the instructions found in guessGamelnstructions.pdf. Name your layers hle YouNameGuessGame... i.e. AnneGuessGame E BuildASentence jpg (128388 KB) guessGa Submissions No submissions yet. Drag and drop to upload your assignment below. 1var adjsYourName:Arraysassy, funny", happy": 2 var nounsYourName:Array C"daddy", "mommy", "sister"]; 3 var verbsYourName:Array-C"shot", climbed", ran"]: s var adjsclassmate:Array ['tall, "snuggly", "clean": 6 var nounsClassmate:Array C"duck", "birdy", chipmunk "J 7var verbsClassmate:Array C"ran, "jumped", "tip-toed"]; 9 function buildASentenceCadj:Array, noun:Array, verb:Array):String f 10 var aCount:int adj.length; var nCount:int noun.Length; var vCount:int verb.length; 15 16) 17 traceC"not enough words provided"); var a:int Math.floor (Math. randomC) aCount); var n:int - Math. floor(Math.random) nCount); var v:int Math.floor (Math.randomC) vCount); 19 21 return Theadj[a] noun[n]+verb[v]+away! 24 for Cvar :int 0; 1 Document) You will create one layer and name it base: On the base layer, include the following components that may look like this: 1. A Classic Dynamic Text box with an instance name of output. 2. A Classic Input Text box with an instance name of input A button with an up, over and down state and an instance name of guessButton 3. int: //initialize text fields input OxFFCCCCCC //Add an event listener to the button currentGuess uint(input.text) output.text-"Think a bit higher, that's too low else For this assignment, you will create two different files. 1. Build a sentence using only ActionScript. Create an FLA file and in the actions panel type the code identifed for you on the BuildASentence.jpg attached. 1. Be sure to add comments as to what you believe the code is doing. 2. Change the nouns, adjectives, and verbs to be your own. Keep it clean! 3. rename the variable names for adjYourName, nounYourName, and verbYourName to have Your Name in place of YourName..e. adjAnne, nounAnne, verbAnne. 2. In a separate ActionScript file, follow the instructions found in guessGamelnstructions.pdf. Name your layers hle YouNameGuessGame... i.e. AnneGuessGame E BuildASentence jpg (128388 KB) guessGa Submissions No submissions yet. Drag and drop to upload your assignment below. 1var adjsYourName:Arraysassy, funny", happy": 2 var nounsYourName:Array C"daddy", "mommy", "sister"]; 3 var verbsYourName:Array-C"shot", climbed", ran"]: s var adjsclassmate:Array ['tall, "snuggly", "clean": 6 var nounsClassmate:Array C"duck", "birdy", chipmunk "J 7var verbsClassmate:Array C"ran, "jumped", "tip-toed"]; 9 function buildASentenceCadj:Array, noun:Array, verb:Array):String f 10 var aCount:int adj.length; var nCount:int noun.Length; var vCount:int verb.length; 15 16) 17 traceC"not enough words provided"); var a:int Math.floor (Math. randomC) aCount); var n:int - Math. floor(Math.random) nCount); var v:int Math.floor (Math.randomC) vCount); 19 21 return Theadj[a] noun[n]+verb[v]+away! 24 for Cvar :int 0; 1 Document) You will create one layer and name it base: On the base layer, include the following components that may look like this: 1. A Classic Dynamic Text box with an instance name of output. 2. A Classic Input Text box with an instance name of input A button with an up, over and down state and an instance name of guessButton 3. int: //initialize text fields input OxFFCCCCCC //Add an event listener to the button currentGuess uint(input.text) output.text-"Think a bit higher, that's too low else

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

MFDBS 89 2nd Symposium On Mathematical Fundamentals Of Database Systems Visegrad Hungary June 26 30 1989 Proceedings

Authors: Janos Demetrovics ,Bernhard Thalheim

1989th Edition

3540512519, 978-3540512516

More Books

Students also viewed these Databases questions

Question

4. Choose appropriate and powerful language

Answered: 1 week ago

Question

2. Choose an appropriate organizational pattern for your speech

Answered: 1 week ago