Welcome to ASP.NET Guild

Be sure to come back often and tell others. If you have any tips, tricks, examples, please email them to me at chris.williams@techguilds.com and I will post them. Check out our ASP.NET QuickStart and C# QuckStart Libraries. Below is my latest articles.

Tuesday, July 25, 2006

Flash and ASP.NET 2.0 double click issue (Click to activate control)

This issue only started once I upgraded my website from 1.1 to 2.0
It appears that Microsoft released a security fix and this caused it.

The following article will show you a workaround for this. Basically
you are writing the object tag to the page using document.write in a
javascript file. Then calling the script file from the page.

Flash and 2.0 double click issue Link
https://tgaw.wordpress.com/2006/05/02/ms06-013-click-to-activate-and-use-this-control/

There is a free javascript library called swfobject.js that is available on google code that assists in fixing this and other issues with ie and flash.

http://code.google.com/p/swfobject/

If you have any additional tips, tricks etc that you would like me to post
to my blog, please email them to me at chrisw_88@hotmail.com

Monday, July 17, 2006

Flash in a form Fix - Using JavaScript

The fix can be found by following this link but you have to scroll down or do a find for
"briandunnington said on May 9, 2006 at 4:56 PM : "

http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00002200.html

Place the following script before the flash object reference and be sure to change ShockwaveFlash1 to your flash file name:

<script type="text/javascript">
function ExternalInterfaceManager()
{
this.registerMovie = function(movieName)
{
if(!window.fakeMovies) window.fakeMovies = new Array();
window.fakeMovies[window.fakeMovies.length] = movieName;
}

this.initialize = function()
{
if(document.all)
{
if(window.fakeMovies)
{
for(i=0;i {
window[window.fakeMovies[i]] = new Object();
}
window.onload = initializeExternalInterface;
}
}
}
}

function initializeExternalInterface()
{
for(i=0;i {
var movieName = window.fakeMovies[i];
var fakeMovie = window[movieName];
var realMovie = document.getElementById(movieName);

for(var method in fakeMovie)
{
realMovie[method] = function() {flashFunction = "<invoke name=\"" + method.toString() + "\" returntype=\"javascript\">" + __flash__argumentsToXML(arguments, 0) + "</invoke>";this.CallFunction(flashFunction);}
}

window[movieName] = realMovie;
}
}

</script>


<script type="">
var eim = new ExternalInterfaceManager();
eim.registerMovie("ShockwaveFlash1");
eim.registerMovie("ShockwaveFlash2");
eim.initialize();
</script>


If you have any tips you would like to share please email them to me at chrisw_88@hotmail.com

Friday, July 14, 2006

.NET Mail Links, FAQ

For people working with the .NET Mail classes, here are a couple links that may
help you diagnose issues.

.NET 2.0

.NET 1.1

If you have any additional links you would like me to add, please email them to me at
chrisw_88@hotmail.com

Tuesday, July 11, 2006

Dropdowns over flash or other controls in IE

Below is a link to some code that may be helpful to you.
Basically the issue is that select controls overlap other
controls and divs regardless of z-order. The solution is
to hide all of them on a page when this issue arises and then
reshow them after you are done with the div or flash.

Hide Select Menus JavaScript: http://www.shawnolson.net/a/1198/

If you have any tips you would like to share please email them to me at chrisw_88@hotmail.com

Tuesday, July 04, 2006

Flash Remoting Links

Below is a list of links related to Flash Remoting:

If you have any more flash remoting links or other tips, tricks, code samples, etc that will help other ASP.NET developers please email them to me at chrisw_88@hotmail.com


Are you a .NET Developer or Contractor interested in working with Sitecore or Dynamics CRM?

Apply for our Mentorship Program. If accepted, we will mentor you on Sitecore and provide you with project to help you build your skills and make some money at the same time. If you are interested send your resume with details on why you want to work with Sitecore or Dynamics CRM to: Chris Williams - chris.williams@techguilds.com or Dennis Augustine - dennis.augustine@techguilds.com We look forward to working with you to achieve your goals.