# Controlling movie clip

**URL:** https://forum.kirupa.com/t/controlling-movie-clip/287552
**Category:** flash
**Created:** [May 3, 2009, 3:10pm UTC](https://forum.kirupa.com/t/controlling-movie-clip/287552 "2009-05-03T15:10:36Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Toots](https://avatars.discourse-cdn.com/v4/letter/t/47e85d/32.png) [@Toots](https://forum.kirupa.com/u/Toots)
#### Post date: [May 3, 2009, 3:10pm UTC](https://forum.kirupa.com/t/controlling-movie-clip/287552/1 "2009-05-03T15:10:36Z")

</div>

Hi all,

This is the first time i have ever posted on a forum, so here it goes. For my final year project i am creating a flash website. For one of the sections I have created a job centre page which reads RSS feed into flash using PHP scripts. I have followed a book to do this however the book merges the feeds together to display as one in a dynamic txt box in flash.

What I want to do is control the movie clip by an invisible button, so they read the feeds separate.

The MC starts with:

// Create LoadVars instance to retrieve data from rssfeed.php  
var getFeed:LoadVars = new LoadVars();  
getFeed.load(“[http://sniptips.com/phpflash/rss3.php?ck=](http://sniptips.com/phpflash/rss3.php?ck=)”+new Date().getTime());  
// display the results from the PHP script when loaded  
getFeed.onLoad = function(success) {

Is there any AS i could use at the start of the mc to tell it to play onlywhen button is pressed?

Many thanks in advance for anyone who can advise me 🙂

Toots
