This is the second post in an occasional series designed to bridge the gap between ActionScript 3.0 and emerging front-end technologies. Flash, like JavaScript, more-or-less adheres to a same-origin policy by default. Under a same-origin policy, requests for data must come from the same scheme, hostname, and port. If http://foo.example tries to request data from [...]
[10 Oct 2011]
To date, Firefox does not yet support the loop attribute of the <video> element. This snippet is a simple work-around. Once the video’s ended event is fired, it calls the play method. For more, consult the media events section of the HTML5 specification.
[4 Oct 2011]
I came across an issue recently while trying to transition from left: 30px to left: 50%. The transition appeared to work, but it wasn’t smooth and transition-like. It was jumpy. Worse yet, another item I applied a transition to in the same document worked perfectly. It’s starting left value? 0px. Confusing, right? Not really. Browsers [...]
[28 Sep 2011]
IP-based blocking is sometimes necessary when abuses are coming from a particular location. However, for users of proxy servers — such as Opera Turbo — blocking one IP also blocks all people using that proxy. There is a workaround, but first, some background. What is Opera Turbo? Opera Turbo is a feature of Opera Mobile [...]
[11 Aug 2011]
For the June meeting of the HTML5 & CSS3 LA User Group, I spoke about XMLHttpRequest, Level 2 and Cross-Origin Resource Sharing headers. It’s always tough to present code. That goes double when you are sleep deprived, yet caffeinated and tongue-tied. In any case, the slides — which is really just one really long, really [...]
[30 Jun 2011]
So while I was on vacation for Wedding Week, Google done went and made an announcement about new Chrome developer tools. It includes a fancy new remote debugging feature. I will explain to you how to get to it in a bit, since the directions are slightly different for Mac OS X users. Before I [...]
[18 May 2011]
Shout out to Rick Ross for his pronunciation because “bawse” > “boss.” What Mazzola’s CSS3 buttons look like in Opera 11.10. In January, Chad Mazzola posted a Thoughtbot article titled Make CSS3 buttons like a boss (via nico604). It is a great read for designers, but it does have one glaring omission: no Opera support.* [...]
[17 May 2011]
Last week’s big news in browser land: the release of an Opera development channel version: Opera Next. In April, Firefox announced its rapid release channel browser Aurora. And last week, Chrome/Chromium finally released Canary for Mac (Canary for Windows was released in July, 2010). What does this mean? In all three cases, it means we [...]
[9 May 2011]
Debugging is part of my day job at Opera. Today, I stumbled across an issue related to white spaces and values for the HTML type attribute that affects Opera. Take a look at the following code: var d = ‘test.js’; var s = document.createElement(‘script’); s.setAttribute(“type”, ” text/javascript”); // note the leading space s.src = d; [...]
[12 Apr 2011]
Examples of CSS gradients are cropping up in the wild, and with good reason. CSS gradients: don’t require the additional HTTP request of an image file. are easier to modify than image files. “weigh less” than most image files. That’s the ideal, at least. In their current state, gradients are actually a hot mess. The [...]
[6 Apr 2011]