Re: [RT] DPI dependent code was. Flex: New user interface design

2012-02-27 Thread Erik Lundgren
27 feb 2012 kl. 08.50 skrev Alex Harui: > Current Flash Player always reports 72dpi on desktop. I think that might > change in some future player. I've been wondering if there is a cheap way to > get it from the HTML wrapper. There are things in the w3c documents that sounds promising: The n

Re: [RT] DPI dependent code was. Flex: New user interface design

2012-02-26 Thread Martin Heidegger
Yeah, completely experimental code. It does following things: * It replaces the embed codes in the html without id and with the same url as the swf that is running to embed codes with a proper id * It allows to create "JavaScript" code that receives directly a reference to the embed cod

Re: [RT] DPI dependent code was. Flex: New user interface design

2012-02-26 Thread Omar Gonzalez
On Sun, Feb 26, 2012 at 2:18 PM, Martin Heidegger wrote: > I am all for it. I have implemented that for JavaScript before. My problem > with the javascript implementation is to make it "easy". In other words: > Without a "id" it is not possible to implement a generic ID. I have started > with a im

[RT] DPI dependent code was. Flex: New user interface design

2012-02-26 Thread Martin Heidegger
I am all for it. I have implemented that for JavaScript before. My problem with the javascript implementation is to make it "easy". In other words: Without a "id" it is not possible to implement a generic ID. I have started with a implementation of JavaScript Modules but haven't had time to fin