# Waving flag with external text

**URL:** <https://forum.kirupa.com/t/waving-flag-with-external-text/310036>\
**Category:** Uncategorized\
**Created:** [May 31, 2010, 5:37am UTC](https://forum.kirupa.com/t/waving-flag-with-external-text/310036 "2010-05-31T05:37:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![davisoft](https://avatars.discourse-cdn.com/v4/letter/d/eada6e/32.png) [@davisoft](https://forum.kirupa.com/u/davisoft)\
**Post date:** [May 31, 2010, 5:37am UTC](https://forum.kirupa.com/t/waving-flag-with-external-text/310036/1 "2010-05-31T05:37:49Z")

</div>

First of all I’d like to mention that i’m a totally newbye with flash and actionscript

I’d like to load some external text inside a movie clip that contains a bitmap from library.

It is a waving flag created via AS2 with “Waving\*\*\*EffectAS2” from [flash-filter.net](http://flash-filter.net)

the code is:

```auto
 
// attach filter on stage
var myFilter:MovieClip = this.attachMovie("WavingFlagEffectAS2", "WavingFlagEffectAS2", 1);
 
// init the filter with parameter
myFilter.init(_root.img_mc, 15, 90, "none", 3, 120, 120, false);
 
// set a listener to get an event when the transition in done 
var eventListener = new Object();
eventListener.onComplete = function(){
 trace("transition done");
}

rainFilter.addEventListener("onComplete",eventListener);

```

img\_mc is the movie clip that contains the .png file and i want the text parsed from an external file (xml, php etc.) to have the same waving flag effect.

Thanks in advance
