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
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
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.
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
*
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;
.
anyone? :(
7 matches
Mail list logo