ITmeze - IT world server like cyprus meze

Recent blog posts Tagged 'flash'

jQuery style Ui dialog over flash banners

Itmeze

I was doing some extra job for one of the clients, some changes on the web site full of blinking flash banners. Idea was to get users' attention even more by displaying some floating windows... lovely ... Obvious choice would be jQuery modal dialog... So I made it ... Unfortunately it has shown up that some of the flash banners remain 'over' the dialog, and some of them don't. After digging into that I figured out that the reason behind that is one of flash parameters: "wmode" (thanks God this is not another inner flash issue). From Adome Knowledge base:
wmode - Possible values: window, opaque, transparent. Sets the Window Mode property of the Flash movie for transparency, layering, and positioning in the browser.
  • window - movie plays in its own rectangular window on a web page.
  • opaque - the movie hides everything on the page behind it.
  • transparent - the background of the HTML page shows through all transparent portions of the movie. This option can slow animation performance.
So, to fix that You need to set this parameter to 'transparent'. Fortunately all flash objects were placed with swfobject scripts. Sample code to fix that issue may look like may look like (video from YouTube):
    $(document).ready(function () {
        // The video to load.
        var videoID = "xxx";
        // Lets Flash from another domain call JavaScript
        var params = { allowScriptAccess: "always", wmode: "transparent" };
        // The element id of the Flash embed
        var atts = { id: "ytPlayer" };
        // All of the magic handled by SWFObject 
        swfobject.embedSWF("http://www.youtube.com/v/" + videoID + "&enablejsapi=1&playerapiid=player1",
                       "videoDiv", "420", "258", "8", null, null, params, atts);
    });

Hope this saves some of Your precious time...

Tags: [dialog] [flash] [jquery] [web development]

Silverlight, Flash and HTML5 on job market

Itmeze

There have been a lot of buzz after unfortunate interview where by Bob Muglia admitted that: our (Microsoft) strategy with Silverlight has shifted. That somehow disappointed me, as I was planning to take a closer look at Silverlight. Well, according to guys from Redmond, future belongs to HTML5 - whatever that means. I have decided to check how does the market look like in industry of so called RIA - Rich Internet Applications. The most proper check is to compare demands for appropriate skills. I have used indeed.com to perform my research. job-market-absolute No surprise so far. Knowledge of Flash is the most demanded nowadays. Although it is clearly visible that it is not growing as fast as it used to. Please, note that measures were taken using absolute  scale. Much more interesting thing happen when we tke a look at this graph in relative scale. And that is something that makes You think. Comparing to Silverlight and Flash, demand for HTML5 skills has recently exploded. I know that it far too soon to talk about HTML5. I know that it will not substitute Flash nowadays, and will definably not replace Silverlight for  companies that run 'back office' tools on it. I know ... But still, one picture is worth a thousand words

Tags: [flash] [html5] [silverlight] [web development]

Copyright 2013 © ITmeze