Wednesday, March 17, 2010

Menu Overlap when Using Flash methods

When rewriting your embedded swf code to connect to Flash methods from a scripting environment such as javascript often introduces a new bug especially when you have a menu situated on top of the embedded object. Most often than not, the menu would be hidden underneath the swf.

Normally, the workaround to that is by adding a param "wmode" and setting it to either "opaque" or "transparent" but I have found out that while I have rewritten the code so that I can use the Flash methods within my js file, the wmode doesn't work as planned.

After scouring the net, I have come across this post from Drupal's forums.


<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" id="urfront2" align="middle" height="180" width="550">
<param name="allowScriptAccess" value="sameDomain">
<param name="movie" value="urfront2.swf"><param name="menu" value="false"><param name="quality" value="high"><param name="wmode" value="transparent"><param name="bgcolor" value="#ffffff"><embed src="urfront2.swf" menu="false" quality="high" wmode="transparent" bgcolor="#ffffff" name="urfront2" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" align="middle" height="180" width="550"></embed>
</object>

Ajax Loader

Customize your pre-loaders using the generator found in this site.

SWFObject Library

For the documentation, click here.

For the API, read more here.

Flash Object and Embed Attributes

For more info, click here.

Flash Methods: Scripting with Flash

A useful reference for interacting with Flash from a scripting environment ie.Javascript

http://www.adobe.com/support/flash/publishexport/scriptingwithflash/index.html

Tuesday, July 28, 2009

Tips: Testing your site via different flavors of IE

Ever since becoming a developer, the browser that constantly tops my list of not-so-well-behaved always belonged to IE, especially IE6. And with new versions released every now and then, it's no wonder that a large chunk of development and QA time is spent on fixing those layout issues caused by quirky IE rendering.

A co-worker of mine stumbled upon this great tool that lets you view your site in various IE flavors starting with IE6 down to the current trend they call IE8.

I haven't had the opportunity yet to sample this tool, but if any of you already did, please leave a comment.

Wednesday, July 15, 2009

Tips: Can't right-click within FF3.5

If you have come across this problem where you can't right click anywhere within the browser window, try uninstalling the Yahoo! Toolbar. It worked like a charm for me.