One css for phone, one css for tablet : how ?
Hi
Here is my problem : i'm able to detect if the my mobile application run on a tablet or on a phone by calculating the diagonal of the stage
But then, i need to load the good css : the smarphone.css or the tablet.css
I try by compiling css as swf, BUT the problem : iOS doesn't permit to load external swf and in this case, smartphone.swf or tablet.swf are external swf
So my needs is to switch the css at runtime, but not by loading external swf
I try with <fx:Style source.myStateTablet="" /> but it's not possible
Any ideas ?
Thanks
Sebastien
