/*********************************************************** * @author Maria A. Zamora * @company Digitec Interactive Inc. * @version 0.1 * @date 12/14/2010 * *ConceptItem class for conceptsFrame3 movie of the CEE application * CS5 version of com.digitec.cee.ConceptItem **********************************************************/ package com.digitec.cee { public class ConceptItem { private var _Id:int; private var _Name:String = ""; private var _catID:int; private var _Definition:String = ""; private var _Lessons:String = ""; private var _Tips:String = ""; private var _Resources:String = ""; //new private var _Quiz:String = ""; //new private var _relatedConceptsArr:Array; private var _extVid:String = ""; public function ConceptItem( _xml:XML ) { if( _xml.id != null){ _Id = int(_xml.id);} if( _xml.name != null){ _Name = _xml.name.toString();} if( _xml.category != null){ _catID = int(_xml.category);} if( _xml.definition != null){ _Definition = _xml.definition.toString();} if( _xml.lessons != null){ _Lessons = _xml.lessons.toString();} if( _xml.tips != null){ _Tips = _xml.tips.toString(); } if( _xml.resources != null){ _Resources = _xml.resources.toString(); } if( _xml.quiz != null){_Quiz = _xml.quiz.toString(); } if (_xml.extVid != null){ _extVid = _xml.extVid.toString(); } var num:int = _xml.related.elements("concept").length(); _relatedConceptsArr = new Array(); for( var i:int=0; i < num; i++ ) { _relatedConceptsArr[i] = _xml.related.concept[i]; } } /******************************************************************* * SET FUNCTIONS *******************************************************************/ //add more related concepts to this concept public function set_relatedConcept( num:int ):void { _relatedConceptsArr.push(num); } /******************************************************************* * GET FUNCTIONS *******************************************************************/ public function get conceptID():int{ return _Id; } public function get conceptName():String { return _Name; } public function get categoryID():int{ return _catID; } public function get conceptDefinition():String { return _Definition; } public function get conceptLessons():String { return _Lessons; } public function get conceptTips():String { return _Tips; } public function get conceptResources():String { return _Resources; } public function get conceptQuiz():String { return _Quiz; } public function get relatedConceptsArr():Array { return _relatedConceptsArr; } public function get extVid():String { return _extVid; } } // Main class } //end package /************************************************************************************************************************** XML STRUCTURE <?xml version="1.0" encoding="utf-8"?> <concepts> <concept> <id>1</id> <name>Decision Making/Cost-Benefit Analysis</name> <category>0</category> <definition><![CDATA[<p><b>Decision making </b>refers to the process by which rational consumers .....</p>]]></definition> <lessons><![CDATA[<p>Below are ant in comparison shopping. . ..it Analysis|true|p><br><br><br>]]></lessons> <tips><![CDATA[<p>n walking the dog.</p><p>----------</p>]]></tips> <related> <concept>4</concept> <concept>10</concept> <concept>57</concept> <concept>8</concept> </related> </concept> <concept> <id>71</id> <name>Technology</name> <category>0</category> <definition><![CDATA[<p>The set of instructions or blueprints that inform <a href="asfunction:defineGlossaryTerm,Producers">producers</a> about the various ways that <a href="asfunction:defineGlossaryTerm,Capital">capital</a> and <a href="asfunction:defineGlossaryTerm,Labor">labor</a> can be combined to produce a particular <a href="asfunction:defineGlossaryTerm,Product">product</a> is the <b>technology</b> of production. From these possible input <a href="asfunction:defineGlossaryTerm,Choice">choices</a>, producers select combinations of labor and capital to produce output that maximizes <a href="asfunction:defineGlossaryTerm,Profit">profits</a>. The technology of <a href="asfunction:defineGlossaryTerm,Production">production</a> defines the <a href="asfunction:defineGlossaryTerm,Productivity">productivity</a> of <a href="asfunction:defineGlossaryTerm,Resources">resources</a>, and improvements in technology typically increase productivity of resources. A "change in technology" usually refers to new ways to produce more or better output with the same quantities of input resources (or the same output level with fewer input resources).</p> ]]></definition> <lessons><![CDATA[<p>Below are <b>featured</b> lessons for teaching <b>Technology</b>. In addition to the lessons listed, use the link at the bottom to view additional lessons that address this concept.</p><br><p class="tipHeading">High School Lessons</p> <p>---------------------------------------------------------------------------------------------</p><p><a href="asfunction:viewLesson,62515"><b>Lesson 10- How The Industrial Revolution Raised Living Standards</b></a><br><a href="asfunction:viewPublication,70">World History: Focus on Economics</a></p><br><p class="smaller_text">The teacher conducts a brief simulation that illustrates how specialization and division of labor and improvements in capital goods increase productivity. The teacher displays a visual that shows other sources of increases in productivity. Students work in groups to find examples of different ways of increasing productivity in a reading about Josiah Wedgwood and the Industrial Revolution and how it affected the pottery industry.</p><br><p>---------------------------------------------------------------------------------------------</p><p><a href="asfunction:viewLesson,62569"><b>Unit 7: Lesson 19 - How Many Children Can Mother Earth Stand?</b></a><br><a href="asfunction:viewPublication,65">Economics and the Environment</a></p><br><p class="smaller_text">Population statistics are introduced to students, presenting examples students can relate to their own lives (living space and family size). </p><br><p><a href="asfunction:gotoKeywordSearch,Technology|false|false|false|true|true|true|false"><b>View more High School lessons >></b></a></p><br><br><br><p class="tipHeading">Middle School Lessons</p> <p>---------------------------------------------------------------------------------------------</p><p><a href="asfunction:viewLesson,60338"><b>Lesson 8 - Ideas That Changed the World</b></a><br><a href="asfunction:viewPublication,53">Middle School World Geography: Focus on Economics</a></p><br><p class="smaller_text">In this lesson, the students learn about productivity and its connection to the standard of living. They learn about inventions that changed the world. The students make predictions about recent inventions and the impact of these inventions on productivity, standard of living and quality of life.</p><br><p><a href="asfunction:gotoKeywordSearch,Technology|false|true|true|false|true|true|false"><b>View more Middle School lessons >></b></a></p><br><br><br><p class="tipHeading">Elementary Lessons</p> <p>---------------------------------------------------------------------------------------------</p><p><a href="asfunction:viewLesson,20806"><b>Unit 3: Lesson 9 - What Results When People Use Improved Physical Capital Resources?</b></a><br><a href="asfunction:viewPublication,10">Choices & Changes: In Life, School, & Work - Grades 5-6 - Teacher's Resource Manual</a></p><br><p class="smaller_text">Students learn that using technologies increase production during a business simulation.</p><br><p><a href="asfunction:gotoKeywordSearch,Technology|true|true|false|false|true|true|false"><b>View more Elementary lessons >></b></a></p><br><br><br>]]></lessons> <tips><![CDATA[<p>---------------------------------------------------------------------------------------------</p><p class="tipHeading">Tip #1</p><p>One way to show how technology improves productivity is to solve simple math problems with and without a calculator. Give the students 10 math problems and have them solve the problems without a calculator. Then give the students 10 more problems and let them use a calculator. In both cases, have the students keep track of the time it took and their accuracy. How did technology improve productivity?</p><p>---------------------------------------------------------------------------------------------</p><p class="tipHeading">Tip #2</p><p>Many people incorrectly believe that technology increases unemployment. This is known as the lump of labor fallacy. In fact, technology creates jobs and increases a nation's standard of living. Of course, other jobs are lost, but overall employment increases. In 1900, 20,000,000 people were employed. Today over 130,000,000 people are employed. How many new jobs were created in the automobile, plastics, airplane, television, computer, medical and electronics industries because of improved technologies?</p><p>---------------------------------------------------------------------------------------------</p>]]></tips> <related> <concept>11</concept> <concept>58</concept> </related> </concept> </concepts> ******************************************/