LoadMovie and Blur Filter Question
I created a movie with the blur filter applied via Actionscript which works great. If I try and load that movie into another movie via loadMovie, the filter is lost. Can a parent movie load a child movie and apply a filter to it?
My test case is pretty simply, the child movie contains a text movie clip with no actions or filters. My parent movie loads the child movie and applies the blur filter to the child movie (and fails). If I use the Actionscript to apply the blur filter from the parent movie in the child movie by itself it works fine.
This is the simplified version of the code I use to apply the filter which works when I use it directly on the child movie:
Code:
var myBlurFilter = new BlurFilter(8, 8, 3);
var filterArray:Array = new Array();
filterArray.push(myBlurFilter);
mc1.filters = filterArray;
Is there an issue with using loadMovie to do this or is this related to the targeting of the correct movieclip instance name?