Jump to content

Pointer Will Not Show On Flash Banner


justinbriggs1
 Share

Recommended Posts

Hey everyone, I am having a problem getting the pointer to turn into a cursor when I mouseover a flash banner inside an anchor. Here is the code I am using:<div style="margin:0 auto 0 auto;width:972px;height:65px;"> <a href="http://www.summerforkids.com/pages.php?pageid=9"> <object style="visibility: visible;cursor:pointer;" id="effect266490" data="http://www.effectgenerator.com/1.0.7/EffectMovie.swf" type="application/x-shockwave-flash" width="972" height="65"><param value="opaque" name="wmode"><param value="#ffffcc" name="bgcolor"><param value="always" name="AllowScriptAccess"><param value="id=266490&hostname=www.summerforkids.com" name="flashvars"></object> </a></div>It just gives me the regular cursor when I mouseover. Any idea why? Thanks,JW

Link to comment
Share on other sites

The Flash object is a plug-in. When the mouse goes over it, it's as if the mouse was leaving the browser and entering another application. The browser has no control over what happend inside Flash.

Link to comment
Share on other sites

The Flash object is a plug-in. When the mouse goes over it, it's as if the mouse was leaving the browser and entering another application. The browser has no control over what happend inside Flash.
Thanks. Do you know if there is any way to overlay a div on top of it, or is that a topic for another forum?
Link to comment
Share on other sites

Thanks. Do you know if there is any way to overlay a div on top of it, or is that a topic for another forum?
Usually you can't place anything ontop of embedded content.I'm not sure about the following solution since I didn't actually test it, but possibly adding this to the object will allow things to go in front of it:<param name="wmode" value="transparent">The problem with that is that the flash object will not detect any mouseover or clicks because the <div> element is in front of it.You're probably better off giving instructions to the mouse from the Flash application itself.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...