RE: [flexcoders] Dynamically changing the source of XML- is it po ssible?

2005-05-02 Thread Abdul Qabiz
Hi Nithya,   You can use HTTPService to load different XML files. I replied on the similar topic. Look at the attached mail or search archives...   -abdul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 03, 2005 12:06 PMTo: flexcodersSubject: [flexcoders] Dy

[flexcoders] Dynamically changing the source of XML- is it possible?

2005-05-02 Thread nithya karthik
hai! I have an accordion which gets its contents from a repeater. each vbox in the accordion has a button which on click must take me to a different viewstack containing images from different xml files.. right now i am able to capture the click event to display a viewstack containg images b

RE: [flexcoders] LinkBar Navigation

2005-05-02 Thread Matt Chotin
Maybe try overriding the selectedIndex getter/setter on the ViewStack.  Verify if the child at current selectedIndex is OK and if so call super.selectedIndex = whatever.  Otherwise bail out.   Make sure you override the getter to return super.selectedIndex as you must override both gett

RE: [flexcoders] Set a tooltip accross a Datagrid

2005-05-02 Thread Matt Chotin
I assume setting the toolTip for the DataGrid didn’t cut it?    Look into dataTipFunction and just have it return the same string.  You may need to supply a dataTipFunction for every column (but it can be the same function).   Matt   From: flexcoders@yahoogroups.com [mailto

RE: [flexcoders] Menu controlled panels

2005-05-02 Thread Matt Chotin
Have you looked into using a ViewStack and simply changing the selectedIndex?   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rajesh Jayabalan Sent: Monday, May 02, 2005 2:12 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Menu controlled panels

RE: [flexcoders] Image watermark in Tree node space

2005-05-02 Thread Matt Chotin
You probably need to write a custom tree row renderer.  We have a starter doc here: http://www.macromedia.com/support/documentation/en/flex/1/cellrenderers/cellrenderers13.html.  See how the Check is created on the row and adjust as appropriate for your case.   Matt   From: fl

RE: [flexcoders] HTTPService HTML Encoding/Parameter Issues

2005-05-02 Thread Matt Chotin
How does the compiler freak-out on A={…}?  File a bug for that too probably, I think we do attempt to encode the parameters.   Matt   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rick Bullotta Sent: Monday, May 02, 2005 4:55 AM To: flexcoders@yahoogr

RE: [flexcoders] dynamic menu

2005-05-02 Thread Matt Chotin
Is your webservice returning a String or an XML document?  If it’s returning a string you might want to try your binding as: {mx.utils.XMLUtil.createXML(contentws.GetXMLDocumentString.result)}   Definitely make sure that the return value is what you expect it to be.   Matt  

RE: [flexcoders] [fleccoders] double click

2005-05-02 Thread Matt Chotin
This thread might help with how to implement double-click: http://www.mail-archive.com/flexcoders@yahoogroups.com/msg01391.html.  That’s for DataGrid.  But the timing logic would be pretty similar for the mouseDown handler for an Image.   Matt   From: flexcoders@yahoogroups.co

[flexcoders] Re: flex calendar component

2005-05-02 Thread Andrew Spaulding
Ok here goes. I'll have an extra attribute in my dateChooser which is the dataprovider for the dates that need some sort of indicator (i.e a task is on that day). There's a method in CalendarLayout thats named setSelectedMonthAndYear which updates the UI to display the days in the month. I'm gue

[flexcoders] Re: flex calendar component

2005-05-02 Thread Andrew Spaulding
Well isnt that encouraging :p I'm just taking a look at mx.controls.CalendarLayout and its 2000 odd lines of code, what a day I'm gonna have! Any idea where to start? It's all a bit overwhelming. Andrew. --- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote: > The way I'm tac

Re: [flexcoders] flex calendar component

2005-05-02 Thread JesterXL
The way I'm tackling the immense challenge of extending the not-made-to-be-extended DateChooser in Flash (mx.controls.fateworsethandeathtoextend.DateChooser) is by replacing the CalendarLayout's drawing mechnism to create custom class objects instead of simple TextFields. Then, in the DateChoo

[flexcoders] flex calendar component

2005-05-02 Thread Andrew Spaulding
Hi all, I was wondering if anyone had a sample of a flex calendar component? Or possibly have given any thought to extending the date chooser so that we can highlight specific days by a given data provider? I have a zip file of a calendar, but god only knows where I got it from, I can't remember.

[flexcoders] Set a tooltip accross a Datagrid

2005-05-02 Thread digital_eyezed
How can I set a tooltip accross the whole datagrid? I have customCellRenderers set to some of the columns that hold images and I can add a tooltip to those columns but the other columns hold dynamic data through a dataProvider and I can't seem to get tooltips to work. The same tooltip will appl

[flexcoders] Re: Images and borders

2005-05-02 Thread digital_eyezed
Cheers! --- In flexcoders@yahoogroups.com, Ashish Goyal <[EMAIL PROTECTED]> wrote: > Set 'maintainAspectRatio' to false in your image tag. By default its true so > the ratio of height to width is maintained as the original image. > > -Ashish > > > > _ > > From: flexcoders@yahoogrou

RE: [flexcoders] Images and borders

2005-05-02 Thread Ashish Goyal
Set 'maintainAspectRatio' to false in your image tag. By default its true so the ratio of height to width is maintained as the original image.   -Ashish   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of digital_eyezedSent: Monday, May 02, 2005 2:05 PMTo

RE: [flexcoders] Date object addition

2005-05-02 Thread Ashish Goyal
You should be able to do it by simply setting selectedDate - 1. For eg, in the change event handler function of first DateField you can write   datefield2.disabledRanges =[{rangeEnd : new Date(datefield1.selectedDate - 1)}];   -Ashish From: flexcoders@yahoogroups.com [mailto:[

[flexcoders] Date object addition

2005-05-02 Thread digital_eyezed
How do I make a date object in a rangeEnd = selectedDate - 1? i.e. I have one dateField with a disabledRange / rangeEnd set to today. When a user changes that field, it triggers a function which sets the second dateField's disabledRange / rangeEnd to the selectedDate of the first dateField. But

[flexcoders] Menu controlled panels

2005-05-02 Thread Rajesh Jayabalan
Hi, I am trying to create an application with a menubar and a set of menuitems. For each menuItem I should show a panel (filled with its specific information) ex Menu Item : Find Orders -- Panel-1 : FInd orders panels with all the searchable fields and stuff Menu Item : Create Order -- Panel-

[flexcoders] Images and borders

2005-05-02 Thread digital_eyezed
I have four embedded images in an HBox: But, their is a 2 or 3 pixel gap between the end of the images and the right hand border, why? Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from thi

[flexcoders] LinkBar Navigation

2005-05-02 Thread Corey
I have a LinkBar with a ViewStack for the dataProvider. I want it so when I click on the linkbar that it does not go to the next view in the viewstack yet but runs a method first to check and see if some values on the form are dirty. I feel like I need to be able to stop the linkbar from show

RE: [flexcoders] Re: SWC generates server error

2005-05-02 Thread Roger Gonzalez
Erik- I suggest you try the following: 1) Turn on the generate-compile-report option in your config file. This will cause an -report.xml file to be generated. 2) Read my linker/loader article on Macromedia devnet. Skip by all that boring text, but extract out the compile report tool. (Actuall

RE: [flexcoders] API/Programmatic interface to MXMLC?

2005-05-02 Thread Rick Bullotta
Looks like EmbeddedMxmlc is the secret/magic class…with a bunch of static methods for compiling and such.  Now to figure out the magic… From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rick Bullotta Sent: Monday, May 02, 2005 1:56 PM To: flexcoders@yahoogro

[flexcoders] Re: Making a visible property really invisible

2005-05-02 Thread digital_eyezed
Thats kinda done the trick, thanks. --- In flexcoders@yahoogroups.com, Ashish Goyal <[EMAIL PROTECTED]> wrote: > You can set width to 100% in first panel and height and width to 0 in the > second one. This will enable the first panel to cover the whole HBox. When > you click on the checkbox, in

RE: [flexcoders] Re: Making a visible property really invisible

2005-05-02 Thread Ashish Goyal
You can set width to 100% in first panel and height and width to 0 in the second one. This will enable the first panel to cover the whole HBox. When you click on the checkbox, in AS set visible to true for second panel and width and height to 100%. Now since both panels has width 100%, the

RE: [flexcoders] TextInput selected

2005-05-02 Thread Abdul Qabiz
Hi, You can set focus to TextInput and then use Selection object to select the text inside the textinput. Once TitleWindow is shown, call following code from a relevant place, may be in creationComplete event handler of TitleWindow. ppv.setFocus(); var len = ppv.length; Selection.setSelection(0

Re: [flexcoders] API/Programmatic interface to MXMLC?

2005-05-02 Thread Joe Berkovitz
I'd be surprised if streaming was so optimal because it would be hard to cache the results of the compilation, but I don't know exactly what you're doing. Anyway, because mxmlc.jar is invoked via the -jar mechanism, the MANIFEST.MF file for actually specifies everything you need to know: Manif

Re: [flexcoders] Alert.show method question

2005-05-02 Thread Darron J. Schall
Shlomi Cohen wrote: > Hi > > i have a very simple code that suppose to show two alert windows , the > thing is that the second one performs before the first one. - how come ? The code for the first one actually does execute first. The problem is all about depth management. Whenever you ope

[flexcoders] Re: Making a visible property really invisible

2005-05-02 Thread digital_eyezed
That doesn't seem to work, it looks even more messy now, any more ideas? --- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > Set height = 0; > > Then to restore the view, set height= undefined; > > I have not done this myself, any you might have to do something like

RE: [flexcoders] Alert.show method question

2005-05-02 Thread Abdul Qabiz
Hi, Why would you want to show two alerts at same time? Do you want to show one after another? Second alerts later and is on the top of first that's the way its designed to work, Second alert has higher depth. If you are looking to show one after another try to show second alert from first aler

RE: [flexcoders] API/Programmatic interface to MXMLC?

2005-05-02 Thread Rick Bullotta
Since the requests are totally dynamic, streaming = optimal approach, with nothing written to disk and no "shelling". Since MXMLC requires Java to run, I suspect there's an API, just not published. We'll find it ;>. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROT

Re: [flexcoders] API/Programmatic interface to MXMLC?

2005-05-02 Thread Joe Berkovitz
Well, you can always run MXMLC itself, because it's a Java program. The mxmlc command is roughly equivalent to java -jar ${FLEX_HOME}/lib/mxmlc.jar [args]. I note that running MXMLC is not exactly the same as the MXML generation, because you have to pass in some args that pertain to the runti

[flexcoders] Image watermark in Tree node space

2005-05-02 Thread nextadvantage
I have a tree node that is 100% height I would like to place a image in the absolute botom left corner of the tree node. how would I do this? Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, sen

[flexcoders] Re: Noobie - Center App

2005-05-02 Thread digital_eyezed
Here's an example: http://www.macromedia.com/2003/mxml";> Cheers. --- In flexcoders@

[flexcoders] Alert.show method question

2005-05-02 Thread Shlomi Cohen
Title: Mercury Email Signature Hi   i have a very simple code that suppose to show two alert windows , the thing is that the second one performs before the first one. - how come ?   here is the code.        function f (event){      mx.controls.Alert.show("hello", 'Debugwindow')  

RE: [flexcoders] Making a visible property really invisible

2005-05-02 Thread Tracy Spratt
Set height = 0; Then to restore the view, set height= undefined; I have not done this myself, any you might have to do something like call invalidateLayout to get it to work right. Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of digital_e

[flexcoders] Making a visible property really invisible

2005-05-02 Thread digital_eyezed
How can I make a container completely invisible? i.e. if I have two panels, both in an HBox and when I check a box in panel 1 it enables the visibility of panel 2, but panel two was completely invisible before I checked the box, including the space it was invisibly taking up. I want to be able

[flexcoders] Re: Noobie - Center App

2005-05-02 Thread digital_eyezed
I have always found it easier to put your horizontalAlign on a container inside the application tags, but also make sure you put the width="100%" height="100%" in as well or the app wont stretch. Hope this helps. --- In flexcoders@yahoogroups.com, "David Terry" <[EMAIL PROTECTED]> wrote: > Hel

Re: [flexcoders] Setting Text Property of Label Control Dynamically

2005-05-02 Thread michael keirnan
it looks like you want to use data binding here. in your mxml you can do this: and comment out this line in your AS:     //lblListValue.text = strSize; if you haven't already, definitely check out the sections in the Flex User Guide that talk about data binding for more background. the F

[flexcoders] API/Programmatic interface to MXMLC?

2005-05-02 Thread Rick Bullotta
Is there a programmatic interface, preferably in Java, to the same code as MXMLC?  We’re interested in “on-the-fly” MXML generating/compilation, and cannot use the JSP approach. Thanks! Rick Bullotta CTO Lighthammer Software www.lighthammer.com Yahoo! Groups Links To vi

Re: [flexcoders] binding error - from Flex?

2005-05-02 Thread michael keirnan
also, if you run mxmlc or compc against your source tree the generated files are placed right in your source tree. (perhaps obvious if one thinks about it, but i did not think about it until it bit me). this can lead to various problems during the typical development process: edit-compile-tes

RE: [flexcoders] Size up with Validation Message font size

2005-05-02 Thread Gordon Smith
If you just want to set the styles once when the application starts, using CSS is best practice; it's fast and it decouples the styles from the code so that you can more easily edit them. Use setStyle() when you need to dynamically change them at runtime. - Gordon -Original Message- From:

[flexcoders] Noobie - Center App

2005-05-02 Thread David Terry
Hello,   I am trying to center my application, but can’t seem to make it work.     Why don’t the horizontalAlign and verticalAlign properties work?   Many thanks, ~David T. Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/fl

[flexcoders] iterationtwo AdvancedTabNavigator problem

2005-05-02 Thread Rick Schmitty
Hi all!I'm trying out the AdvancedTabNavigator and ran into some problems when using Cold FusionI have AdvancedComponentSet-0_1.swc in my user_classes directory. But when I use Ben Forta's method described here: http://www.forta.com/blog/index.cfm?mode=e&entry=1038I get the following error:Error

[flexcoders] TextInput selected

2005-05-02 Thread [EMAIL PROTECTED]
Hi, it's possibile i call this TitleWindow, the ppv value is dispaly? Sorry, i wish that the value is "selected", in this way my end user write a new value without clear a textInput. Can you help me please? Devis http://www.macromedia.com/2003/mxml"; title="Cambio prezzo manuale " widt

Re: [flexcoders] TREE : open all the branches of one tree

2005-05-02 Thread Jeff Tapper
David - I put together a function for this a few months ago, hope this helps. function openTree(t:mx.controls.Tree) { var i:Number=0; ar node:mx.controls.treeclasses.TreeNode=t.getTreeNodeAt(i); while (node != undefined){ if (t.getIsBranch(node) && ! t

[flexcoders] getUrl() of a Codfusion page - work's correctly on some browsers

2005-05-02 Thread Dzafer
Hi there,     Try this :   Var setUpURL= “mypage.cfm”;   getURL("_javascript_:open('" + setUpURL + "','popUpWin','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbar=no,resizable=no,copyhistory=yes,width=600,height=250,left=200,top=200,screenX=200,screenY=200');voi

[flexcoders] TREE : open all the branches of one tree

2005-05-02 Thread david_gal-reyniez
Hi everybody,   I try to create a function allowing me to open all the branches of my tree. Problems i face with are :   1. I open only the first branch 2. The number of items i count = the number of items i see - the number of children of the new opened branch   Here is my function :

RE: [flexcoders] Split up flex-config.xml

2005-05-02 Thread Dirk Eismann
Hi, (B (Bif you open your Flex server's web.xml file you'll find an entry that (Bconfigures the RemoteObject gateway. (B (BThere you can define the location where the whitelist gets read from. By (Bdefault this is the /WEB-INF/flex/flex-config.xml file but I think you can also (Bpoint to

[flexcoders] Split up flex-config.xml

2005-05-02 Thread Yokota Satoshi
Hello, (B (BI'm using Cairngorm framework, and I use a lot of RemoteObjects. (BSo, the flex-config.xml file is large in size. (BI really want to split up flex-config.xml. (BI know, in Apache Struts framework, web.xml can (Bsplit up struts-config.xml by using comma-deliminated. (BCan Flex do

Re: [flexcoders] Size up with Validation Message font size

2005-05-02 Thread Yokota Satoshi
Hi Matt, (B (BOops, I lapsed. (BSo, if I want to change styles dynamically, I can use StyleManager. (BAnd if I want to change styles without changing the source code, (BI can use CSS. Is that right? (B (B> CSS is eventually translated into calls to setStyle so there isn't much of a (B> diff

RE: [flexcoders] HTTPService HTML Encoding/Parameter Issues

2005-05-02 Thread Rick Bullotta
Hi, Matt!  What about the encoding topic?  Known issue? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt Chotin Sent: Sunday, May 01, 2005 11:50 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] HTTPService HTML Encoding/Parameter Issues  

[flexcoders] dynamic menu

2005-05-02 Thread prasad
hi,    i am trying to create a menu dynamically using a xml file obtained from a web service.  my code snippet looks some thing like this.    http://chn-atg31/cmsex/contentws.asmx?WSDL">                {contentws.GetXMLDocumentString.result}      {xmldata3}   //GetXMLDocumentString function ret