all tasks
This commit is contained in:
parent
b83f433714
commit
68f8f3e56b
14735 changed files with 178959 additions and 0 deletions
22
Task/XML-Input/ActionScript/xml-input.as
Normal file
22
Task/XML-Input/ActionScript/xml-input.as
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
package
|
||||
{
|
||||
import flash.display.Sprite;
|
||||
|
||||
public class XMLReading extends Sprite
|
||||
{
|
||||
public function XMLReading()
|
||||
{
|
||||
var xml:XML = <Students>
|
||||
<Student Name="April" />
|
||||
<Student Name="Bob" />
|
||||
<Student Name="Chad" />
|
||||
<Student Name="Dave" />
|
||||
<Student Name="Emily" />
|
||||
</Students>;
|
||||
for each(var node:XML in xml..Student)
|
||||
{
|
||||
trace(node.@Name);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue