# As3 preload swf, play MCs at set percentages

**URL:** <https://forum.kirupa.com/t/as3-preload-swf-play-mcs-at-set-percentages/284675>\
**Category:** flash\
**Created:** [March 22, 2009, 4:18am UTC](https://forum.kirupa.com/t/as3-preload-swf-play-mcs-at-set-percentages/284675 "2009-03-22T04:18:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shopsmarts](https://avatars.discourse-cdn.com/v4/letter/s/8e8cbc/32.png) [@shopsmarts](https://forum.kirupa.com/u/shopsmarts)\
**Post date:** [March 22, 2009, 4:18am UTC](https://forum.kirupa.com/t/as3-preload-swf-play-mcs-at-set-percentages/284675/1 "2009-03-22T04:18:23Z")

</div>

Hello I’m a fan of AS3 not a geinus and this ones given me a brain explosion…

I want to preload a swf and insted of a bar I would like to play 5 mc at intervals trigered by the persentage of the total loaded

I want to set a new loader event of a URL = my\_movie.swf  
and a progress.complete event

var percent of total loaded  
Then - if (percent==20%);{gotoAndPlay (20%movie clip)  
then -if (percent==80%);{gotoAndPlay (60%movie clip)

etc. etc. etc.

I’m unsure how to lay out the mc and where to set up the functions in the time line to make them work…as I said my head can’t get around the achitecture and any hints would be awsome.
