# 33 Chance of 1 of three swf's being loaded? actionscripting required

**URL:** https://forum.kirupa.com/t/33-chance-of-1-of-three-swfs-being-loaded-actionscripting-required/166507
**Category:** Uncategorized
**Created:** [October 20, 2005, 3:18pm UTC](https://forum.kirupa.com/t/33-chance-of-1-of-three-swfs-being-loaded-actionscripting-required/166507 "2005-10-20T15:18:12Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![trevorsaint](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/trevorsaint/32/268_2.png) [@trevorsaint](https://forum.kirupa.com/u/trevorsaint)
#### Post date: [October 20, 2005, 3:18pm UTC](https://forum.kirupa.com/t/33-chance-of-1-of-three-swfs-being-loaded-actionscripting-required/166507/1 "2005-10-20T15:18:12Z")

</div>

Hi all, does anyone know how I could incorporate some actionscript to give the user a 33% chance of loading a particular swf file on press of a space bar. I will require three sets of three movie clips on the stage, in which when the user hits the space bar, the user has a 33% chance for each that a particular swf file will load into each of the containers??

Anyone have an idea on how to achieve this???

This does relate to another post i posted but an idea I had on achieving the same desired result.

Thanks for any help, as the time I have on this job is stupid??

Please help

Trev
