Web Design
Internet Explorer 6 Doesn’t Focus on ActiveX Controls
Tuesday, May 5th, 2009 | Technology, Web Design | 1 Comment
So I have a defect regarding an undesirable effect in IE6 where the initial focus on a webpage is not on our Flex/Flash application, but rather the parent HTML page. Said differently, when you click on our “log in” link, it loads an HTML page with a layout that includes an HTML header, a Flash object and then a HTML footer, with the focus on the HTML header. So when you type, or hit the tab key (to move from the username field to the password field) the browser scrolls south rather then changing focus.
In IE7 and FF3 this issue doesn’t exist, because they handle ActiveX objects differently. Being an experienced IE user I instantly recalled experiencing this in older versions of IE. I remembered traveling to certain pages and having to “click” or “activate” the Flash/WMP object before I could interact with it. I surfed the internets for a while bouncing from forum to forum and found little covering this topic. Then I searched Microsoft’s support site and came across this gem:
Internet Explorer 6 software update and its effect on ActiveX controls:
http://support.microsoft.com/kb/912945
This page explained exactly what was happening:
Microsoft has released a software update to Microsoft Internet Explorer 6 [...]. This update changes how Internet Explorer handles some Web pages that use ActiveX controls and Java add-ins. Examples of ActiveX controls include the following:
[...]
Macromedia Flash Player[...]After you install this update, you cannot interact with ActiveX controls from certain Web pages until these controls are enabled. To enable an ActiveX control, manually click the control.
Great! Explination! Gratification!
A little more digging and I came across a solid resolution to this problem. Essentially the fix requires that you use JavaScript to activate the object upon the HTML rendering phase. This page lists multiple different solutions. Basically they all utilize JavaScript such as:
<!– HTML File –>
<html>
<body leftmargin=0 topmargin=0 scroll=no>
<script src=”docwrite.js”></script>
</body>
</html>
<!– docwrite.js File –>
document.write(‘<object classid=”clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6″>’);
document.write(‘<param name=”URL” value=”example.wmv”>’);
document.write(‘<param name=”autoStart” value=”-1″></object>’);
This enables us to specify focus on our desired input field inside our Flex/Flash application. Woohoo!
MapQuest AS3/Flex Club Finder
Tuesday, May 5th, 2009 | Technology, Tutorials, Web Design, Work | No Comments
This past release Erich C. and I have been working on a new AS3/Flex Club Finder. We currently have 2 different club finders on our website seen here:
This new project is meant to allow our members to set their favorite clubs in their profile. This would allow them to quickly access the club’s resources, such as group X class schedules, phone numbers, amenities, ect. We were given one release cycle to duplicate the basic functionality our previous club finders delivered. What a challenge! This is what we achieved:
This was a very beneficial project for me because I was to help build it from scratch. We overcame some very technically confusing challenges (such as loading an unsecured swf application inside another secure swf application). I got a lot of exposure to Flex’s event driven architecture and enjoyed learning a ton about laying out components with Flex.
I’ll make another post about the specific challenges and how we resolved them.
Cloud Made – Open Source Mapping API
Saturday, April 18th, 2009 | Technology, Web Design | No Comments
If you’re looking for an alternative to MapQuest or Google Maps then you should check out the open source mapping API Cloud Made
Erik's Tweet:
- Color Dots - Free just got released to the iOS App Store! #FreeInfantApp #BabyApp #Free http://t.co/JeBQ6mBH read more...
Categories
- Apps (5)
- Family (6)
- Games (1)
- Garden Journal App (1)
- General (55)
- Infant Apps (2)
- Media (3)
- Random (10)
- Technology (22)
- Web Design (10)
- Tutorials (6)
- Work (4)


