Fixed: #2486 AS1/2 Switch after function, problem with labels

This commit is contained in:
Jindra Petřík
2025-07-13 20:08:37 +02:00
parent 7267a51a7b
commit dd655714d2
7 changed files with 79 additions and 16 deletions

Binary file not shown.

View File

@@ -31,7 +31,7 @@
<Include href="Tween 5.xml" itemIcon="1" loadImmediate="false" itemID="60429674-00000289" lastModified="1614976628"/>
</symbols>
<timelines>
<DOMTimeline name="Scene 1" currentFrame="52">
<DOMTimeline name="Scene 1" currentFrame="93">
<layers>
<DOMLayer name="Layer 16" color="#FF4F4F">
<frames>
@@ -379,7 +379,7 @@
</DOMFrame>
</frames>
</DOMLayer>
<DOMLayer name="Layer 9" color="#4FFF4F" current="true" isSelected="true">
<DOMLayer name="Layer 9" color="#4FFF4F">
<frames>
<DOMFrame index="0" duration="41" keyMode="9728">
<elements>
@@ -587,7 +587,7 @@
</DOMFrame>
<DOMFrame index="52" keyMode="9728">
<elements>
<DOMDynamicText selected="true" width="187" height="46.75" isSelectable="false" variableName="myTextVariable">
<DOMDynamicText width="187" height="46.75" isSelectable="false" variableName="myTextVariable">
<matrix>
<Matrix tx="169.95" ty="80.25"/>
</matrix>
@@ -761,9 +761,9 @@
</fills>
<edges>
<Edge fillStyle0="1" fillStyle1="2" edges="
!3050 7457[3050 7441 3159 7239!3159 7239[3270 7033 3327 6947!3327 6947[3353 6908 3412 6794!3412 6794[3470 6682 3500 6639!3500 6639[3602 6491 3649 6692!3649 6692|3713 6670!3713 6670[3760 6655 3782 6655!3782 6655[3942 6655 3985 6781!3985
6781[4007 6844 3996 6914!3996 6914[3996 6948 3999 6995!3999 6995[4000 7031 3993 7054!3993 7054[3976 7106 3860 7224!3860 7224[3847 7237 3741 7292!3741 7292[3638 7346 3616 7372!3616 7372[3594 7396 3511 7442!3511 7442[3435 7483 3427 7483
!3427 7483[3409 7483 3407 7468!3407 7468[3405 7453 3386 7453!3386 7453[3361 7468 3330 7483!3330 7483[3270 7512 3235 7512!3235 7512[3220 7512 3156 7501!3156 7501[3091 7490 3054 7490!3054 7490[3050 7494 3050 7457"/>
!3159 7239[3270 7033 3327 6947!3327 6947[3353 6908 3412 6794!3412 6794[3470 6682 3500 6639!3500 6639[3602 6491 3649 6692!3649 6692|3713 6670!3713 6670[3760 6655 3782 6655!3782 6655[3942 6655 3985 6781!3985 6781[4007 6844 3996 6914!3996
6914[3996 6948 3999 6995!3999 6995[4000 7031 3993 7054!3993 7054[3976 7106 3860 7224!3860 7224[3847 7237 3741 7292!3741 7292[3638 7346 3616 7372!3616 7372[3594 7396 3511 7442!3511 7442[3435 7483 3427 7483!3427 7483[3409 7483 3407 7468
!3407 7468[3405 7453 3386 7453!3386 7453[3361 7468 3330 7483!3330 7483[3270 7512 3235 7512!3235 7512[3220 7512 3156 7501!3156 7501[3091 7490 3054 7490!3054 7490[3050 7494 3050 7457!3050 7457[3050 7441 3159 7239"/>
<Edge fillStyle1="1" edges="
!2675 7305[2675 6953 2924 6704!2924 6704[3174 6454 3525 6454!3525 6454[3622 6454 3711 6474!3711 6474[3733 6454 3765 6434!3765 6434[3806 6409 3930 6340!3930 6340[4062 6261 4196 6152!4196 6152[4256 6104 4311 6071!4311 6071[4428 5999 4520
6000!4520 6000[4595 5999 4654 6049!4654 6049[4666 6059 4677 6071!4677 6071[4717 6116 4741 6186!4741 6186[4765 6256 4765 6315!4765 6315[4765 6361 4719 6443!4719 6443[4667 6534 4584 6614!4584 6614[4420 6774 4222 6815!4222 6815[4376 7028
@@ -1009,7 +1009,7 @@
</DOMFrame>
</frames>
</DOMLayer>
<DOMLayer name="Layer 1" color="#4FFF4F">
<DOMLayer name="Layer 1" color="#4FFF4F" current="true" isSelected="true">
<frames>
<DOMFrame index="0" duration="22" keyMode="9728">
<elements/>
@@ -3452,6 +3452,26 @@ trace("end");]]></script>
</Actionscript>
<elements/>
</DOMFrame>
<DOMFrame index="93" keyMode="9728">
<Actionscript>
<script><![CDATA[trace("functionSwitchTest");
function reset()
{
}
stop();
switch(test)
{
case 1:
trace("A");
break;
case 2:
case 3:
trace("B");
}
]]></script>
</Actionscript>
<elements/>
</DOMFrame>
</frames>
</DOMLayer>
</layers>
@@ -3459,6 +3479,9 @@ trace("end");]]></script>
</timelines>
<PrinterSettings/>
<publishHistory>
<PublishItem publishSize="109188" publishTime="1752429800"/>
<PublishItem publishSize="109184" publishTime="1752429338"/>
<PublishItem publishSize="109169" publishTime="1752429277"/>
<PublishItem publishSize="108954" publishTime="1729981302"/>
<PublishItem publishSize="108785" publishTime="1729981275"/>
<PublishItem publishSize="108954" publishTime="1729979068"/>
@@ -3476,8 +3499,5 @@ trace("end");]]></script>
<PublishItem publishSize="1157" publishTime="1710661951"/>
<PublishItem publishSize="1156" publishTime="1710661951"/>
<PublishItem publishSize="1156" publishTime="1710661950"/>
<PublishItem publishSize="108292" publishTime="1702243778"/>
<PublishItem publishSize="108294" publishTime="1702243745"/>
<PublishItem publishSize="108294" publishTime="1702243721"/>
</publishHistory>
</DOMDocument>

View File

@@ -5,8 +5,8 @@
xmlns:xmp="http://ns.adobe.com/xap/1.0/">
<xmp:CreatorTool>Adobe Flash CS4 Professional</xmp:CreatorTool>
<xmp:CreateDate>2010-08-03T10:48:58+02:00</xmp:CreateDate>
<xmp:MetadataDate>2025-07-12T09:55:06-07:00</xmp:MetadataDate>
<xmp:ModifyDate>2025-07-12T09:55:06-07:00</xmp:ModifyDate>
<xmp:MetadataDate>2025-07-13T10:54:33-07:00</xmp:MetadataDate>
<xmp:ModifyDate>2025-07-13T10:54:33-07:00</xmp:ModifyDate>
</rdf:Description>
<rdf:Description rdf:about=""
xmlns:dc="http://purl.org/dc/elements/1.1/">
@@ -22,7 +22,7 @@
<stRef:originalDocumentID>xmp.did:8DD71700DC9EDF1194ADAC9B23608190</stRef:originalDocumentID>
</xmpMM:DerivedFrom>
<xmpMM:DocumentID>xmp.did:F0EB4FF7CAC3ED11AC9DC078F41E1AA7</xmpMM:DocumentID>
<xmpMM:InstanceID>xmp.iid:4A7A9C9D365FF011AB05F1E1201C406F</xmpMM:InstanceID>
<xmpMM:InstanceID>xmp.iid:587E6B88F65FF0119C96D9FB8C6458ED</xmpMM:InstanceID>
<xmpMM:OriginalDocumentID>xmp.did:8DD71700DC9EDF1194ADAC9B23608190</xmpMM:OriginalDocumentID>
<xmpMM:History>
<rdf:Seq>
@@ -488,6 +488,12 @@
<stEvt:when>2010-08-03T10:48:58+02:00</stEvt:when>
<stEvt:softwareAgent>Adobe Flash Professional CS6 - build 481</stEvt:softwareAgent>
</rdf:li>
<rdf:li rdf:parseType="Resource">
<stEvt:action>created</stEvt:action>
<stEvt:instanceID>xmp.iid:587E6B88F65FF0119C96D9FB8C6458ED</stEvt:instanceID>
<stEvt:when>2010-08-03T10:48:58+02:00</stEvt:when>
<stEvt:softwareAgent>Adobe Flash Professional CS6 - build 481</stEvt:softwareAgent>
</rdf:li>
</rdf:Seq>
</xmpMM:History>
</rdf:Description>