# Log through Action Script

**URL:** <https://forum.kirupa.com/t/log-through-action-script/210812>\
**Category:** flash\
**Created:** [December 22, 2006, 10:58am UTC](https://forum.kirupa.com/t/log-through-action-script/210812 "2006-12-22T10:58:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gvnirmal](https://avatars.discourse-cdn.com/v4/letter/g/848f3c/32.png) [@gvnirmal](https://forum.kirupa.com/u/gvnirmal)\
**Post date:** [December 22, 2006, 10:58am UTC](https://forum.kirupa.com/t/log-through-action-script/210812/1 "2006-12-22T10:58:17Z")

</div>

Hi All,

I have 5 video files to be played. Let them be 1.swf,2.swf,3.swf,4.swf,5.swf.

I want to do two things here:

1. I want to play 1.swf, stop it after 20 secs and play 2.swf for 20 secs. At this point of time, I dont want 1.swf to be running at the back. Similarly for the rest of the video files.  
My code runs all the videos parallelly at the back, which I dont want to happen…!

2. After 1.swf is played, I want to log whether 1.swf is played successfully or not. So for this, I need to write the log into a text file or into a XML file. Can any one tell me how to do this…??

Thanks in Advance,  
Nirmal.
