In a SOLO app, I have a view that I'm trying to do a rollover effect where
the graphics are fetched via http, not from a resource. My client wants to
be able to change the graphics in the future, so I load the urls via an
xml file. Anyway, the problem is that the view flickers when updating the
graphic. I've tracked this down to an HTTP request to fetch the image. Is
there any way to cache the rollover images, while still loading them
dynamically? 



Code:



<image name="pic" datapath="[EMAIL PROTECTED]'services']"
    align="center" valign="middle"
clickable="true" visible="true"
clip="false"

    src="$path{'@image'}">

    <attribute name="normal"
value="$path{'@image'}" />

    <attribute name="active"
value="$path{'@activeimage'}" />

    <handler name="onmouseover" >

        this.setAttribute('src',
this.active);    

    </handler>

    <handler name="onmouseout" >

        this.setAttribute('src',
this.normal);    

    </handler>

</image>





-- 


Reply via email to