Re: Printing

2005-02-24 Thread rbrueckmann78
I noticed something odd in testing the code available on macromedia.com on how to print the entire contents of a datagrid. It works if you leave the default printer settings alone, but if you change to have the report printed landscape-wise, it doesn't work anymore. It stops at the point

Getting flex to work with IIS

2005-02-24 Thread Hugo Sombreireiro
Hi there, Maybe this question seems stupid. I truly dont know. Complete newbie. What should I do so I can have my mxml files located in the webroot folder of iis to be parsed by Flex? Thanks Hugo Sombreireiro Vexis IT

Re: [flexcoders] Calendar component

2005-02-24 Thread Jeff Tapper
I just blogged out a quick example of a custom component to do this here: http://jeff.mxdj.com/ At 06:08 PM 2/23/2005, you wrote: I did a workaround for this. just do a search in the message archive. Hope it solvs your problem. -Art Quoting wcucsd [EMAIL PROTECTED]: I'm looking for a calendar

unknown function fires. Why?

2005-02-24 Thread alf
Hi All, I have a remote object function firing when a user taps the control (Crtl), TAB, or ENTER key. why is this happening? has anyone encountered this before? is there a way do disable those keys in my flex application? thanks, -Art

RE: [flexcoders] theme

2005-02-24 Thread Matt Horn
Yep, that's definitely an oversite in the styles chapter. The themeColor property, while visible on the asdoc page for the Application object, really should be mentioned in the DevApps book too since it's effect is so dramatic. This list is for us, too. :) matt horn flex documentation

advice on drag n drop

2005-02-24 Thread Tarik Ahmed
Hey guys. So I got a data grid that I enabled drag and drop to easily allow users to position the items. And that works. However the previous functionality I had was that when you click on a row a pop-up happens that let's you edit the details. The problem now is that when you drag a row, the

RE: [flexcoders] advice on drag n drop

2005-02-24 Thread Matt Chotin
Maybe you could use the cellPress event on DataGrid as some form of click indicator and then add double-click support. If you get the double cellPress in your time period thatd be the indicator to pop your editor. We have double-click on a button described in a technote:

RE: [flexcoders] stress test

2005-02-24 Thread Lucian Beebe
As Matt pointed out, Silk Performer is the only tool on the market that can convert the AMF binary protocol to readable scripts. If you are looking to do multi-user stress/load/performance testing, definitely check it out. And yes, it is the opposite end of free. But you'll get great results.

Re: [flexcoders] passing a view to a command

2005-02-24 Thread Robin Hilliard
Interestingly this is always the case in Aral's view-helper-less ARP framework - because the view itself (not the EventBroadcaster singleton) broadcasts the event, the controller uses the target property of the event (the view) to call methods to update the view. I had a talk with Aral after

Can I gray out the rest of a screen behind a popup?

2005-02-24 Thread Anthony Merryfield
Title: Can I gray out the rest of a screen behind a popup? I have a few popup forms that I'd like to give more emphasis to. I think I saw somewhere a site where on popup the parent grayed out making the popup very noticable - could anyone point me towards some code in order to accomplish

DataGrid with Pojo

2005-02-24 Thread [EMAIL PROTECTED]
Hi, I have this java pojo class ... private String cod_art; private String dsc_art; private Vector items; ... i wish display in my DataGrid Vector items will be column and my cod_art, and dsc_art the rows, i don't know how to implements because my remoteObject return 1 dataProvider? Can you help

RES: [flexcoders] clickig datagrid

2005-02-24 Thread Kleber Henrique Voigt Pereira
use: cellPress={yourFunction()} in datagrid tag -Mensagem original- De: Miguel D�az Valenzuela [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 24 de fevereiro de 2005 10:43 Para: flexcoders@yahoogroups.com Assunto: [flexcoders] clickig datagrid hi coders I have a question. I

Re: RES: [flexcoders] clickig datagrid

2005-02-24 Thread Miguel Diaz Valenzuela
ok man, many thanks to you and If I need to know what item was click? -- In flexcoders@yahoogroups.com, Kleber Henrique Voigt Pereira [EMAIL PROTECTED] wrote: use: cellPress={yourFunction()} in datagrid tag -Mensagem original- De: Miguel D�az Valenzuela [mailto:[EMAIL PROTECTED]

RE: [flexcoders] Calendar component

2005-02-24 Thread Jeff Tapper
It would have been nice if that was the native behavior, but, as I was showing, adding custom behaviors like that to a component is pretty easy. It probably took me less time to put that example together than it would have taken to describe it at as feature request. Honestly, i think the

RES: RES: [flexcoders] clickig datagrid

2005-02-24 Thread Kleber Voigt
in flash I use: function getCellData(){ trace(datagrid.selectedItem.YourColumnName); } I think that's the same thing! -Mensagem original- De: Miguel Diaz Valenzuela [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 24 de fevereiro de 2005 11:14 Para: flexcoders@yahoogroups.com

Re: Can I gray out the rest of a screen behind a popup?

2005-02-24 Thread sreejithunni
If you set modalTransparency in the TitleWindow component to 100, the entire screen except the TitleWindow would be opaque. mx:TitleWindow xmlns:mx=http://www.macromedia.com/2003/mxml; title=Login modalTransparency=100 You could try changing the value from 0 - 100 to get the effect you want.

Re: Can I gray out the rest of a screen behind a popup?

2005-02-24 Thread sreejithunni
Sorry! Wrong context. Ignore my mail. Brett is right! :-) --- In flexcoders@yahoogroups.com, sreejithunni [EMAIL PROTECTED] wrote: If you set modalTransparency in the TitleWindow component to 100, the entire screen except the TitleWindow would be opaque. mx:TitleWindow

FlashComm Flex - LiveMediaDisplay - Streaming Problem

2005-02-24 Thread dave buhler
I am currently building a FlashComm and Flex application to do the following: I am building this app. Based on Christophe Coenraet and Matt Chotin's LiveMediaDisplay class and sample application. How it should work: If Person A logs in, he can see his stream and Person B's stream. When Person B

RE: [flexcoders] Re: Can I gray out the rest of a screen behind a popup?

2005-02-24 Thread Anthony Merryfield
Cheers, that worked perfectly :) Tony -Original Message- From: sreejithunni [mailto:[EMAIL PROTECTED] Sent: 24 February 2005 14:44 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Can I gray out the rest of a screen behind a popup? If you set modalTransparency in the

Re: RES: RES: [flexcoders] clickig datagrid

2005-02-24 Thread Miguel Diaz Valenzuela
that works very well, thanks a lot yo tou again man your help is very appreciated --- In flexcoders@yahoogroups.com, Kleber Voigt [EMAIL PROTECTED] wrote: in flash I use: function getCellData(){ trace(datagrid.selectedItem.YourColumnName); } I think that's the same thing!

Comprehensive skinning tutorials

2005-02-24 Thread Anthony Merryfield
Title: Comprehensive skinning tutorials Does anyone know of a good skinning tutorial? I have started a skin based on HaloTheme but it seems to be quite limited compared to pulseBlue theme that I have also had a quick look at. For instance there seems to be different bits and pieces for the

Learning to connect actionscript pages to mxml pages

2005-02-24 Thread nostra72
I am trying to teach myself how to make an mxml page and connect it to an action script page. To do this I am trying out the simplest program possible. I will show you all the code I have written for both files and what I did was just make a simple mxml page with no extra code and linked it to

RE: [flexcoders] Learning to connect actionscript pages to mxml p ages

2005-02-24 Thread Matt Horn
Try puttingquotes around the {this} inthe brandnewas tag: brandnewas id="bna" bnaview="{this}" / matt h From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, February 24, 2005 10:46 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Learning to connect actionscript

form validation

2005-02-24 Thread Robert Brueckmann
Im having a heck of a time understanding how form validation works. I have a formit contains text fields, drop down lists, and radio buttons. Its a basic user information formfirst name, last name, address 1, address 2, etc. I also have 3 fields: phone, fax, and mobile, but I only have the

Log-on Driven Application

2005-02-24 Thread Speer, Dustin
Does anyone have a sample of how they are implementing alogin based application? Thanks, DS Dustin Speer Special Projects Analyst Vestcom

re: [flexcoders] Time component like in Windows

2005-02-24 Thread Kevin Towes (New Toronto Group)
Is there a TimeFormatter or a TimeValidatorin Flex? This would be handy if one was building a Video player (hehheh)kevKevin Towes, Sr. ConsultantNew Toronto Group, [EMAIL PROTECTED]Office: 905-306-2790 Mobile: 416-882-4445[onRemote] From: "Corey" [EMAIL PROTECTED]Sent: Thursday, February 24,2005

re: [flexcoders] Time component like in Windows

2005-02-24 Thread Jeff Tapper
It looks like the DateFormatter allows you to format times as well. At 11:57 AM 2/24/2005, you wrote: Is there a TimeFormatter or a TimeValidator in Flex? This would be handy if one was building a Video player (heh heh) kev Kevin Towes, Sr. Consultant New Toronto Group, [EMAIL PROTECTED] Office:

How to get the number of rows in a Tree or TreeDataProvider

2005-02-24 Thread Tracy Spratt
Title: How to get the number of rows in a Tree or TreeDataProvider Im using the PrintDemo.mxml example to do the same thing for a Tree, but the TreeDataProvider does not have a length property. I think I can write a recursive function that finds the last Childlast child, then

Re: [flexcoders] How to get the number of rows in a Tree or TreeDataProvider

2005-02-24 Thread Jeff Tapper
Its a bit hackish, but you could try something like this: function openTree(t:mx.controls.Tree):Number { var i:Number=0; var node:mx.controls.treeclasses.TreeNode=t.getTreeNodeAt(i); while (node != undefined){ if (t.getIsBranch(node) ! t.getIsOpen(node)){ t.setIsOpen(node,true); } i++;

RE: [flexcoders] form validation

2005-02-24 Thread Jose Lora
To the second part of your question, Iuse a NumberValidator on the comboBox.selectedIndex property From: Robert Brueckmann [mailto:[EMAIL PROTECTED] Sent: Thursday, February 24,2005 10:10 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] form validation Im having a

Re: [flexcoders] How to get the number of rows in a Tree or TreeDataProvider

2005-02-24 Thread Jeff Tapper
Hows this for an alternative if you want the count, but dont want the tree to be opened. I've only tested this with small trees, I'd fear for its performance in larger trees: function countClosed():Number{ var num:Number = openTree(nav); closeTree(nav,num); return num; } function

RE: [flexcoders] How to get the number of rows in a Tree or TreeDataProvider

2005-02-24 Thread Tracy Spratt
I modified that while loop to just do a count, and it works fine, with the added benefit that it only counts the nodes that are open, which is really what I need. Thanks! public function getTreeVisibleRowCount(treeControl:Tree):Number { var treeDP = treeControl.dataProvider; var i:Number=0; var

Sample code for printing from a DataGrid: does not work?

2005-02-24 Thread Tracy Spratt
Title: Sample code for printing from a DataGrid: does not work? The Sample code for printing from a DataGrid posted on the MM site under the url below doesnot work: http://www.macromedia.com/cfusion/knowledgebase/index.cfm?event=viewid=KC.tn_19241extid=tn_19241 It is close, it is actually

Re: [flexcoders] Sample code for printing from a DataGrid: does not work?

2005-02-24 Thread alf
Hi Tracy, I'm using that same function w/o problems to print the info in the datagrid BUT I whish I could figure out how to add a headder and footer to the printjob. I'm just too unfamiliar with the print function. I've actually never used it before this project. -Art Quoting Tracy Spratt

Re: Single sign-on

2005-02-24 Thread Corey
Hi David, That sounds like a great piece of code. I have always wanted something like this. Would you mind sharing some of this code with us? Thanks, COREY --- In flexcoders@yahoogroups.com, David Ringley [EMAIL PROTECTED] wrote: We created a MXML Login app that stored the user's passport

RE: [flexcoders] Sample code for printing from a DataGrid: doesnot work?

2005-02-24 Thread Tracy Spratt
Have you run the example as is? Maybe there is something else necessary? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, February 24, 2005 2:01 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Sample code for printing from a DataGrid:

Layer Positioning

2005-02-24 Thread goran187
I have two panels that overlap each other. Does anybody know how to programmatically decide which panel will be on top (or behind) based on conditions? Thanks, Goran

RE: [flexcoders] Sample code for printing from a DataGrid:doesnot work?

2005-02-24 Thread Tracy Spratt
I get the same misbehavior with that. Hmmm. Tracy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, February 24, 2005 2:10 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Sample code for printing from a DataGrid:doesnot work? Hi Tracy,

RE: [flexcoders] Sample code for printing from a DataGrid: doesnot work?

2005-02-24 Thread alf
Hi Tracy, All I did was change the datagrid name. (If I can remember correctly) but here is my code just incase (Hoping that someone will help w/ the headder and footer adding): == Start Code == function doPrint() { var pj : PrintJob = new PrintJob(); // position of currently visible rows

RE: [flexcoders] Getting flex to work with IIS

2005-02-24 Thread Cathy Murphy
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19344 From: Hugo Sombreireiro [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 23, 2005 7:53 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Getting flex to work with IISImportance: High Hi there, Maybe this

RE: [flexcoders] Re: Printing

2005-02-24 Thread Tracy Spratt
Robert, I just tried that example and it does not work either way for me. The data and paging is correct, but only the screen/visible area prints. Did you discover anything? Tracy -Original Message- From: rbrueckmann78 [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 23, 2005 7:06

change row´s text

2005-02-24 Thread Miguel Diaz Valenzuela
Hi coders I have this problem now. I need to change text displayed in a row of datagrid depending specified row value. Other thing that I don´t know how do, is to prohibit to users to be able to change the columns width.

RE: [flexcoders] change row´s text

2005-02-24 Thread Deepa Subramaniam
Other thing that I don´t know how do, is to prohibit to users to be able to change the columns width. If you set resizableColumns=false on the DataGrid, the user will not be able to stretch the columns by dragging on the grid lines between the headers. -Original Message-

Re: change row´s text

2005-02-24 Thread Miguel Diaz Valenzuela
problem fixed, thanks man. Now i´m wating for some response for the other problem --- In flexcoders@yahoogroups.com, Deepa Subramaniam [EMAIL PROTECTED] wrote: Other thing that I don´t know how do, is to prohibit to users to be able to change the columns width. If you set

RE: [flexcoders] Can I pass a reference to the Application into a component and bind to its content?

2005-02-24 Thread Matt Chotin
Title: Can I pass a reference to the Application into a component and bind to its content? The problem here is that mx.core.Application doesnt know about your tiTest component. If you type the app variable as the name of your application it should work. Foo.mxml mx:Application /

RE: [flexcoders] Can I pass a reference to the Application into a component and bind to its content?

2005-02-24 Thread Tracy Spratt
Title: Can I pass a reference to the Application into a component and bind to its content? Yeah, man! Thats the ticket! Thank you! From: Matt Chotin [mailto:[EMAIL PROTECTED] Sent: Thursday, February 24,2005 4:17 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Can

Webservice array question

2005-02-24 Thread Jeff Steiner
I have a problem that I am sure just about everyone on this list could answer - but for the life of me I cannot figure it out. I have a webservice that is returning a Query object from a CFC. I can reference the result in a datagrid but I want to have a bit more control over it. I would like to

RE: [flexcoders] Learning to connect actionscript pages to mxml pages

2005-02-24 Thread Omar Ramos
Hi matt, try this mx:Script source=brandnewas.as/ Omar Ramos Technology Manager www.itacon.net http://www.itacon.net/ _ From: Matt Horn [mailto:[EMAIL PROTECTED] Sent: Thursday, February 24, 2005 12:07 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Learning to connect

RE: [flexcoders] Learning to connect actionscript pages to mxml pages

2005-02-24 Thread Tracy Spratt
That will only work with a pure AS file, not a class. It is a true include, and is functionally the same as putting the script directly in the main file. The class approach, while it makes references a little harder, is better since it helps to avoid the 32k limit. It is possible to have

RE: [flexcoders] Pre-selecting a Combo Box from Bound Data

2005-02-24 Thread Matt Chotin
Maybe the next version of ComboBox will do this for us. Ahem, http://www.macromedia.com/go/wish Matt

Re: [flexcoders] FlashComm Flex - LiveMediaDisplay - Streaming Problem

2005-02-24 Thread dave buhler
Nope. Thanks, though Matt. The only two Flashcomm people I know are Fernando Florez and Jesse, so I'll pop off some emails to see if they know. Dave On Thu, 24 Feb 2005 13:48:22 -0800, Matt Chotin [EMAIL PROTECTED] wrote: The only thing I can see is that you're doing toLowerCase() but the

RE: [flexcoders] Sample code for printing from a DataGrid:doesnot work?

2005-02-24 Thread Robert Brueckmann
Tracy, Its funny you send this email because I posted something about printing last nightI am using the same exact code youre using from the example on MMs site and I would say it works intermittently, at best, when I try to print my datagridat first, if you read my post from last night,

RE: [flexcoders] Pre-selecting a Combo Box from Bound Data

2005-02-24 Thread Tarik Ahmed
Matt posted a solution on this earlier:http://www.cflex.net/showfiledetails.cfm?ChannelID=1Object=FileobjectID=111 From: "Tracy Spratt" [EMAIL PROTECTED]Sent: Thursday, February 24, 2005 2:51 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Pre-selecting a Combo Box from Bound DataI

RE: [flexcoders] Sample code for printing from a DataGrid:doesnot work?

2005-02-24 Thread alf
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

RE: [flexcoders] Looping through content of a DG

2005-02-24 Thread Tarik Ahmed
Hey Matt, thanks. I went with the cell renderer route for now. :)So once that's all done, now I need to loop through the datagrid and see how things are positioned. I've done a good job of locking up IE trying to XMLObject to inspect what I could possibly use. And spent a bunch of time on the API

RE: [flexcoders] Looping through content of a DG

2005-02-24 Thread alf
Hi Tarik, Try: myDg.dataProvider.length -Art Quoting Tarik Ahmed [EMAIL PROTECTED]: Hey Matt, thanks. I went with the cell renderer route for now. :) So once that's all done, now I need to loop through the datagrid and see how things are positioned. I've done a good job of locking up IE trying

RE: [flexcoders] Error Display Colour

2005-02-24 Thread Gordon Smith
Glenn, did you do the error tip styling? - Gordon -Original Message- From: Ketan Bengali [mailto:[EMAIL PROTECTED] Sent: Thursday, February 24, 2005 1:10 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Error Display Colour Can anybody (macromedia guys) can help on this ?

Getting flex to work with IIS

2005-02-24 Thread Hugo Sombreireiro
Hi there, Maybe this question seems stupid. I truly dont know. Complete newbie. What should I do so I can have my mxml files located in the webroot folder of iis to be parsed by Flex? Thanks Hugo Sombreireiro Vexis IT

RE: [flexcoders] unknown function fires. Why?

2005-02-24 Thread Matt Chotin
What other ways do you have to triggerthe remote object sending? Id guess that theres some event handler on a UIObject that is accidentally reacting to the keyDown and subsequently kicking off your RemoteObject. Matt From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent:

RE: [flexcoders] Calendar component

2005-02-24 Thread Srikanth Duvvuri
Hi Jeff This surely is a useful piece of code but don't you feel that this should have been a facility of the original date component. The other issue that Will raised about moving back and forth by a year is still absent. Just think of a user trying to enter the date of birth of a customer who

RE: RE: [flexcoders] Error Display Colour

2005-02-24 Thread Gordon Smith
I think mx:Style ErrorTip { borderColor: #123456 } /mx:Style will work, although it should really be mx:Style ErrorTip { backgroundColor: #123456 } /mx:Style - Gordon -Original Message- From: Ketan Bengali [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 23, 2005 9:18 PM To:

Re: [flexcoders] dateField questions?

2005-02-24 Thread ibibas
Alf, It means you intend to access to any datefield field in your application from a generic function in an external AS file, don´t you?. In this case, the argument should be the Datefield id: getCurrentDate(myDateFieldId); function getCurrentDate(myArg) { var myArg;// it must be the id

Re: [flexcoders] Error Display Colour

2005-02-24 Thread Jim Miao
It seems that, we can not specify the error tip's style including textformat. - Original Message - From: Ketan Bengali [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, February 24, 2005 3:17 PM Subject: Re: [flexcoders] Error Display Colour Nope.. Nothing works.