Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Flash focus in CFM page

Status
Not open for further replies.

lucidtech

IS-IT--Management
Jan 17, 2005
267
US
I have built a few flash remoting programs that load in a CFM page. They work perfectly, aside from one small problem...
Sometimes they seem to have focus already when the page loads, and the hover effects work automatically. However, sometimes I'm finding I have to click the Flash program first in order for the hover effects to work.

The hover effects are just simple "on (rollover)" functions. Anyone have any ideas? I'm sure it can be done, I've seen many flash based nav bars that already have focus when the page loads.

If you need a link to an example page, I can provide one.
 
I was really hoping something like this would work.. anyone have any ideas on what I should change? (referring to the onmouseover in the object tag)

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase=" width="350" height="270" id="temp" align="middle" onmouseover="document.this.focus()">
<param name="allowScriptAccess" value="sameDomain" /><param name="wmode" value="transparent">
<param name="movie" value="temp.swf?flash_id=<cfoutput>#id#</cfoutput>" /><param name="quality" value="high" /><param name="bgcolor" value="#333333" /><embed src="temp.swf?flash_id=<cfoutput>#id#</cfoutput>" wmode="transparent" quality="high" bgcolor="#333333" width="350" height="270" name="temp" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage=" />
</object>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top