-
Bearded (M|G)od
Dynamic Filters
What are the conditions that need to be met for a MovieClip/Sprite to work with filters? I have some object that I am dynamically using the BlurFilter. Some object are blurring, and others are not.
Any ideas?
Thanks.
-
trace("AKA: Biro Barna");
I'm not aware of any conditions, until it's a movie clip or sprite, it should work...
| Windows MSN: birobarna [at] hotmail [dot] com | Skype: barna.biro | WebLog: http://blog.wisebisoft.com/ |
| Software Developer / Flash & Flex Developer | Student ( Computer Science ) | Interested in: Sharing Knowledge |
| Romanian Adobe Flash, Flex, AIR Forum: http://www.flashforum.ro/ | By perseverance the snail reached the ark. |
-
Bearded (M|G)od
Ok, well, if you don't mind. Take a look at http://koldcast.servehttp.com.
What I'm referring is to the main flash movie in the center. If you click the first element in the grid, Branded, things blur out, but the next grid doesn't have any blur.
Now, if you go back to the main grid and click on CenterStage, you'll notice that the grid blurs properly.
From that observation, I tried to determine that it had to be something wrong with the individual grid elements since it blurs when they don't exist, but doesn't when they do. But then, the main grid uses the exact same sprites. So I can't figure out what the hell is going on here.
Also note, it was working previously, and I cannot track down where it stopped working. The client noticed and gave me a heads up!
-
trace("AKA: Biro Barna");
Woah, I think I'm too tired, I'm clicking on everything I can but no blur, no in, no out blur. I think I need to get some rest, will be back a bit later.
| Windows MSN: birobarna [at] hotmail [dot] com | Skype: barna.biro | WebLog: http://blog.wisebisoft.com/ |
| Software Developer / Flash & Flex Developer | Student ( Computer Science ) | Interested in: Sharing Knowledge |
| Romanian Adobe Flash, Flex, AIR Forum: http://www.flashforum.ro/ | By perseverance the snail reached the ark. |
-
Bearded (M|G)od
Hahaha, I think that's my problem right now. I'll probably wake up and figure it out.
-
Bearded (M|G)od
Ok, nope. Sleep didn't fix it.
Any ideas?
-
I can't find any time that it doesn't blur.
-
Senior Member
What do you blur concretely? If you blur an object then all other objects below in the Displaylist of that object are also blurred.
- The right of the People to create Flash movies shall not be infringed. -
-
Bearded (M|G)od
Each of the grids are their own class which extends Sprite. And inside that class, I am applying the blur to the whole object. The entire grid should blur while it's loading new data.
-
Senior Member
It is the instance, which will blur.
- The right of the People to create Flash movies shall not be infringed. -
-
Bearded (M|G)od
Yes, I know. And it's not. But it used to, and it works if there are no elements loaded into the grid.
-
Senior Member
What I meant is you blur the instance and it should blur with all its objects inside.
It should work with elements. I don't understand what you are actually doing. You need to be more specific. You can try a blur script from here and see if that works for you. Check the Blur class.
http://flashscript.biz/flashas3/biz/index.html
- The right of the People to create Flash movies shall not be infringed. -
-
Bearded (M|G)od
I think you're missing the point I'm making.
Follow these steps:
Load up the site.
When the main grid shows up, click on the first element. Branded.
When it loads in, click the button that says BACK TO GUIDE.
Notice how the spinner shows up, but it never blurred.
Now click on CenterStage.
There are no elements in this grid.
Now click on the BACK TO GUIDE button.
Notice how it blurs out while it's loading the main grid.
The grids are using the exact same code and the exact same elements. Something is causing the blur filter to not work.
Even if I just run a straight: this.filters = [new BlurFilter(8, 8)]; it doesn't apply.
-
I just followed your directions above. It blurred every time it was supposed to. maybe it's a flash player version thing? I have 9.0.115 on windows, firefox.
-
Bearded (M|G)od
That would be really odd. I'll have to check it out on a PC.
I'm using 9.0.115 on a Mac.
Can anyone else confirm?
-
trace("AKA: Biro Barna");
I was using 9.0.115 when I tested it FF on WIN XP SP2 and nothing blurred...
Not blurring...
| Windows MSN: birobarna [at] hotmail [dot] com | Skype: barna.biro | WebLog: http://blog.wisebisoft.com/ |
| Software Developer / Flash & Flex Developer | Student ( Computer Science ) | Interested in: Sharing Knowledge |
| Romanian Adobe Flash, Flex, AIR Forum: http://www.flashforum.ro/ | By perseverance the snail reached the ark. |
-
Senior Member
Originally Posted by MyFriendIsATaco
I think you're missing the point I'm making.
I am not missing a point. I don't know your movie, but I have mac. This is what I saw when i followed those steps:
When the main grid shows up, click on the first element. Branded.
it blurred.
When it loads in, click the button that says BACK TO GUIDE.
it does not blur.
Notice how the spinner shows up, but it never blurred.
Now click on CenterStage.
it does not blur
There are no elements in this grid.
Now click on the BACK TO GUIDE button.
it does not blur.
Notice how it blurs out while it's loading the main grid.
- The right of the People to create Flash movies shall not be infringed. -
-
Bearded (M|G)od
This is really odd, especially with inconsistent results. I've never had something like this happen before.
-
Bearded (M|G)od
Yeah, I just pulled it up on a PC, and everything works properly.
This is so weird.
-
Senior Member
Just found out that the player although 9 is a previous version. I downloaded the newest one and get this result.
When the main grid shows up, click on the first element. Branded.
it blurred.
When it loads in, click the button that says BACK TO GUIDE.
it does not blur.
Notice how the spinner shows up, but it never blurred.
Now click on CenterStage.
it blurs.
There are no elements in this grid.
Now click on the BACK TO GUIDE button.
it blurs.
Notice how it blurs out while it's loading the main grid.
You need to fix not only the original problem you are asking for but also the player version problem.
Still I have no idea how your movie works and what exactly you are doing. Members often forget that although they work all the time on their movie and are familiar with the movie, others are not.
- The right of the People to create Flash movies shall not be infringed. -
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|