[flexcoders] Re: doPrint and ViewStack

2007-05-22 Thread bhaq1972
According to your example, something like this should work var myCanvas:Canvas = myViewStack.selectedItem as Canvas; var myTextArea:TextArea = myCanvas.getChildAt(0) as TextArea; have you figured out what the minimum height for your textareas should be? -Bod --- In flexcoders@yahoogroups.com

[flexcoders] Re: doPrint and ViewStack

2007-05-22 Thread tkacyndra
hey :) that almost worked, thanks! but, because i have multiple text areas, and they display in accordance witht he list. how would i be able to specify which one to print, instead of writing tTest2...? something along the lines of selectedItem... but as i understand, selectedItem points to the

[flexcoders] Re: doPrint and ViewStack

2007-05-22 Thread bhaq1972
this is just a variation to Tom's suggestion. but needs a little more work. try this var p:FlexPrintJob = new FlexPrintJob; if (p.start() != true) { return; } var text_area:TextArea = new TextArea(); text_area.text = tTest2.text; text_area.width = tTest2.width; // textHeight is too big.

Re: [flexcoders] Re: doPrint and ViewStack

2007-05-22 Thread Tom Chiverton
On Monday 21 May 2007, tkacyndra wrote: > hi :) > Thanks for the Reply, here is my code: > Please help. You could try creating a separate print layout - see the livedocs example. -- Tom Chiverton Helping to proactively syndicate innovative IPOs on: http://thefalken.livejournal.com *

[flexcoders] Re: doPrint and ViewStack

2007-05-21 Thread tkacyndra
hi :) Thanks for the Reply, here is my code: Please help. [code] http://www.adobe.com/2006/mxml"; backgroundGradientColors="[#dbdbdb, #808080]" layout="absolute" clipContent="false"> Accordion { headerStyleName: "myaccordionHeader"; } .myaccordionHeader { letterSpacing: 2;

[flexcoders] Re: doPrint and ViewStack

2007-05-21 Thread tkacyndra
.

[flexcoders] Re: doPrint and ViewStack

2007-05-18 Thread tkacyndra
anyone? :(