国土与人民(包括辽阔的疆域与行政区划)[上学期]

资源下载
  1. 二一教育资源

国土与人民(包括辽阔的疆域与行政区划)[上学期]

资源简介

FileIO Xtra for Macromedia Authorware 6.0
Copyright 2001 Macromedia, Inc.
FileIO provides a set of functions allowing users of Macromedia Authorware 6.0 to programmatically access files using scripting.
Using FileIO
============
As an Xtra the FileIO Xtra must be in your application's Xtras folder.
Each instance of FileIO can reference a single open file. If multiple files are to be opened simultaneously, a new instance of FileIO is required for each opened file. A single instance can be used to open multiple files, as long as the file is closed before a new file is opened. To create a new instance use NewObject, defined below. To dispose of an instance, set the instance variable to 0. All functions that read from or write to the file must be called after the file has been opened using openFile. If a new file is to be opened using the same instance, the old file must first be closed using closeFile. Files can be opened in three different modes: Read, Write and Read/Write. When writing to a file, the contents of the file after the current position are overwritten.
Example Script:
-- Create an instance of FileIO
myFile := NewObject("fileio")
-- Display an "open" dialog and return the file name to Authorware
myFileName := CallObject(myFile, "displayOpen")
-- Open the file
CallObject(myFile, "openFile", myFileName, 1)
-- Read the file and return a string to Authorware
theFile := CallObject(myFile, "readFile")
-- Close the file
CallObject(myFile, "closeFile")
-- Dispose of the instance
myFile := 0
In this example, a new instance was created and stored in the variable myFile. Next, a call to displayOpen is used to display an open dialog to allow a file to be selected. The file name is returned as a fully qualified path string to Authorware. The file is then opened in read-only mode, the contents of the file are read, and the file is closed. Lastly, the instance is disposed.
There is also an Authorware Show Me (xtraio.a6p) which demonstrates how to use the Xtra. It can be found in the Show Mes installed with Authorware 6.
Known Problems
==============
The FileIO Xtra cannot use a net-based file when supplied with a URL for the file name. It is limited to accessing files available via file systems mounted on the local system.
The displaySave function does not directly inform Authorware whether a user is replacing an existing file. A workaround is to attempt to create the file using createFile and check the error code for a "File Already Exists" error.
Function Reference
==================
closeFile
CallObject(object, "closeFile")
Closes a file that has been previously opened using openFile.
createFile
CallObject(object, "createFile", "fileName")
Creates a file. The fileName must be either a fileName to be created in the current directory, or a fully qualified path and fileName. Relative paths are not supported. After creating the new file, the file must be opened before it can be written to.
delete
CallObject(object, "delete")
Deletes the currently opened file. The file must be open to use this function.
displayOpen
CallObject(object, "displayOpen")
Displays a platform specific "open" dialog allowing a user to select a file. Returns a fully qualified path and fileName to Authorware. The setFilterMask function can be used to control what file types are displayed in the dialog.
displaySave
CallObject(object, "displaySave", "title", "defaultFileName")
Displays a platform specific "save" dialog allowing a user to specify a file. Returns a fully qualified path and fileName to Authorware. The setFilterMask function can be used to control what file types are displayed in the dialog. The title and defaultFileName parameters allow you to specify a default filename to be displayed, as well as title text for the save dialog.
error
CallObject(object, "error", status)
Returns a readable error string. A numeric error code is passed in as the third argument. (Also refer to the 'status' function.) The errors returned can be any of the following:
"OK"
"Memory allocation failure"
"File directory full"
"Volume full"
"Volume not found"
"I/O Error"
"Bad file name"
"File not open"
"Too many files open"
"File not found"
"No such drive"
"No disk in drive"
"Directory not found"
"Instance has an open file"
"File already exists"
"File is opened read-only"
"File is opened write-only"
"Unknown error"
fileName
CallObject(object, "fileName")
Returns the file name string of the current open file. The file must be open use this function.
getFinderInfo
CallObject(object, "getFinderInfo")
Returns the Type and Creator of the current file as a string. This function does nothing when used under Windows. The file must be open to use this function.
getLength
CallObject(object, "getLength")
Gets the length of the currently opened file. Returned as an integer. The file must be open to use this function. The value returned is the length of the file in bytes.
getOSDirectory
getOSDirectory()
A function that returns the full path to either the Windows directory, or the System Folder depending on which OS is currently being used. Does not require a child instance to call.
getPosition
CallObject(object, "getPosition")
Gets the file position of the current open file. Returned as an integer. The file must be open to use this function.
NewObject
NewObject("fileio")
This is called to create a new instance of FileIO. It returns an instance variable used to reference the instance.
openFile
CallObject(object, "openFile", "fileName", mode)
Opens the named file. This call must be used before any read/write operations can take place. The filename can be either a fully qualified path and filename, or a relative filename. The openMode parameter specifies whether to open the file in Read, Write or Read Write mode. Valid Flags are: 0 Read/Write, 1 Read, 2 Write.
readChar
CallObject(object, "readChar")
Reads the character (either single or double-byte) at the current position and then increments the position. The character is returned to Authorware as a string. The file must be open in read or read/write mode to use this function.
readFile
CallObject(object, "readFile")
Reads from the current position to the end of the file and returns the file to Authorware as a string. The file must be open in read or read/write mode to use this function.
readLine
CallObject(object, "readLine")
Reads from the current position up to and including the next Return, increments the position, and returns the string to Authorware. The file must be open in read or read/write mode to use this function.
readToken
CallObject(object, "readToken", "skip", "break")
Reads the next 'token' starting at the current position. Characters matching the 'skip' parameter are "skipped" and the file is read until 'break' is encountered. The file must be open in read or read/write mode to use this function. This function will read double-byte tokens as long as the skip and break are single-byte characters. It will not detect double-byte skip or break characters.
readWord
CallObject(object, "readWord")
Reads the next word starting at the current position. The file must be open in read or read/write mode to use this function.
setFilterMask
CallObject(object, "setFilterMask", "mask")
Sets the filter mask used by calls to displayOpen and displaySave. The filter mask determines what files to show when displaying an "open" or "save" dialog. The third parameter is a string representing the filter mask to set.
On Windows, this is a comma-separated string of file types and associated extensions (e.g. "All Files,*.*,Text Files,*.TXT"), and a string of types on the Macintosh (e.g. "TEXTPICT"). On Windows, the filter mask string is limited to 256 characters.
On the Macintosh, you are limited to four four-character types. When a new instance of FileIO is created, the filter masks defaults to all files. To reset the filter mask to display all files after it has been set, just pass in an empty string, e.g. CallObject(object, "setFilterMask", "").
setFinderInfo
CallObject(object, "setFinderInfo", "attributes")
Sets the Type and Creator of the current file. The string takes the form of a space-separated set of TYPE and CREATOR codes (e.g. "TEXT TTXT"). This function does nothing when used under Windows. The file must be open to use this function.
setPosition
CallObject(object, "setPosition", position)
Sets the file position of the current open file. The file must be open to use this function.
status
CallObject(object, "status")
Returns the error code returned by the last function called. The value is returned as an integer. (Also refer to the 'error' function.)
version
CallParentObject("fileio", "version")
Returns FileIO version and build information. Useful when filing bug reports, or determining installed version while authoring. No practical use beyond this.
writeChar
CallObject(object, "writeChar", "theChar")
Writes a single character to the file at the current position. The file must be open in write or read/write mode to use this function.
writeString
CallObject(object, "writeString", "theString")
Writes a string to the file at the current position. The file must be open in write or read/write mode to use this function.
===(共23张PPT)
疆域与区划
柳市镇二中 黄晓春
疆域与区划
最东端:
黑龙江与乌苏里江主航道中心线的相交处 135°30 E
最西端:
帕米尔原 73°40 E
最北端:
漠河以北的黑龙江主航道的中心线 53 37 N
最南端:
曾母暗沙 3°52 N
约5200千米
约5500千米
实际距离
=
图上距离
比例尺
世界各大国面积比较
俄罗斯
1700多万km2
加拿大
997万km2
中国
960万km2
美国937万km2
巴西855万km2
澳大利亚768万km2
朝鲜
俄 罗 斯
蒙 古
哈萨克斯坦
吉尔吉斯斯坦
坦吉克斯坦
阿富汗
巴基斯坦
印 度
尼泊尔
锡金
不丹
缅 甸
老挝
越南
渤海
黄海
东海


太 平 洋
台湾岛
海南岛
1
2
3
4
5
6
韩国
日本
菲律宾
马来西亚
印度尼西亚
文莱
思考:从海陆疆域方面看,中国同英国、蒙古有什么不同?同美国有什么相同和不同的地方?
中 国
蒙古
美国


亚 洲
太 平 洋
大 西 洋
北 冰 洋
印度洋
欧洲
英国
中 国
亚 洲
太 平 洋
思考:中国地理位置特点及优越性?
印度洋
北 冰 洋
大 西 洋
_______省(自治区、直辖市)
_______市(自治县、市、区)
________乡(镇)
浙 江
家乡所在位置
省级行政区划单位
23个省
5个自治区
4个直辖市
2个特别行政区
共34个,
首都是北京
内蒙古自治区
新疆维吾尔自治区
西藏自治区
宁夏回族自治区
广西壮族自治区
北京市
天津市
重庆市
澳门特别行政区
香港特别行政区
上海市
省级行政单位“七字歌”:
东北三省黑吉辽,最东最北纬度高。
华北山西内蒙古,京津之外河北包。
华东七省上海市,三江鲁皖闽台岛。
中南五省加一区,两广两湖河海到。
西南三省加一区,川云贵藏要记牢。
西北三省又二区,陕甘宁青新疆好。
还有重庆和港澳,三十四个不可少。
省的由来
部分省级行政区简称及由来。
部分省级行政区名称的由来。
资料库
部分省级行政区名称的由来
山东省 在太行山以东而得名
山西省 在太行山以西而得名
河南省 在黄河以南而得名
河北省 在黄河以北而得名
湖南省 在洞庭湖以南而得名
湖北省 在洞庭湖以北而得名
黑龙江省 因大河黑龙江而得名
浙江省 钱塘江而得名
青海省 因青海湖而得名
省级行政区的简称:
省级行政区的简称的三字歌:
京津沪,黑吉辽,内蒙古,
晋陕甘,青新宁,冀鲁豫,
苏浙皖,湘鄂赣,川黔滇,
桂粤闽,藏琼渝,台港澳,
我祖国,好河山。
部分省级行政区简称的由来(一)
省名 简称 简称的由来
山西省 晋 春秋时代大部分地方为晋国领地
河北省 冀 因古为冀州之地而得名
河南省 豫 因古为豫州之地而得名
山东省 鲁 春秋时代部分地方为鲁国领地
湖北省 鄂 隋以后为鄂州辖地而得名
安徽省 皖 省内的霍山,又名皖山,故简称皖
部分省级行政区简称的由来(二)
省名 简称 简称的由来
上海市 沪 相传吴淞江下游近海一段古称沪渎,而得名
江西省 赣 因境内有赣江而得名
湖南省 湘 因境内有湘江而得名
福建省 闽 因境内有闽江而得名,也有说古为闽越族居地
贵州省 黔 省境秦代属黔中部,唐代属黔中道,故称黔
广东省 粤 因古为南粤辖地而得名
部分省级行政区简称的由来(三)
省名 简称 简称的由来
广西壮族自治区 桂 因秦朝置桂林郡于此而得名
云南省 滇 境内东北战国时为滇国故地而得名
海南省 琼 明初设琼州府,辖境包括整个海南岛,故得名
重庆市 渝 隋文帝时,因重庆位于嘉陵江畔,嘉陵江古称渝水,重庆名为渝州,故得名
拼图
填图
我国既临渤海,又临黄海的省级行政区是:
A、辽、鲁
B、鲁、苏
C、冀、辽
D、冀、鲁
小练习
A
填字游戏:使你所填的字与“州”组成我国省级行政中心的名称

广




地理谜语:猜一猜是哪个省级行政区或哪个省级行政区中心?
船出长江口
碧波万顷
宝地
银河渡口
千里戈壁
久雨初晴
上海
青海
贵州
天津
长沙
贵阳辽阔的疆域与行政区划
柳市镇二中 黄晓春
一.教学目标 :
知识目标:运用地图掌握我国的纬度位置和海陆位置。
能力目标:通过与其他国冢地理位置的比较,分析并感受到我国地理位置的优越性。通过对我国的面积、四至的介绍及对我国东西端、南北端的距离的量算,感受我国幅员辽阔的事实。通过拼图游戏及“七字歌”,熟悉我国34个省级行政区的名称和位置。
情感目标:我国位置优越、疆域辽阔、行政区划的学习;加深热爱祖国的情感,产生强烈的民族自豪感。
二.教学重难点:
重点:我国的地理概况、行政区划。
难点:大量的省级行政区划的地名和分布
三.教学方法、手段
小组合作探究法、竞赛法 利用多媒体手段进行教学
四.教学准备
每组6~7人,分成6~7个组,便于就近讨论,讨论问题结束每组推选一名代表发表本组的共同意见。准备红旗奖励优胜者,用以记录各组得分情况。
五.课堂设计
新课导入
播放《大中国》MTV,鼓励学生一起跟唱,激发学生的爱国主义情感。
提问:我们的大中国,好大的一个家,究竟这个家有多大,如何管理
进入本课内容《疆域与区划》。
“大家找茬”
展示“中国在地球上的位置”、“世界政区图”、“中国在亚洲的位置”三幅幻
灯片,引导学生仔细读图,并回忆小学学习过的中国的基本知识,准备下面的活动。应用活动:“大家来找茬”,根据各组的回答情况相应加红旗。
展示正确答案和国土面积前六位国家及欧洲面积柱状比较图,巩固知识。
又快又准
展示中国地图,书图3-1快速找出中国的四至,量测和计算中国南北和东西的最大距离,最快最接近正确答案的组加一面红旗。
教师出示展示祖国地域风光的图片:黑龙江还是冰天雪地的季节,南方的南海诸岛已是一片盛夏景色;当乌苏里江上已迎来朝阳的时候,帕米尔高原还是星斗满天的深夜。中国的辽阔的疆域。
模拟探险
分两组进行模拟探险活动:一组按逆时针方向沿着陆上国界,说出沿途经过的陆上邻国,共几个?另一组按顺时针方向沿着大陆海岸线,说出经过的大海、与我国隔海相望的国家、我国最大的两个大岛的名称。最快最准确的组加红旗。
想想议议
展示一幅世界地图,从海陆疆域方面观察比较中国、美国、蒙古、新西兰四个国家,哪个和中国比较类似?它们和中国的不同之处是什么?(小组讨论,然后请代表发言并根据回答情况相应加星)
说说看:
中国的这种背陆临海、海陆兼备的位置有何优势?(从以下两个方面来回答)
东部濒临世界上最大的大洋——太平洋,能给我们带来什么?
西部深入亚欧大陆内部,在陆地上我们有哪些作为?
安排小组讨论,然后请代表发言并根据回答情况相应加红旗。
过渡:国外的一个小朋友给你写信,邮递员怎么能送给你呢?(生答略)
师:可见,在如此广阔的地球上找到你,必须先确定你的具体位置。我国国土广阔,国家为方便管理,把国土划分为若干个地区,并分成不同的级别,这就是行政区。
说出你的通信地址,哪些是行政区的名称,属哪一级。
比比拼拼
将拼图拆散后还原成一幅完整的中国地图,比谁快。最快者可以赢得一面红旗。
师生共同在地图上重点落实五个民族自治区,四个自辖市,两个特别行政区。
念一念省级行政单位“七字歌”:“东北三省黑吉辽,最东最北纬度高。华北山西内蒙古,京津之外河北包。华东七省上海市,三江鲁皖闽台岛。中南五省加一区,两广两湖河海到。西南三省加一区,川云贵藏要记牢。西北三省又二区,陕甘宁青新疆好。还有重庆和港澳,三十四个不可少”。
见多识广
你知道多少省、省级行政区名称、省级行政区简称的由来。“文成”因何得名,
根据各组不同表现相应奖励红旗。
决一胜负
各组派一位代表演示省级行政单位填图游戏,在规定的时间内填对最多者为优胜者,为本组赢得一面红旗。为巩固本节知识,可增加几个加赛题。例1、我国既临渤海,又临黄海的省级行政区是: A、辽、鲁B、鲁、苏C、冀、辽D、冀、鲁2、地理谜语:猜一猜是哪个省级行政区或哪个省级行政区中心?
船出长江口 上海
碧波万顷 青海
银河渡口 天津
千里戈壁 长沙
久雨初晴 贵阳
根据各组红旗多少情况评出优胜组和本组表现最佳者进行奖励。
作业:多练习行政区划拼图游戏,熟悉我国34个省级行政单位的名称,位置及形状。
课件播放说明:
本课件的运行需要WINGDOWS 98以上操作系统,Powerpoint,FLASH,
Authorware,mp3播放器。
PAGE
2

展开更多......

收起↑

资源列表