Hey all,

What could cause a ConvolutionFilter to not show up online, when it works perfectly well locally? I'm publishing as Flash Player 8, ActionScript 2.0, my browser uses Shockwave Flash 9.0 r45, and the actionScript is including (I've tried "import flash.filters.*" as well):

import flash.filters.ConvolutionFilter;


(This is the code, although as I said I'd think there's no problem here since it works in Authoring:)

        private function onLoadInit( target_mc:MovieClip ):Void {
                // Set up sharpening filter
                var neg = -1;
                var pos =  2;
                var cor =  0;
                var mat:Array = [
                        cor,  neg, cor,
                        neg,  pos, neg,
                        cor,  neg, cor
                ];
                var convMat = new ConvolutionFilter(3,3,mat);
                target_mc.filters = [convMat];

                this.picimage._alpha = 0;
                this.setFrameEvent("fadeIn");         // this starts an alpha 
fade-in
        }


Any ideas?

Thanks,
--Dave

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to