FlexJS Case Study
Justin Mclean Class Software Email: justin@classsoftware.com Twitter: @justinmclean
FlexJS Case Study Justin Mclean Class Software Email: - - PowerPoint PPT Presentation
FlexJS Case Study Justin Mclean Class Software Email: justin@classsoftware.com Twitter: @justinmclean Testing FlexJS Wasnt this supposed to be a talk about testing? Things are a bit broken with FlexUnit and FlexJS Probably
Justin Mclean Class Software Email: justin@classsoftware.com Twitter: @justinmclean
member and a mentor for several incubating projects
inclusion.
and infrastructure.
practices.
MXML 65 1534 496 7163 ActionScript 70 595 435 6125 Javascript 49 708 147 2643 XML 7 0 0 1892 Maven 1 7 0 135 HTML 3 0 0 42 ColdFusion 1 0 0 16
components)
perfect when dealing with alpha
<js:View width="100" height="100"> <js:style> <js:SimpleCSSStyles backgroundColor="red" /> </js:style> <js:Group x="20" y="20" width="60" height="60"> <js:style> <js:SimpleCSSStyles backgroundColor="white" /> </js:style> </js:Group> </js:View>
<js:View width="100" height="100"> <js:style> <js:SimpleCSSStyles backgroundColor="red" padding="20" /> </js:style> </js:View>
work
conditions
work around this
public class Catamaran extends BeadViewBase { /** * <inject_html> * <link rel="stylesheet" type="text/css" href="https:// fonts.googleapis.com/css?family=Catamaran:400,500,600,700"> * </inject_html> */ public function Catamaran() { super(); } } }
<js:Label id=“footer" style=“line-height:38;fontWeight:600;”/>
implemented not just AS ones
listed by http://caniuse.com
them
<js:View percentWidth="100" percentHeight="100"> <js:Group> <js:Label text="Click Me" click="clickMe()" /> </js:Group> </js:View>
perfect. <js:Group width="100" height="100"> <js:style> <js:SimpleCSSStyles backgroundColor="rgba(255,0,0,0.1)" / > </js:style> </js:Group>
groups
applicationComplete
style=“overflow-x:auto;overflow-y:hidden;"
<js:BrowserResizeHandler />
addEventListener("sizeChanged", sizeChanged);
this.element['style'].overflowX = 'hidden'; this.element['style'].overflowY = 'hidden';
Access-Control-Allow-Origin Access-Control-Allow-Credentials
little less than ideal
browser via command line
points and debug variable names Could use source maps
to previous build
Ask now, see me after the session, follow me on twitter @justinmclean
Slides can be found at conference site.