Add timeline/nav test for pull request #1990

This commit is contained in:
Tobias Schneider 2015-01-05 12:51:13 -08:00
Родитель 8907cb2bf5
Коммит 52e1d4ff32
4 изменённых файлов: 366 добавлений и 0 удалений

Двоичные данные
test/swfs/timeline/nav/ratio3.swf Normal file

Двоичный файл не отображается.

Просмотреть файл

@ -0,0 +1,4 @@
Element placed on frame 1
New object placed on frame 2: false
New object placed on frame 3: true
New object placed on frame 1: false

Просмотреть файл

@ -0,0 +1,361 @@
<?xml version="1.0" encoding="UTF-8"?>
<swf version="25" compressed="1">
<Header framerate="24" frames="3">
<size>
<Rectangle left="0" right="11000" top="0" bottom="8000"/>
</size>
<tags>
<FileAttributes hasMetaData="0" allowABC="1" suppressCrossDomainCaching="0" swfRelativeURLs="0" useNetwork="0"/>
<SetBackgroundColor>
<color>
<Color red="255" green="255" blue="255"/>
</color>
</SetBackgroundColor>
<DefineSceneAndFrameLabelData>
<scenes>
<Scene offset="0" name="Scene 1"/>
</scenes>
<frames/>
</DefineSceneAndFrameLabelData>
<DefineShape objectID="1">
<bounds>
<Rectangle left="0" right="2000" top="0" bottom="2000"/>
</bounds>
<styles>
<StyleList>
<fillStyles>
<Solid>
<color>
<Color red="255" green="0" blue="0"/>
</color>
</Solid>
</fillStyles>
<lineStyles/>
</StyleList>
</styles>
<shapes>
<Shape>
<edges>
<ShapeSetup fillStyle1="1"/>
<LineTo x="2000" y="0"/>
<LineTo x="0" y="2000"/>
<LineTo x="-2000" y="0"/>
<LineTo x="0" y="-2000"/>
<ShapeSetup/>
</edges>
</Shape>
</shapes>
</DefineShape>
<DefineSprite objectID="2" frames="1">
<tags>
<PlaceObject2 replace="0" depth="1" objectID="1">
<transform>
<Transform transX="0" transY="0"/>
</transform>
</PlaceObject2>
<ShowFrame/>
<End/>
</tags>
</DefineSprite>
<PlaceObject2 replace="0" depth="1" objectID="2">
<transform>
<Transform transX="7000" transY="3000"/>
</transform>
</PlaceObject2>
<DoABCDefine flags="1" name="">
<actions>
<Action3 minorVersion="16" majorVersion="46">
<constants>
<Constants>
<ints/>
<uints/>
<doubles/>
<strings>
<String2 value="ratio_fla"/>
<String2 value="MainTimeline"/>
<String2 value="flash.display"/>
<String2 value="MovieClip"/>
<String2 value="ratio_fla:MainTimeline"/>
<String2 value=""/>
<String2 value="el"/>
<String2 value="frame1"/>
<String2 value="frame2"/>
<String2 value="frame3"/>
<String2 value="trace"/>
<String2 value="New object placed on frame 1: "/>
<String2 value="getChildAt"/>
<String2 value="Element placed on frame 1"/>
<String2 value="New object placed on frame 2: "/>
<String2 value="New object placed on frame 3: "/>
<String2 value="gotoAndStop"/>
<String2 value="addFrameScript"/>
<String2 value="Object"/>
<String2 value="flash.events"/>
<String2 value="EventDispatcher"/>
<String2 value="DisplayObject"/>
<String2 value="InteractiveObject"/>
<String2 value="DisplayObjectContainer"/>
<String2 value="Sprite"/>
</strings>
<namespaces>
<PackageNamespace index="1"/>
<PackageNamespace index="3"/>
<ProtectedNamespace index="5"/>
<PackageNamespace index="6"/>
<PackageInternalNamespace index="1"/>
<PackageNamespace index="20"/>
</namespaces>
<namespaceSets/>
<multinames>
<QName namespaceIndex="1" nameIndex="2"/>
<QName namespaceIndex="2" nameIndex="4"/>
<QName namespaceIndex="4" nameIndex="7"/>
<QName namespaceIndex="5" nameIndex="8"/>
<QName namespaceIndex="5" nameIndex="9"/>
<QName namespaceIndex="5" nameIndex="10"/>
<QName namespaceIndex="4" nameIndex="11"/>
<QName namespaceIndex="4" nameIndex="13"/>
<QName namespaceIndex="4" nameIndex="17"/>
<QName namespaceIndex="4" nameIndex="18"/>
<QName namespaceIndex="4" nameIndex="19"/>
<QName namespaceIndex="6" nameIndex="21"/>
<QName namespaceIndex="2" nameIndex="22"/>
<QName namespaceIndex="2" nameIndex="23"/>
<QName namespaceIndex="2" nameIndex="24"/>
<QName namespaceIndex="2" nameIndex="25"/>
</multinames>
</Constants>
</constants>
<methods>
<MethodInfo retType="0" nameIndex="0" hasParamNames="0" setSDXNs="0" isExplicit="0" ignoreRest="0" hasOptional="0" needRest="0" needActivation="0" needArguments="0">
<paramTypes/>
</MethodInfo>
<MethodInfo retType="0" nameIndex="0" hasParamNames="0" setSDXNs="0" isExplicit="0" ignoreRest="0" hasOptional="0" needRest="0" needActivation="0" needArguments="0">
<paramTypes/>
</MethodInfo>
<MethodInfo retType="0" nameIndex="0" hasParamNames="0" setSDXNs="0" isExplicit="0" ignoreRest="0" hasOptional="0" needRest="0" needActivation="0" needArguments="0">
<paramTypes/>
</MethodInfo>
<MethodInfo retType="0" nameIndex="0" hasParamNames="0" setSDXNs="0" isExplicit="0" ignoreRest="0" hasOptional="0" needRest="0" needActivation="0" needArguments="0">
<paramTypes/>
</MethodInfo>
<MethodInfo retType="0" nameIndex="0" hasParamNames="0" setSDXNs="0" isExplicit="0" ignoreRest="0" hasOptional="0" needRest="0" needActivation="0" needArguments="0">
<paramTypes/>
</MethodInfo>
<MethodInfo retType="0" nameIndex="0" hasParamNames="0" setSDXNs="0" isExplicit="0" ignoreRest="0" hasOptional="0" needRest="0" needActivation="0" needArguments="0">
<paramTypes/>
</MethodInfo>
</methods>
<metadata/>
<instances>
<InstanceInfo nameIndex="1" superIndex="2" hasProtectedNS="1" interface="0" final="0" sealed="0" protectedNS="3" iInitIndex="4">
<interfaces/>
<traits>
<TraitInfo nameIndex="3" override="0" final="0">
<trait>
<Slot slotID="0" typeIndex="0" valueIndex="0"/>
</trait>
</TraitInfo>
<TraitInfo nameIndex="4" override="0" final="0">
<trait>
<Method dispID="0" methodInfo="1"/>
</trait>
</TraitInfo>
<TraitInfo nameIndex="5" override="0" final="0">
<trait>
<Method dispID="0" methodInfo="2"/>
</trait>
</TraitInfo>
<TraitInfo nameIndex="6" override="0" final="0">
<trait>
<Method dispID="0" methodInfo="3"/>
</trait>
</TraitInfo>
</traits>
</InstanceInfo>
</instances>
<classes>
<ClassInfo cInitIndex="0">
<traits/>
</ClassInfo>
</classes>
<scripts>
<ScriptInfo initIndex="5">
<traits>
<TraitInfo nameIndex="1" override="0" final="0">
<trait>
<Class slotID="1" classInfo="0"/>
</trait>
</TraitInfo>
</traits>
</ScriptInfo>
</scripts>
<methodBodies>
<MethodBody methodInfo="0" maxStack="1" maxRegs="1" scopeDepth="9" maxScope="10" exceptionCount="0">
<code>
<OpGetLocal0/>
<OpPushScope/>
<OpReturnVoid/>
</code>
<exceptions/>
<traits/>
</MethodBody>
<MethodBody methodInfo="1" maxStack="4" maxRegs="1" scopeDepth="10" maxScope="11" exceptionCount="0">
<code>
<OpGetLocal0/>
<OpPushScope/>
<OpGetLocal0/>
<OpGetProperty name="3"/>
<OpIfFalse target="24"/>
<OpFindPropStrict name="7"/>
<OpPushString index="12"/>
<OpFindPropStrict name="8"/>
<OpPushByte value="0"/>
<OpCallProperty name="8" argc="1"/>
<OpGetLocal0/>
<OpGetProperty name="3"/>
<OpStrictEquals/>
<OpNot/>
<OpAdd/>
<OpCallPropVoid name="7" argc="1"/>
<OpJump target="17"/>
<OpGetLocal0/>
<OpFindPropStrict name="8"/>
<OpPushByte value="0"/>
<OpCallProperty name="8" argc="1"/>
<OpInitProperty name="3"/>
<OpFindPropStrict name="7"/>
<OpPushString index="14"/>
<OpCallPropVoid name="7" argc="1"/>
<OpReturnVoid/>
</code>
<exceptions/>
<traits/>
</MethodBody>
<MethodBody methodInfo="2" maxStack="4" maxRegs="1" scopeDepth="10" maxScope="11" exceptionCount="0">
<code>
<OpGetLocal0/>
<OpPushScope/>
<OpFindPropStrict name="7"/>
<OpPushString index="15"/>
<OpFindPropStrict name="8"/>
<OpPushByte value="0"/>
<OpCallProperty name="8" argc="1"/>
<OpGetLocal0/>
<OpGetProperty name="3"/>
<OpStrictEquals/>
<OpNot/>
<OpAdd/>
<OpCallPropVoid name="7" argc="1"/>
<OpReturnVoid/>
</code>
<exceptions/>
<traits/>
</MethodBody>
<MethodBody methodInfo="3" maxStack="4" maxRegs="1" scopeDepth="10" maxScope="11" exceptionCount="0">
<code>
<OpGetLocal0/>
<OpPushScope/>
<OpFindPropStrict name="7"/>
<OpPushString index="16"/>
<OpFindPropStrict name="8"/>
<OpPushByte value="0"/>
<OpCallProperty name="8" argc="1"/>
<OpGetLocal0/>
<OpGetProperty name="3"/>
<OpStrictEquals/>
<OpNot/>
<OpAdd/>
<OpCallPropVoid name="7" argc="1"/>
<OpGetLocal0/>
<OpFindPropStrict name="8"/>
<OpPushByte value="0"/>
<OpCallProperty name="8" argc="1"/>
<OpInitProperty name="3"/>
<OpFindPropStrict name="9"/>
<OpPushByte value="1"/>
<OpCallPropVoid name="9" argc="1"/>
<OpReturnVoid/>
</code>
<exceptions/>
<traits/>
</MethodBody>
<MethodBody methodInfo="4" maxStack="7" maxRegs="1" scopeDepth="10" maxScope="11" exceptionCount="0">
<code>
<OpGetLocal0/>
<OpPushScope/>
<OpGetLocal0/>
<OpConstructSuper argc="0"/>
<OpFindPropStrict name="10"/>
<OpPushByte value="0"/>
<OpGetLocal0/>
<OpGetProperty name="4"/>
<OpPushByte value="1"/>
<OpGetLocal0/>
<OpGetProperty name="5"/>
<OpPushByte value="2"/>
<OpGetLocal0/>
<OpGetProperty name="6"/>
<OpCallPropVoid name="10" argc="6"/>
<OpReturnVoid/>
</code>
<exceptions/>
<traits/>
</MethodBody>
<MethodBody methodInfo="5" maxStack="2" maxRegs="1" scopeDepth="1" maxScope="9" exceptionCount="0">
<code>
<OpGetLocal0/>
<OpPushScope/>
<OpGetScopeObject scopeIndex="0"/>
<OpGetLex name="11"/>
<OpPushScope/>
<OpGetLex name="12"/>
<OpPushScope/>
<OpGetLex name="13"/>
<OpPushScope/>
<OpGetLex name="14"/>
<OpPushScope/>
<OpGetLex name="15"/>
<OpPushScope/>
<OpGetLex name="16"/>
<OpPushScope/>
<OpGetLex name="2"/>
<OpPushScope/>
<OpGetLex name="2"/>
<OpNewClass classIndex="0"/>
<OpPopScope/>
<OpPopScope/>
<OpPopScope/>
<OpPopScope/>
<OpPopScope/>
<OpPopScope/>
<OpPopScope/>
<OpInitProperty name="1"/>
<OpReturnVoid/>
</code>
<exceptions/>
<traits/>
</MethodBody>
</methodBodies>
</Action3>
</actions>
</DoABCDefine>
<SymbolClass>
<symbols>
<Symbol objectID="0" name="ratio_fla.MainTimeline"/>
</symbols>
</SymbolClass>
<ShowFrame/>
<PlaceObject2 replace="1" depth="1" morph="2"/>
<ShowFrame/>
<RemoveObject2 depth="1"/>
<PlaceObject2 replace="0" depth="1" objectID="2" morph="0">
<transform>
<Transform transX="7000" transY="3000"/>
</transform>
</PlaceObject2>
<ShowFrame/>
<End/>
</tags>
</Header>
</swf>

Просмотреть файл

@ -130,6 +130,7 @@
"swfs/timeline/nav/name.swf",
"swfs/timeline/nav/ratio.swf",
"swfs/timeline/nav/ratio2.swf",
"swfs/timeline/nav/ratio3.swf",
"swfs/timeline/nav/shape.swf"
],
"type": "stas"