Yeah, that's the problem. I can't find an interface as a guide to designing the class and even though I can extend from BitmapFilter there isn't any information to be had.
I believe that the classes have a specific structure and the DisplayObject calls certain functions in the same manner that methods like createChildren() or updateDisplayList() is called, but I can't find any info. So I was hoping that someone with more knowledge about the internals of those classes would step forward, should I even hope for a Flex engineer to see this? -Trey JesterXL wrote: > Ohhh, you want to actually have it be a filter vs. using another one. Sorry > about that; I reckon if your class doesn't extend at least a class in the > flash.filters.* package, it won't work. > > ----- Original Message ----- > From: "Trey Long" <[EMAIL PROTECTED]> > To: <flexcoders@yahoogroups.com> > Sent: Thursday, February 09, 2006 5:15 PM > Subject: Re: [flexcoders] Filters, Contributing > > > I read through that, from what I understand it didn't exactly cover what > I wanted to do. > > I was hoping to do something like the following: > > MyNewFilter would extend from the BitMapFilter class: > > var f:MyNewFilter = new MyNewFilter(); > var filtsCopy:Array = DisplayObject.filters; > filtsCopy.push(MyNewFilter); > DisplayObject.filters = filtsCopy; > > If that was covered in there, please correct me. It's possible that I > missed something. > > -Trey > > JesterXL wrote: >> Here is the 1.5 way; 2 shouldn't be that different: >> >> http://www.jessewarden.com/archives/2006/01/how_to_use_the.html >> >> >> ----- Original Message ----- >> From: "Trey Long" <[EMAIL PROTECTED]> >> To: <flexcoders@yahoogroups.com> >> Sent: Thursday, February 09, 2006 1:54 PM >> Subject: [flexcoders] Filters, Contributing >> >> >> I created my own bitmap filter from scratch. I was hoping that I could >> follow the MM framework on this one but there is no info in the API nor >> is there an interface that I can follow. >> >> If any Adobe / MM guys have any advice on this one please let me know. I >> would like to just use it in the same way that standard Flex filters are >> used. I also wouldn't mind contributing the filter if it pleases anyone. >> >> -Trey >> >> Standard way filters are used to me is the following: >> Copy filters array out of DisplayObject, push filter on array, set back >> to filters array of display object. >> >> >> -- >> Flexcoders Mailing List >> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt >> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com >> Yahoo! Groups Links >> >> >> >> >> >> >> >> >> -- >> Flexcoders Mailing List >> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt >> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com >> Yahoo! Groups Links >> >> >> >> >> >> > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com > Yahoo! Groups Links > > > > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com > Yahoo! Groups Links > > > > > > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/