# Change mouse trailer to follow motion tweened graphic

**URL:** <https://forum.kirupa.com/t/change-mouse-trailer-to-follow-motion-tweened-graphic/331593>\
**Category:** Uncategorized\
**Created:** [September 6, 2013, 1:04pm UTC](https://forum.kirupa.com/t/change-mouse-trailer-to-follow-motion-tweened-graphic/331593 "2013-09-06T13:04:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jackeline\_Sass](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@Jackeline\_Sass](https://forum.kirupa.com/u/Jackeline_Sass)\
**Post date:** [September 6, 2013, 1:04pm UTC](https://forum.kirupa.com/t/change-mouse-trailer-to-follow-motion-tweened-graphic/331593/1 "2013-09-06T13:04:51Z")

</div>

Hi everyone,  
I am quite new to the flash world, and have a query that is boggling my brain… There is a project I am busy with that requires the following:  
I have a mouse trailer fla file (of sparkling particles) that i would like to use in my project, but i would like to have it following a motion tweened graphic instead of the mouse. how would i go about amending the code of the mouse trailer to suit my project?  
My graphic is called “star symbol”. There are also other layers in the scene and also a masked layer effect.  
The code of the original mouse trailer:  
package  
{  
import com.freeactionscript.MouseTrailer;  
import flash.display.Sprite;  
import flash.text.TextField;

```
public class Main extends Sprite
{
	private var mouseTrailer:MouseTrailer;
	
	public function Main() 
	{
		mouseTrailer = new MouseTrailer();
		addChild(mouseTrailer);
		
		mouseTrailer.init();
	}
	
}

```

}  
Can anyone help? Thanks in advance!
