I'm having trouble finding examples of how to get html in NativeWindows to 
scale as I want. The following makes a portion of the HTML the size of the 
window that spawned it visible. I need to launch a resizable window and have 
HTML completely fill it at an arbitrary size. Help? Thanks!

var options:NativeWindowInitOptions = new NativeWindowInitOptions();
options.maximizable = true;
options.resizable = true;

var twitter:NativeWindow = new NativeWindow(options);
twitter.stage.scaleMode = StageScaleMode.NO_SCALE;
twitter.stage.align = StageAlign.TOP_LEFT;
twitter.activate();

var html:HTMLLoader = new HTMLLoader();
var urlReq:URLRequest = new URLRequest("twitter.html");
html.load(urlReq);

twitter.stage.addChild(html);
_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to