Re: DataGridColumn.headerRenderer / rotating text in header

2005-02-27 Thread viraf_bankwalla

Thanks - it appears to be working now. The code is as follows

var cname:String = a + ass.id;
var col:mx.controls.gridclasses.DataGridColumn = new 
mx.controls.gridclasses.DataGridColumn(cname);
col.columnName=cname;
col.headerText=cname;
col.headerRenderer=GradeHeaderRenderer;
col.cellRenderer=GradeCellRenderer;
display.addColumn(col);

I noticed that I could not specify the renderers as a string

- viraf


--- In flexcoders@yahoogroups.com, Manish Jethani 
[EMAIL PROTECTED] wrote:
 viraf_bankwalla wrote:
 
  For some reason, I do not see setValue being called. My cell 
  renderer is defined in MXML.
 
 How are you setting the headerRenderer? Can you post some code, 
please?
 
 Manish







RE: [flexcoders] inline vs embedded fonts

2005-02-27 Thread Matt Chotin








Only difference I can see in the header
font is that its bold. Otherwise it looks like its Verdana 10pt
(maybe its 9pt but I dont think so).



You can see the default styles by checking
in mx/skins/halo/Default.as which you can find in the FlexForFlash.zip which
came with your install.



Matt











From: viraf_bankwalla
[mailto:[EMAIL PROTECTED] 
Sent: Saturday, February 26,2005
5:25 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] inlinevs
embedded fonts






Hi,

In order to rotate text, I have discovered that I
need to use 
embeded fonts. I would like text in a
datagrid header to be rotated.

How do I discover the inline font being usedin
the data grid header.
I thought that the default font was vernandasize
10, however 
columns with embeded font look very different from
the inline font. 
How do I get them to match ?

Thanks.













Re: inline vs embedded fonts

2005-02-27 Thread viraf_bankwalla

Yes - it is - however the embeded font looks very different from the 
inline font. I am using verdana.ttf from windows/font directory. 

I have declared the font as: 

mx:Style
@font-face { fontFamily:headerFont; src:url
(assets/verdana.ttf); }
/mx:Style

and using it like:

mx:Label id=line1 fontFamily=headerFont fontSize=10/



--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:
 Only difference I can see in the header font is that it's bold. 
Otherwise
 it looks like it's Verdana 10pt (maybe it's 9pt but I don't think 
so).
 
 
 
 You can see the default styles by checking in 
mx/skins/halo/Default.as which
 you can find in the FlexForFlash.zip which came with your install.
 
 
 
 Matt
 
 
 
 _ 
 
 From: viraf_bankwalla [mailto:[EMAIL PROTECTED] 
 Sent: Saturday, February 26, 2005 5:25 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] inline vs embedded fonts
 
 
 
 
 Hi,
 
 In order to rotate text, I have discovered that I need to use 
 embeded fonts. I would like text in a datagrid header to be 
rotated.
 
 How do I discover the inline font being used in the data grid 
header.
 I thought that the default font was vernanda size 10, however 
 columns with embeded font look very different from the inline 
font. 
 How do I get them to match ?
 
 Thanks.
 
 
 
 
 
 
 
 
 Yahoo! Groups Sponsor
 
 
 
 ADVERTISEMENT
 
 
http://us.ard.yahoo.com/SIG=129qbk7rj/M=298184.6018725.7038619.30011
76/D=gr
 
oups/S=1705007207:HM/EXP=1109553930/A=2593423/R=0/SIG=11el9gslf/*http
:/www.n
 etflix.com/Default?mqso=60190075 click here
 
 
 
 http://us.adserver.yahoo.com/l?
M=298184.6018725.7038619.3001176/D=groups/S=
 :HM/A=2593423/rand=478941882 
 
 
 
 _ 
 
 Yahoo! Groups Links
 
 * To visit your group on the web, go to:
 http://groups.yahoo.com/group/flexcoders/
 http://groups.yahoo.com/group/flexcoders/ 
 
 * To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
subject=Unsubscribe 
 
 * Your use of Yahoo! Groups is subject to the Yahoo!
 http://docs.yahoo.com/info/terms/ Terms of Service.







disabling Image from drag'n'drop

2005-02-27 Thread Krzysztof Szlapinski
I've got an image with mouseDown event wich starts the drag'n'drop operation
After finishing the drag'n'drop the image stays in place and its copy goes 
into another container
I want to disable the original image from further dragging.

I don't know how to achievie this goal.
krzysiek




Re: Sample code for printing from a DataGrid:doesnot work?

2005-02-27 Thread greenfishinwater

In this situtaion, I require a header which gives the details of what
is in the grid, such as customer name and product details, so in flex
I use a canvas with a few labels, and a grid, then I use the print job
to print the canvas, and if needs be I loop around the rows in the
grid to print multiple pages. You could include a label for the footer
in the canvas. I am sure you could get page numbers in the footer,
that don't appear on the screen.

Andrew

--- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote:
 Hi All,
 
 Well so far my printing has made me go baldlol but seriously.
 
 I have got it to print a header on one page the datagrid contents on
another
 page, and my footer on the last page.
 
 Not fun at all. I for what the server costs you'd expect better
functionality
 than this. Little things like this make clients unhappy and in the
end MM
 looses because if this issue doesn't get taken care of quick this
will really
 hinder the future of Flex.
 
 Hey Matt! I agree with Robert. there should be some kind of 
 mx:FlashPaper tag
 for v2.0 of Flex. that would make my day.
 
 also could you look at my print function located in this email below 
 and help me
 get a headder on each page w/ a footer on the last page?
 
 thanks,
 -Art








Re: inline vs embedded fonts

2005-02-27 Thread viraf_bankwalla

Looking at the manuals, I need to use embeded fonts if I want 
rotation, however the drawbacks of embeded fonts as specified in the 
manual are:

• You can only embed TrueType fonts.
• Embedded fonts increase the file size of your application, because 
the document must contain font outlines for the text. This can 
result in longer download times for your users.
• Embedded fonts decrease legibility of the text at sizes below 10 
points. All embedded fonts use anti-aliasing to render the font 
information on the client screen. As a result, fonts may look
fuzzy or illegible at small sizes.
• You can only specify a single fontFamily style property when 
embedding fonts. Flex does not support a list of embedded fonts.

So I may be stuck with the poor quality of text that I am 
observing. This just doesnt sound like an acceptable solution.  
Anyone had more luck than me ?

--- In flexcoders@yahoogroups.com, viraf_bankwalla 
[EMAIL PROTECTED] wrote:
 
 Yes - it is - however the embeded font looks very different from 
the 
 inline font. I am using verdana.ttf from windows/font directory.  
 
 I have declared the font as: 
 
 mx:Style
 @font-face { fontFamily:headerFont; src:url
 (assets/verdana.ttf); }
 /mx:Style
 
 and using it like:
 
 mx:Label id=line1 fontFamily=headerFont fontSize=10/
 
 
 
 --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] 
wrote:
  Only difference I can see in the header font is that it's bold.  
 Otherwise
  it looks like it's Verdana 10pt (maybe it's 9pt but I don't 
think 
 so).
  
   
  
  You can see the default styles by checking in 
 mx/skins/halo/Default.as which
  you can find in the FlexForFlash.zip which came with your 
install.
  
   
  
  Matt
  
   
  
  _  
  
  From: viraf_bankwalla [mailto:[EMAIL PROTECTED] 
  Sent: Saturday, February 26, 2005 5:25 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] inline vs embedded fonts
  
   
  
  
  Hi,
  
  In order to rotate text, I have discovered that I need to use 
  embeded fonts. I would like text in a datagrid header to be 
 rotated.
  
  How do I discover the inline font being used in the data grid 
 header.
  I thought that the default font was vernanda size 10, however 
  columns with embeded font look very different from the inline 
 font. 
  How do I get them to match ?
  
  Thanks.
  
  
  
  
  
  
  
  
  Yahoo! Groups Sponsor
  
  
  
  ADVERTISEMENT
   
  
 
http://us.ard.yahoo.com/SIG=129qbk7rj/M=298184.6018725.7038619.30011
 76/D=gr
  
 
oups/S=1705007207:HM/EXP=1109553930/A=2593423/R=0/SIG=11el9gslf/*http
 :/www.n
  etflix.com/Default?mqso=60190075 click here
  
  
   
  http://us.adserver.yahoo.com/l?
 M=298184.6018725.7038619.3001176/D=groups/S=
  :HM/A=2593423/rand=478941882 
  
   
  
  _  
  
  Yahoo! Groups Links
  
  *   To visit your group on the web, go to:
  http://groups.yahoo.com/group/flexcoders/
  http://groups.yahoo.com/group/flexcoders/ 

  *   To unsubscribe from this group, send an email to:
  [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
 subject=Unsubscribe 

  *   Your use of Yahoo! Groups is subject to the Yahoo!
  http://docs.yahoo.com/info/terms/ Terms of Service.







See Kevin Hoyt, Matt Woodward, Jeff Tapper Speaking on Flex at PbD

2005-02-27 Thread lenroc1999

Interested in Flex? RIA's and CFMX7? Learning Flex or Flash from a 
CF developers perspective?

Then join us at Powered by Detroit Coldfusion/Flash Conference April 
9-10 2005 Hyatt Regency-Dearborn, Dearborn Michigan 

Powered by Detroit Flash/Coldfusion Conference features expert 
speakers on Flash, Coldfusion, Flex and Dreamweaver and more with 
emphasis on the development of Rich Internet Applications and 
Experiences.

Kevin Hoyt will speak on Rich Internet Applications with Macromedia 
Flex, Matt Woodward on Flexing your Coldfusion Muscles and Jeff 
Tapper will present Customizing Flex Components with MXML  
ActionScript 2.0

The Keynote will be presented by Ben Forta, Greg Rewis will 
speak on Flash Video and present Rich Internet Experience keynote, 
Kevin Hoyt will speak on Rich Internet Applications with Macromedia 
Flex and Michael Dinowitz will present Basic Regular Expressions 
and will be part of an OO Panel Discussion along with Hal Helms, 
Charlie Arehardt and others. Other expert speakers include: Simon 
Horwith, Jeffry Houser, Hal Helms, Dan Short, Angela C. Buraglia, 
Shlomy Gantz, Brajeshwar Oinam, Matt Woodward, Doug Hughes, Jason 
Michael Perry, Laura Arguello, Lawrence Cramer, Michael Smith, 
Justin Kozuch, Nahuel Foronda, Oscar Trelles and others

You are also invited to participate in the Flash/CFM Contest with a 
live awards ceremony showcasing and celebrating the best work in 
combining Flash and CFM technologies at the end of the second day. 
All attendees who register for Powered By Detroit Conference are 
invited to the live event and anyone is invited to nominate work for 
consideration.

For more details on the conference please see our website at: 
http://poweredbydetroit.org









Experienced programmer new to java app servers, quick question

2005-02-27 Thread dduuggllaa

Hello,

A quicky: I'm trying to install Cairngorm into my Tomcat installation
and can't get CustomerDelegate.java to compile. It's a classpath thing
and I am completely stumped. Could an old Java hand please take 10
seconds and tell me how to properly construct the classpath
incantation for javac so I can get some real work done?

Unless I can get this sorted Cairngorm will sit on my hard disk
gathering bit rot. Thanks.

Cheers,
Douglass Turner
email: douglass_dot_turner_at_gmail_dot_com







App Display in (Firefox) Browser Problem

2005-02-27 Thread extensive_systems

I notice that Flex applications do not behave correctly when Full
Screen View is selected in the Firefox browser (works correctly with
IE)... application dimensions increase properly but do not shrink when
Full Screen View is deselected, leaving the application clipped at the
bottom of the Firefox display area.

I assume that this is by now a well-known issue and a (logged) Firefox
bug?








flex - relative newbie

2005-02-27 Thread jason davey
hi all,
can anyone tell me which file the xml data for the
flexstore is kept in? I know the data is held in the
dataObject - but where is the product id, and
descriptions etc?

cheers
p1x3lman

Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com