
| Key: |
LPP-715
|
| Type: |
Bug
|
| Status: |
Closed
|
| Resolution: |
Fixed
|
| Priority: |
--
|
| Assignee: |
Unassigned
|
| Reporter: |
Bret Simister
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
| Severity: |
Minor
|
| Runtime: |
N/A
|
| Release Note Text: |
Macintosh browsers catch "onlastframe" event during animations.
|
|
The code below does not produce an "onlastframe" event for the view whose resource is loaded at runtime ( id="pv" ).
<canvas>
<button text="load swf" onclick="pv.setSource('test_movie_stop.swf')" />
<view id="pv" x="50" y="50" play="true">
<method event="onload" args="v" >
Debug.write("onload v",v);
</method>
<method event="onlastframe" args="v" >
Debug.write("onlastframe",v);
</method>
</view>
<view id="pv2" x="50" y="200" resource="test_movie_stop.swf" play="true">
<method event="onload" args="v" >
Debug.write("onload",v);
</method>
<method event="onlastframe" args="v" >
Debug.write("onlastframe",v);
</method>
</view>
</canvas>
|
|
Description
|
The code below does not produce an "onlastframe" event for the view whose resource is loaded at runtime ( id="pv" ).
<canvas>
<button text="load swf" onclick="pv.setSource('test_movie_stop.swf')" />
<view id="pv" x="50" y="50" play="true">
<method event="onload" args="v" >
Debug.write("onload v",v);
</method>
<method event="onlastframe" args="v" >
Debug.write("onlastframe",v);
</method>
</view>
<view id="pv2" x="50" y="200" resource="test_movie_stop.swf" play="true">
<method event="onload" args="v" >
Debug.write("onload",v);
</method>
<method event="onlastframe" args="v" >
Debug.write("onlastframe",v);
</method>
</view>
</canvas> |
Show » |
|