I added simple IE4 filters support to the old 19991024 api, I tried to do 
it again with the 2.5.7
But it doesn't seems to work.

Here is what I did :

-I added a line in the createSpecific in the "is.ie" case
        this.filters=this.elm.filters;
-I added a function to use the filters
        DynLayer.prototype.playFilter=function(filterName, show)
        {
                if (this.filters[filterName].status == 0)
                {
                        this.filters[filterName].Apply();
                        this.setVisible(show);
                        this.filters[filterName].Play();
                }
        }

-to test
        myLayer = new DynLayer("layerWithFilter");
        DynApi.document.addChild(myLayer);
        myLayer.playFilter("blendTrans",false);

but nothing happens :(

In the old API I did the same

-In DynLayer()
        this.filters=this.frame.document.all[id].filters
-Same playFilter function as above
and it worked well

Does anyone has an idea to access the "filters" object of a layer within a 
DynLayer in 2.5.7 ?
I saw someone did an "opacity extention", where can I get this ?

Thanks for your help

Laurent


_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/[email protected]/

Reply via email to