Re: [flexcoders] Why is my Rich Text Editor limits me to font size of 172 ?

2007-11-23 Thread Aaron Miller
Hi Sean, I've had to extend/rewrite the default rich text editor for various reasons. Just create a custom component that extends the default, or just copy and paste the code directly from the source. You would then just need to modify to taste. In your case, add more options to the drop down comb

RE: [flexcoders] Setting multiple custom styles

2007-11-23 Thread Alex Harui
So the answer is pretty much what I expected. You can't assume when your class will be initialized. It appears in this case that binding and maybe the repeater causes your class to initialize and run its classConstruct before the app applies its styles. A style declaration has 'layers', a defaul

[flexcoders] Why is my Rich Text Editor limits me to font size of 172 ?

2007-11-23 Thread helihobby
Hello all, I am using different fonts and in all of them the Rich Editor drop down memu limits me to 72 in size. I can manually enter 172 but the component will not let me resize anything larger than that ... Any idea how to fix this ... Regards, Sean.

[flexcoders] loading an image via actionscript

2007-11-23 Thread Sheriff
Ok so what is happening is when i load the image via actionscript it scales it twice as big as when i just do //Displays the correct size automatically public class Test extends Sprite { internal var loader:Loader; public function Test(){ super();

Re: [flexcoders] Re: DataGrid itemEditEnd event fails with non-text itemEditors

2007-11-23 Thread Aaron Miller
The DataGridCoumn.editorDataField defaults to 'text' when not set. If you are using a component that does not use the text property, you will need to explicitly set it. In the case of a NumericStepper, you would set it to 'value'. Best Regards, ...aaron On 11/23/07, luciddream54321 <[EMAIL PROTEC

[flexcoders] ComboBox and DataGrid - set data() call causes next ComboBox to collapse...

2007-11-23 Thread cmarkiewicz
Hello. I have a DataGrid with a column of ComboBoxes. The behavior I'm seeing is this: 1) I click on a ComboBox - it expands 2) I choose a value - it collapses 3) I click on a ComboBox in a different column 4) It expands - then immediately collapses I have determined why it is happening, but I'

Re: [flexcoders] Re: Databinding and modellocator

2007-11-23 Thread Ralf Bokelberg
The following code works for me http://www.adobe.com/2006/mxml"; layout="absolute"> package { [Bindable] public class User { public var fullname : String; public function User( inFullname : String ) { fullname = inFullname; }

[flexcoders] Re: Databinding and modellocator

2007-11-23 Thread nxzone
Yes, all the class --- In flexcoders@yahoogroups.com, "Ralf Bokelberg" <[EMAIL PROTECTED]> wrote: > > Is fullname declared as bindable as well? > Cheers > Ralf. > > On Nov 23, 2007 8:05 PM, nxzone <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > Thank you for you answer. But is not working..

Re: [flexcoders] Re: Databinding and modellocator

2007-11-23 Thread Ralf Bokelberg
Is fullname declared as bindable as well? Cheers Ralf. On Nov 23, 2007 8:05 PM, nxzone <[EMAIL PROTECTED]> wrote: > > > > > > > Thank you for you answer. But is not working... > > I tried this: > > > In User.AS > public static function setUser(u:User):void{ > loggedUser=u; > } > public stati

[flexcoders] Re: DataGrid itemEditEnd event fails with non-text itemEditors

2007-11-23 Thread luciddream54321
I should also mention the SDK I'm using is Flex 3 M3 (Beta 2) --- In flexcoders@yahoogroups.com, "luciddream54321" <[EMAIL PROTECTED]> wrote: > > Hi, > > I have an editable DataGrid and have specified a function to handle > the itemEditEnd event. One of the columns is using a NumericStepper > as

[flexcoders] DataGrid itemEditEnd event fails with non-text itemEditors

2007-11-23 Thread luciddream54321
Hi, I have an editable DataGrid and have specified a function to handle the itemEditEnd event. One of the columns is using a NumericStepper as an itemEditor. When I edit that column I get a run-time error when the itemEditEnd event fires because it appears Flex is trying to access the column's "

[flexcoders] Re: Databinding and modellocator

2007-11-23 Thread nxzone
Thank you for you answer. But is not working... I tried this: In User.AS public static function setUser(u:User):void{ loggedUser=u; } public static function getInstance():User{ if(loggedUser==null){ loggedUser= new User(0,"Pas"," } return loggedUser; } In Myapp.mxml [Bindable] private

Re: [flexcoders] Re: Databinding and modellocator

2007-11-23 Thread Ralf Bokelberg
Binding is based on the name of a property, it doesn't work if there is a method call involved. Assign the model returned by getInstance to a local bindable property and bind to it instead. Cheers Ralf. On Nov 23, 2007 5:42 PM, nxzone <[EMAIL PROTECTED]> wrote: > > > > > > > Should i user a observ

Re: [flexcoders] Re: Managing States and Cairngorm

2007-11-23 Thread Ralf Bokelberg
That's true. But as soon as you start adding views to a ViewStack you need to make sure, that the index matches your constant, which means you have to count through them. Counting is much harder for me than reading ;) Cheers Ralf On Nov 23, 2007 7:24 PM, Douglas Knudsen <[EMAIL PROTECTED]> wrote:

Re: [flexcoders] Re: Managing States and Cairngorm

2007-11-23 Thread Douglas Knudsen
someObject.APPSTATE_LOGIN and someObject.APPSTATE_EDITUSER are fairly self-documenting, eh? and selectedIndex = someObject.APPSTATE_EDITUSER is clear DK On Nov 22, 2007 5:52 PM, Ralf Bokelberg <[EMAIL PROTECTED]> wrote: > I prefer String over int, because it is selfdocumenting, so i'd go fo

[flexcoders] Re: Internal build errors

2007-11-23 Thread mitek17
--- In flexcoders@yahoogroups.com, duncan mcmillan <[EMAIL PROTECTED]> wrote: > I've suddenly been getting "An internal build error has occurred please check the error log" , has anyone got any refereces as to why these errors happen? also I've never used an error log so could someone please tell

[flexcoders] Re: Databinding and modellocator

2007-11-23 Thread nxzone
Should i user a observer/watcher --- In flexcoders@yahoogroups.com, "nxzone" <[EMAIL PROTECTED]> wrote: > > Why databinding is not working? User class in bindable. When I set the > new user, with setUser the fullname in Myapp in not changed. > > In User.AS > public static function

RE: [flexcoders] Re: Get Data from Datagrid?

2007-11-23 Thread Tracy Spratt
Loop over the dataPrivider and build your body text. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of t.horster Sent: Friday, November 23, 2007 7:08 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Get Data from Datagrid

[flexcoders] Printing Pages, Paginating a Canvas

2007-11-23 Thread Clinton D. Judy
What's the best way to determine how much information can be fit on a page when printing an entire canvas? Can I, for instance, give an id to every element one level higher in the canvas, and add id's separately? Does this ensure that none of the elements are added to the page when there isn't enou

[flexcoders] Re: Cairngorm example source files

2007-11-23 Thread qzhung
I have delete the code about the login identity. So just click "submit" button when u first open it. The server page is developed by JSP (mySQL), but I have commented the result code(XML) in the source files. --- In flexcoders@yahoogroups.com, "qzhung" <[EMAIL PROTECTED]> wrote: > > Hi, all >

[flexcoders] Cairngorm example source files

2007-11-23 Thread qzhung
Hi, all I have posted my recent work about Cairngorm on my blog http://www.moorwind.com/read.php?65 . hope it would be useful. Cairngorm is great. I used it in this project and it helped me write code clearly. So I decided to share the source. This project is a web manage system(server: JSP)

[flexcoders] Re: fullscreen option with wmode set to opaque: unable get fullscreen

2007-11-23 Thread t.horster
This is an old issue. It's impossible with wmode set to opaque or transparent. You can't use both with fullscreen. Tom --- In flexcoders@yahoogroups.com, "kumar_gandhi30" <[EMAIL PROTECTED]> wrote: > > hello every one iam working on an app where iam retreving html pages > in to app using iframes

[flexcoders] Michael Corbridge/ServiceCenter/US/SunLife is out of the office.

2007-11-23 Thread michael . corbridge
I will be out of the office starting 11/20/2007 and will not return until 11/26/2007. I will respond to your message when I return. --- This e-mail message (including attachments, if any) is intended for the use of the indi

RE: [flexcoders] CSS cheat sheets

2007-11-23 Thread Charlie Skinner
The defaults.css file is a good place to start. Here's a quote from the help: Flex includes a default style sheet that is used across all applications. This style sheet applies a consistent style across all Flex components. This file is defaults.css and is located inside the framework.swc f

[flexcoders] Skinning a Panel in Flex

2007-11-23 Thread Clinton D. Judy
I'm trying to skin panels for use in Flex, but my corners, which are rounded, keep getting squished. I'm sure I'm doing it right in Flash: My own drawing is lined up with the reference point (0, 0), the 4 guidelines for scale9 are in the right places and everything. And in my css file, I have: Pan

[flexcoders] fullscreen option with wmode set to opaque: unable get fullscreen

2007-11-23 Thread kumar_gandhi30
hello every one iam working on an app where iam retreving html pages in to app using iframes for this i set wmode set to opaque than only it works,not i want my fullscreen it wont work with wmode set to opaque can any one help me to get this... regaurds

[flexcoders] GraniteDS and hibernate lazy loading

2007-11-23 Thread y.mauron
Dear all, I am quite new in the world of GraniteDS. I try to developp an application using Spring/Hibernate for the server part and flex for the client one. I would like to take advantage of the lazy loading capabilities of hibernate for my flex objects, but have some trouble to find a example

[flexcoders] Creating custom HLOC & Candlestick charts

2007-11-23 Thread mekaprakashraju
hi all, We are creating chart component like Yahoo finance charts and Google charts. I have to compare more then two symbols like yhoo charts. we did some percentage calculation for comparing symbols, so i overrided the method cacheDefaultValues to upadate the yValue in Line, Area, Plot Series. i

[flexcoders] Re: Dynamically Setting width of a TextInput control

2007-11-23 Thread ivascuc
Hi, First make sure you give the TextInput an unique ID, and then you can change the width property to make it larger, using the change event of the textinput. And you will have to find out what the ratio between your text size and the input width is, so that it will always match your characters.

[flexcoders] webservices

2007-11-23 Thread radha madhavi
hi this is madhu, i want to know something abt flex integration with .Net. if there is any possibility plz send me how to connect database through flex from .Net how to connect either webservices or httpservice or remoteobjects & one more question is how to call remote from .Net to Flex

[flexcoders] Re: Dynamically creating a Box with fure textfields.

2007-11-23 Thread radha_madhu24
--- In flexcoders@yahoogroups.com, "Shivani" <[EMAIL PROTECTED]> wrote: > > hi this is madhu i want to know how to call webservices from .Net to Flex through data services & also how to bind the data k bye then thanking u,

[flexcoders] webservices

2007-11-23 Thread radha madhavi
hi this is madhu, we are now working on webservices to get connectivity for .Net & Flex can u plz help me how to get database connectivity. so to do connectivity wht to do plz give me a suggestion to get this connectivity bye thanking u, -

[flexcoders] How to find all the validators attached to a field?

2007-11-23 Thread Cosma
Hi, in order to perform some custom validation behaviour automatically, I need to be able to find any validator istance linked to a particular field. Is there any way to do this in ActionScript? I can't find any method in the UIComponent base class to accomplish this task.. Thank you in advance

[flexcoders] Re: radioButton label colour via AS3?

2007-11-23 Thread candysmate
--- In flexcoders@yahoogroups.com, "ben.clinkinbeard" <[EMAIL PROTECTED]> wrote: > > Color is actually a style so its idname.setStyle("color", 0xFF); > > HTH, > Ben > > Many thanks Ben.

[flexcoders] Re: Problem with TileLIst RowCount

2007-11-23 Thread oneproofdk
Hi Alex Not sure what you mean, instead of scaling the container ?? Or ALSO scale the tilelist, setting the height of it ? Not sure how I should do that as I cant resolve how many rows the tilelist has. Hope you can clarify, this is driving me craazyyy Thanks again for all your time ! Mark ---

[flexcoders] Wierd LCDS behavior

2007-11-23 Thread Shailesh Mangal
All, We observed a strange LCDS behavior. We have tried all other permutation and combinations of this that we could think of. Any help is highly appreciated. Here is Object tree, collection of A is bound to a tree and collection of B is bound to a grid in the same canvas A | -- C

[flexcoders] Re: Get Data from Datagrid?

2007-11-23 Thread t.horster
Can somebody help me? Please, it's urgent! --- In flexcoders@yahoogroups.com, "t.horster" <[EMAIL PROTECTED]> wrote: > > Thanks for your reply! I have a list with some items each having a > different price and would like a list in the mail with the sum of all > prices underneath it. >

[flexcoders] itemRenderer's width and color is not changed. why?

2007-11-23 Thread luoxuanhuayelin
I have setted the color="#FF" width="20" ,but not changed in explorer? the width of Button is still 48, How can do?

[flexcoders] Re: Printing Chart

2007-11-23 Thread monkeeeh
Thanks for helping. I had many problems but now it works. Messing up with multidimensional arrays etc.. But still I have question. Is it possible to rotate chart before printing? because I have multipage printing and allmost all pages are portrait but i want to rotate barchart so barchart is lan