[flexcoders] Re: Focusing cell on datagrid

2005-10-10 Thread bhaq1972
the way you focus on a cell, is you have to set the datagrid focusedCell property. you could do the following. 1) always save the currentcell position in cellFocusIn 2) make the remoteobject call whenever the datagrid change is trigerred and set a boolean variable. (Now are you sure you want to

RE: [flexcoders] titlewindow move end

2005-10-10 Thread Philippe Maegerman
You could use the mouseUp event to check when the window is released, the 'move' event will be triggered as the component is being dragged. Philippe Maegerman From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXLSent: samedi 8 octobre 2005 3:08To:

Re: [flexcoders] [Ann] Update on Sydney Dev Group Oct Meeting

2005-10-10 Thread Scott Barnes
bugga, i'm in Syd on wed :) oh well. Macromedia do use their own tools to promote finished software. The Studio8 online campaign was fantastic along with others i'm sure. What you all will be seeing on the 17th is a public ALPHA build of the FLEX 2.0 suite. This is the first time they have

[flexcoders] Datagrid bug, two rows selected at the same time.

2005-10-10 Thread Allen Manning
Hello Flexcoders, If I could only give you a simple snippet which could reproduce this Mandelbug, it certainly would make my life easier. But alas, I can only give you a textual explanation with the hope that someone can help shed some light on this. Basically I have a datagrid in

RE: [flexcoders] Cairngorm 2.0

2005-10-10 Thread Alistair McLeod
Hi Vinny, Cairngorm is an open-source project which is overseen by a committee (http://www.richinternetapps.com/archives/95.html). The acquisition of iteration::two by Macromedia does not change that. Cheers, Ali -- Alistair McLeod RIA Practice Director (EMEA) Macromedia Consulting

[flexcoders] HttpService Push (Re: HTTPService timeout)

2005-10-10 Thread Dave Wolf
No not quite. That would be polling. I am *not* suggesting polling. What I am suggesting is using a Blocking Registration pattern to handle this. Basically you get Flex to make an HTTP request to say a servlet in your webserver. That http call will hang. Since the player makes an http

[flexcoders] Please Help!!!!

2005-10-10 Thread AlfrED
I am new with flexand I am having problem understanding how I can communicate with the database (msyql). If there is someone that could help me understand how I can insert data to the database (mysql) using coldfusion and flexI would really appreciate it. A sample code will be great!

[flexcoders] Re: Function using selectedChild does not like the argument I'm sending it

2005-10-10 Thread face7hill
Solved this with: mx.core.Application.application.nextScreenName = eval (event.target.data); --- In flexcoders@yahoogroups.com, face7hill [EMAIL PROTECTED] wrote: Hi Everyone, I have a ViewStack with a bunch of screens in my Main.mxml app. On the first viewstack

[flexcoders] SOLVED: Re: Function using selectedChild does not like the argument...

2005-10-10 Thread face7hill
--- In [EMAIL PROTECTED], face7hill [EMAIL PROTECTED] wrote: Hi Everyone, I have a ViewStack with a bunch of screens in my Main.mxml app. On the first viewstack (mainViewStack.selectedChild=screen0) I'm calling a component (Screen0.mxml). Inside that component, I have a bunch of

Re: [flexcoders] Re: getting to the selected Tree node

2005-10-10 Thread Ramu p
Hi David, The below code solves ur Prblem!!! mx.controls.Alert.show(Label:+event.target.selectedItem[backingObject].label) Just try it out!!! Good luck! On 10/10/05, David Aden [EMAIL PROTECTED] wrote: Oh, also tried: evt.target.selectedNode That does have a child backingObject which does

AW: [flexcoders] PopupManager.createPopUp - varying the className argument

2005-10-10 Thread Christoph Diefenthal
Hi Derrick, Maybe this helps you? You can construct class instances dynamically by getting the constructor for a class with mx.utils.ClassUtil.findClass(aClassName:String); But before you can do it, you have to register a class like this: Object.registerClass(TitleWindowTest, TitleWindowTest);

[flexcoders] Accessing the root of a custom component

2005-10-10 Thread Alban Soupper
Hi all, is there a workaround to the fact that id is not allowed on root node? How can I access the root node of a custom component to change its property? Best regards, Alban. *** This email and any files

Re: [flexcoders] [Flex/Javascript] Javascript function not found when called from Flex

2005-10-10 Thread Ramu p
Hi Manish, I guess the below works out for U!!! Try it out!! Code for Mxml: ?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx=http://www.macromedia.com/2003/mxmlmx:Script ![CDATA[import mx.controls.Alertfunction callJS(){Alert.show(Clicked on Btn)var someText = SomeText from

RE: [flexcoders] [Flex/Javascript] Javascript function not found when called from Flex

2005-10-10 Thread Stephane De Jonckheere
I found what was the problem, it comes from my HTML script tag: it's not type but langage. Sorry for bothering everybody. -Original Message- From: Manish Jethani [mailto:[EMAIL PROTECTED] Sent: vendredi, 7. octobre 2005 20:39 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders]

RE: [flexcoders] [Flex/Javascript] Javascript function not found when called from Flex

2005-10-10 Thread Stephane De Jonckheere
I'm using IE 6.0SP1 and FireFox 1.06. I don't understand why it's not working, all the samples I see on the Internet are like my program. -Original Message- From: Manish Jethani [mailto:[EMAIL PROTECTED] Sent: vendredi, 7. octobre 2005 20:39 To: flexcoders@yahoogroups.com Subject: Re:

RE: [flexcoders] Will browsers support FlashPlayer in the future?

2005-10-10 Thread Bjorn Schultheiss
Today the popularity of the Flash Player is hard to deny. Even Microsoft currently uses it in some of there latest web sites such as Microsoft @ 30 Anyway I think Microsoft would come under a lot of heat if they attempted to drop all use of it from there future browser releases and

[flexcoders] Can I use cftree theAnswerToMyProblems= OBJECT in FLEX???

2005-10-10 Thread carlos77gt
If someone could enlighten me, I would really appreciate it. I've been hacking my brain over this for while. What I want to do is use a cftree format=object that is created in a CFC to populate my Flex tree. How do I transfer the cftree Object to Flex so I can use it as the dataProvider. I'm

Re: [flexcoders] startDrag stopDrag?

2005-10-10 Thread Ramu p
Hi, This may solve ur prob. [This code is a block of class] obj here is same as _rect in your class. I guessyou need not use addEventListener... This works out!!! function createChildren():Void{obj = attachMovie(cir_sym,cir_sym,1)}function onMouseDown():Void{obj.startDrag()}function

[flexcoders] Converting string to xml in a model

2005-10-10 Thread gnaveenrajkumaar
Hello there, ive created a WebService in asp.net that contains a webmethod to read an xml file return as a string in Flex ive added the webservice. i wanted to convert the output string from the webservice to a xml when i used mx:WebService

Re: [flexcoders] Re: calling a secured web service

2005-10-10 Thread Raymond Camden
Not yet, I was hoping it was some simple config issue on my part. Is _no one_ calling a secured web service? I did confirm last week that I could call it via CF, so it is a valid service. This is my second week now of trying to get this to work. Something so basic should _not_ be this much

RE: [flexcoders] Re: calling a secured web service

2005-10-10 Thread Matt Chotin
Well we have it passing in our internal test suites J Have you turned on the debugging in flex-config.xml for the web-service-proxy? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Raymond Camden Sent: Monday, October 10, 2005 9:34 AM To:

RE: [flexcoders] Please Help!!!!

2005-10-10 Thread Allen Manning
Alfie, You need to talk to the server for that. I would look in the docs under Remote Object. Best, al -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of AlfrED Sent: 10 October 2005 03:08 To: flexcoders@yahoogroups.com Subject: [flexcoders]

[flexcoders] a bit OT...eclipse and templates and mxml files

2005-10-10 Thread Douglas Knudsen
ok, I'm using eclipse, the WST drop. I have the XML editor set to for mxml files. How do I create a standard template so that any time I create a new *.mxml file it uses this template? -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? Yahoo!

RE: [flexcoders] Accessing the root of a custom component

2005-10-10 Thread Michael Herron
You dont need an ID as the properties from the super class are within the this scope of the custom component..so if you extended the TextInput and wanted to set the text property: mx:TextInput creationComplete=setDefault() public function setDefault(){ //Sets the text property

Re: [flexcoders] a bit OT...eclipse and templates and mxml files

2005-10-10 Thread Darron J. Schall
Douglas Knudsen wrote: ok, I'm using eclipse, the WST drop. I have the XML editor set to for mxml files. How do I create a standard template so that any time I create a new *.mxml file it uses this template? Windows - Preferences Expand Web and XML, XML Files, click XML Templates, create a

[flexcoders] Calling down?

2005-10-10 Thread Greg Johnson
I have an application and a custom component. I have a line like local:otdTab id=otdt / in the custom component I have created a function called public function initTech() But when I am in the upper level application and try to do otdt.initTech(); the system tells me initTech() is not a

Re: [flexcoders] Re: calling a secured web service

2005-10-10 Thread Raymond Camden
Ahah. We are getting somewhere. So, in the flex-out log file, I see I'm getting an Authentication denied error, even though I'm passing in my credentials. Let me show you my config again, and maybe you can see what is wrong. Obviously the URL is changed, as is the U/P. named service name=foo

RE: [flexcoders] Re: calling a secured web service

2005-10-10 Thread Matt Chotin
Well, can you send the rest of the relevant log? This is just showing the headers and nothing in there seems to point to a problem. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Raymond Camden Sent: Monday, October 10, 2005 11:37 AM To:

[flexcoders] Highly classful architectures

2005-10-10 Thread Marc Teichtahl
Dear All, We are currently evaluating the possibilities to use Flex in our key internal support systems. As part of the evaluation we are looking specifically at a highly classful implementation and archictecture. I would be very curious for any feedback (pros/cons) etc in relation to

Re: [flexcoders] a bit OT...eclipse and templates and mxml files

2005-10-10 Thread Douglas Knudsen
hmm, I do not have that option window preferences Web and XML XML Files XML Templates only has two items, line delimiter setting and encoding setting for new files. No way to add anything. (i do have this ability under HTM Templates though) Me thinks I have an earlier version of the WST

[flexcoders] Accessing the main Application Class

2005-10-10 Thread Marc Teichtahl
Dear all, I would like some advise as to the best method for accessing the main Application class from an external AS. I am trying to achieve a base class that is used by the main application class to supply authentication etc and to at runtime update components and containers in the

RE: [flexcoders] Accessing the main Application Class

2005-10-10 Thread Abdul Qabiz
mx.core.Application.application is reference to application. How are you trying to access it? -abdul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Marc TeichtahlSent: Monday, October 10, 2005 9:31 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders]

RE: [flexcoders] Calling down?

2005-10-10 Thread Abdul Qabiz
Hi, It should work. Can you post code custom component? -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Greg Johnson Sent: Monday, October 10, 2005 9:01 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Calling down? I have an

Re: [flexcoders] Re: calling a secured web service

2005-10-10 Thread Raymond Camden
I responded to Matt offline with my log. He suggested that the web service provider turn off everything but Basic security. Once that was done, things started working great. (Time for a blog posting I think.) Thanks Matt! On 10/10/05, Matt Chotin [EMAIL PROTECTED] wrote: Well, can you send

RE: [flexcoders] Accessing the main Application Class

2005-10-10 Thread Marc Teichtahl
Abdul, Thanks for your quick reply I am passing in "this" in the Application intialize call and keeping this as an Object in the class. Marc TeichtahlXB Networks BVDirector, EngineeringPhone: +31 (0)36 546 24 73Mobile: +31 (0)65 582 47 89[EMAIL

Re: [flexcoders] Accessing the main Application Class

2005-10-10 Thread Manish Jethani
On 10/10/05, Marc Teichtahl [EMAIL PROTECTED] wrote: I am passing in this in the Application intialize call and keeping this as an Object in the class. 'this' depends on context. Where's your initialize handler? Could you post some MXML/AS showing how you're passing the reference to your

[flexcoders] Re: Calling down?

2005-10-10 Thread Greg Johnson
I just figured out what it was. Since for some reason Flex Builder doesn't seem to place nice with other apps including the server (I get major delays and lockups) I run it on a different computer. For some reason builder wasn't syncing correctly. Right now I am just trying to figure out why

Re: [flexcoders] Converting string to xml in a model

2005-10-10 Thread Manish Jethani
On 10/10/05, gnaveenrajkumaar [EMAIL PROTECTED] wrote: var out_xml.parseXml(webservice1.getDocument.result); in flash the similar code returns me an XML object but in flex i'm not able to convert the string to the xml object It's parseXML (not parseXml) IIRC.

RE: [flexcoders] Accessing the main Application Class

2005-10-10 Thread Tracy Spratt
If you plan to bind to the reference in the sub-component(class), you will need to type the variable as the application file name(its class name). Typed as Object, the flex compiler wont be able to set up the event listener/dispatchers properly. I know that this interferes with your

[flexcoders] Reading the displayed value in a DataGrid - How to

2005-10-10 Thread Oscar . Cortes
I am using labelFunction for a column in a datagrid. How can I read the displayed value and not the real value directly from the dataGrid? I am also wondering how to get values from the DataGrid in general. I need to render the DataGrid to a HTML table, I mean, read columns and rows from the

RE: [flexcoders] Converting string to xml in a model

2005-10-10 Thread Tracy Spratt
Would you consider dropping the mx:Model step completely and just keep everything xml? I don't use WebServices much, but if it is returning an xml string then probably the result object is already an xml object. If it is really a string then use: var myXML:XML =

RE: [flexcoders] [Flex/Javascript] Javascript function not found when called from Flex

2005-10-10 Thread Tracy Spratt
I use this regularly. Try dropping the second parameter in the getURL(), the ,void(0) Also test a simpler function, one that takes no args. Are there any script errors shown in the lower left corner of the browser? Create an error to make sure you are actually calling the wrapper you think

RE: [flexcoders] Re: getting to the selected Tree node

2005-10-10 Thread Tracy Spratt
The change event object is a reference to the selected node. So do: evt.getProperty (label) or evt.getProperty (foo) or evt.getData().foo Avoid using backingObject Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ramu p

[flexcoders] [Ann] Tonights Sydney Developers Group

2005-10-10 Thread Chris Velevitch
Flex 2 and Flash Player 8.5 at 6 for 6:30 start (http://www.flashdev.org.au/program) Mark Blair of Macromedia is presenting. Note: All attendees are asked to observe the following restrictions:- No one can take photos / screenshots / recordings etc and blog them This could mean that

[flexcoders] Harley-Davidson Customizer Live with Flex

2005-10-10 Thread Jeff Whatcott
Check it out at: http://www.harley-davidson.com/pr/gm/customizer/launchCustomizer.asp Congratulations to the team at WhitmannHart for creating this beautiful Flex app. Jeff Whatcott -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

[flexcoders] Dynamic Column Chart.( First Post to group )

2005-10-10 Thread sdinvest05
Hi, I have to add Series dynamically to my Column Chart. Also if possible I would like to change horizontalAxis dynamically. I am loading the data as Model in xml file. Please reply. --testGraph.mxml ?xml version=1.0 encoding=iso-8859-1? mx:Application

[flexcoders] hi, i am new to flex, can any one help me how so go with it ?

2005-10-10 Thread gonchu24
hi I am kumar, from bangalore, INDIA. I am a flash user to a standard actionscript usage. now I would like to learn and deploy the power of flex. please any one help me in this. thanks in advance kumar Yahoo! Groups Sponsor ~-- Get Bzzzy!

[flexcoders] Binding a ComboBox to a ViewStack

2005-10-10 Thread face7hill
Hi Everyone, Anybody have any luck binding a ViewStack as a dataProvider for a ComboBox? Is this even possible? I tried a couple of things but all I get is an empty ComboBox. Ideally, I'd like the ComboBox to use the label attribute from the ViewStack and use the ViewStack component id as

Re: [flexcoders] Reading the displayed value in a DataGrid - How to

2005-10-10 Thread Oscar . Cortes
Let me reformulate my question. Usually you can use selectedItem. columnName to read the value of a row/column of a datagrid. This seems to work fine as shown in the Flex Sample Explorer ( example below). But how can you read the value of a computed column that was added in addition to the

RE: [flexcoders] Accessing the main Application Class

2005-10-10 Thread Marc Teichtahl
Abdul My code is import mx.containers.Panel class XBApplication { public var parent:Object; function XBApplication(pParent:Object) { parent = pParent; } function SetMainPanelText() { main_panel.title=test; } } ?xml version=1.0 encoding=utf-8? mx:Application