# Random Movement

**URL:** https://forum.kirupa.com/t/random-movement/166946
**Category:** Uncategorized
**Created:** [October 24, 2005, 9:00am UTC](https://forum.kirupa.com/t/random-movement/166946 "2005-10-24T09:00:50Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Dark\_Knights](https://avatars.discourse-cdn.com/v4/letter/d/e9bcb4/32.png) [@Dark\_Knights](https://forum.kirupa.com/u/Dark_Knights)
#### Post date: [October 24, 2005, 9:00am UTC](https://forum.kirupa.com/t/random-movement/166946/1 "2005-10-24T09:00:50Z")

</div>

Hi there. Was just wondering how easy it is to get randon movement for different layer in a flash file? I saw the tutorial with the traffic cones but need it to be more controlled movement (supose its not really that random then!) Is there any code that i can use to randonly move each layer.

Also is there some way that i can trigger a flash file to play by using Javascript?  
😃
