[AS2] Newb Help!: Looking for a solution for a _level blur action

Hi all,

Great site and forum. Thanks for taking the time to perhaps solve my problem. I’m new to AS 2.0 and am currently at a roadblock. I hope someone can at least point me in the right direction.

Problem:

I am trying to toggle a _level blur command. I have it working, but it breaks because the _level dynamically loads a new movie(swf). So perhaps I need a listener or loop to check to see if the _level has reloaded so it can reapply the blur command? Not sure how I would approach this and I was hoping someone can help out this newb.

Here is part of my code//

on (press) {
import.flash.filters.BlurFilter;
var blurred:BlurFilter = new BlurFilter (250,250,2);
_level1.filters = [blurred];
_level2.filters = [blurred];

}

//.

Much appreciated.

P

I just want to make a toggle button that blurs a level on and off. How would I do that?

  • P