Ri: [flexcoders] Flex 2 problem about remoteo bject in tomcat

2006-04-25 Thread sank xuan
I got the root cause: the JSM service do not be install in tomcat, and who can offer some guide or link for installing the JMS in tomcat ,such as activeMQ ?and it muddle me that why flex 1.5 remote object do not need JMS but needbyflex 2.0 ... more complex ...more heavy...thanks -

RE: [flexcoders] Uncaught exceptions in Flex 1.5

2006-04-25 Thread Sergey Kovalyov
But is there any way to centralize the calling code? The only solution I see is to create own Delegate class with try..catch..finally statement and also with static method execute() that executes any function in any context using this Delegate class. That static method execute() is not

[flexcoders] How to user setInterval() to call the remoteobject method?

2006-04-25 Thread loveewind
Hi All, I have a piece of code below: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml initialize=test() mx:RemoteObject id=EJBUserProxy source=net.wind.proxy.UserProxy mx:method name=getUserInfo result=setCurrentUser (event.result)/mx:method

[flexcoders] Re: Flex2B2 - calling a function in the base class to manipulate a base string var

2006-04-25 Thread bhaq1972
Please ignore. my mistake (noticed it while i was trying to make a testcase) --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Yes, I would expect that to work. Can you provide a complete testcase? -Original Message- From: flexcoders@yahoogroups.com

[flexcoders] How to access the tag name in a tree XML data provider

2006-04-25 Thread greenfishinwater
In my tree I use an XML based data provider. An example is: category name=cat 1 code=001 group name=group 1 code=987 brand name=barnd 1 code=ABC/ /group /category When a user opens a tree node, I can access an attribute as: var n:String = [EMAIL PROTECTED]; How can I access the tag name

[flexcoders] Objects and arrays as treeview datasource

2006-04-25 Thread Jonas Windey
Hi, Im trying to fill my treeview with data retrieved from a webservice. I have my resultformat set to default (Object), as e4x or xml doesnt give the correct result. Filling a datagrid with the data I retrieve works perfectly, but the problem is when there are nested objects in

[flexcoders] Re: How to access the tag name in a tree XML data provider

2006-04-25 Thread greenfishinwater
I forgot to mention that this is using Flex 2 Beta 2 --- In flexcoders@yahoogroups.com, greenfishinwater [EMAIL PROTECTED] wrote: In my tree I use an XML based data provider. An example is: category name=cat 1 code=001 group name=group 1 code=987 brand name=barnd 1 code=ABC/ /group

[flexcoders] Re: Dynamic create child in Flex1.5

2006-04-25 Thread sinacapho
Dear all, that mean can i do at this way? var component_name = My_Component; My_VBox.createChild(mx.utils.ClassUtil.findClass(component_name),undefined); But i fail in using this method_ . can someone help me? thx capho --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED]

RE: [flexcoders] Re: Looping output

2006-04-25 Thread Karl Johnson
When you say loop over components, do you mean loop over existing UI objects? Or do you mean create UI objects? If you are creating, then do something like the following to create a label and/or textbox control for each index of the array returned: For loop { var newLabel =

[flexcoders] Autocompletion textfield

2006-04-25 Thread sinacapho
Dear all, is there any help about the autocompletion textfield in Flex 1.5, basically i want to use web service to refresh ,can somebody have any resource about that? thx capho -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search

Re: [flexcoders] How to user setInterval() to call the remoteobject method?

2006-04-25 Thread Joshua Garnett
Try calling setInterval like this, intervalID = setInterval(this,getUser,1); Also, in the getUser function add clearInterval(intervalID);--JoshOn 4/25/06, loveewind [EMAIL PROTECTED] wrote: Hi All, I have a piece of code below:?xml version=1.0 encoding=utf-8?mx:Application

[flexcoders] Flex 1.5 ViewStack child creation

2006-04-25 Thread nahruka
I'm using the following ViewStack within my application: mx:ViewStack id=myViewStack height=100% cmp:FirstView id=firstView / cmp:SecondView id=secondView / cmp:ThirdView id=thirdView / /mx:ViewStack I've been reading about the ViewStack component and found that children (except the first

[flexcoders] Re: How to user setInterval() to call the remoteobject method?

2006-04-25 Thread Suzy Lawson
Or changing the method to like this would work: (notice the parenthesis) function test(){ setInterval(getUser(),3000); } --- In flexcoders@yahoogroups.com, Joshua Garnett [EMAIL PROTECTED] wrote: Try calling setInterval like this, intervalID = setInterval(this,getUser,1); Also, in

[flexcoders] Re: Autocompletion textfield

2006-04-25 Thread Suzy Lawson
Sho posted a nice example in Flex 2.0. It works pretty much the same way in 1.5. http://weblogs.macromedia.com/sho/archives/2006/04/new_version_of.cfm mx:TextInput id=myBox keyDown=callWebService();/ --- In flexcoders@yahoogroups.com, sinacapho [EMAIL PROTECTED] wrote: Dear all, is

[flexcoders] Re: Attaching component dynamically

2006-04-25 Thread flexlearner
yeah understood! thanks a lot Regards Flex Learner --- In flexcoders@yahoogroups.com, Doug Lowder [EMAIL PROTECTED] wrote: No, the Repeater is not a container; you will need to place a repeater object within a container (I used VBox in the sample, but any container should do). You

Re: [flexcoders] Flex 1.5 ViewStack child creation

2006-04-25 Thread Stanislav Zayarsky
>From Help: Navigator containers such as Accordion, TabNavigator, and ViewStack implement the auto policy by creating all their children immediately, but wait to create the deeper descendants of a child until it becomes the selected child of the navigator container. So if you want to create

RE: [flexcoders] Re: Flex 1.5 - Cairngorm .99 - Binding VO to TextInput help please

2006-04-25 Thread Robert Brueckmann
Thanks Suzy but my problem isn't with populating a combobox...my combobox of users populates just fine, when I select a user from the list and the user is fetched, the user object whose fields are bound to various textinput fields in my form are not shown...it's only when I 'touch' the file and

[flexcoders] [Flex2 Beta2] setting up flex/coldfusion connectivity on j2ee multiserver installations

2006-04-25 Thread Thomas Rühl -akitogo-
hi flexcoders, is there any possibility to get the flex/coldfusion connectivity up and running already with the beta2 versions available from labs? i read in some forums and ben's blog, that this will only be supported in the final version (or possibly later betas)... for that, the

[flexcoders] Re: Autocompletion textfield

2006-04-25 Thread Suzy Lawson
Capho- Sorry, to elaborate more. You could have a canvas below the text box that by default is set to visible=false...and then appears as data comes back...something like this. Hope this helps get you going ?xml version=1.0 encoding=utf-8? mx:Application

[flexcoders] Flex2b2 - DataGrid bug - using ArrayCollection of ValueObjects as data provider

2006-04-25 Thread Andrea Varga
Hi Here is my vrey simple test: http://virtualro.co.uk/~andi/flex/datagrid/Test1.html View Source is enabled. Conains 2 very simple files. You can see that the first DataGrid works well, the second does not. The only difference between them is the structure of the dataprovder. The first one

[flexcoders] Re: Flex 1.5 - Cairngorm .99 - Binding VO to TextInput help please

2006-04-25 Thread Suzy Lawson
Have you tried debugging? set a breakpoint in your onResult of the Command class and where you explictly set the selectedUser in the model locator. Once that line has passed, you should stop again then check your text box to see if it has the value. I find I get a lot further debugging then

[flexcoders] Re: Flex 1.5 ViewStack child creation

2006-04-25 Thread nahruka
Hi Stanislav, what I'm trying to do is just the opposite: avoid children to be created at the begining. After reading the documentation I can't understand why this is happening... I've put a trace sentence at the initialize property of each child and I've debugged the application. The trace

[flexcoders] Re: Dynamic create child in Flex1.5

2006-04-25 Thread bhaq1972
dont forget your component_name has to be the full name, including the folder structure. eg if My_Components sits in a folder called MyComponents then your full name is MyComponents.My_Component --- In flexcoders@yahoogroups.com, sinacapho [EMAIL PROTECTED] wrote: Dear all, that mean

Re: Ri£º [flexcoders] Flex 2 problem about remoteobject in tomcat

2006-04-25 Thread Peter Blazejewicz
Hello sank, there's someone who already wrote such tuto: http://www.silver-island.com/arts/flex/FDS2.0_on_Tomcat/jms_chat_on_ tomcat.html good luck! :D kind regards, Peter Blazejewicz -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

[flexcoders] Re: Flex2b2 - DataGrid bug - using ArrayCollection of ValueObjects

2006-04-25 Thread Peter Blazejewicz
Hi Andrea, your VO should implement IUID interface, that's discussed on list already, http://www.cflex.net/flexcoders.cfm?Message=msg25112.html http://livedocs.macromedia.com/labs/1/flex/langref/mx/core/IUID.html you can also mark your classes dynamic and flex will assing uuid itself

[flexcoders] Re: (Flex20 Beta2): RemoteObject Destination configuration problem

2006-04-25 Thread aejaz_98
Thanks for your reply. I am precompiling the SWFs using flex builder. The value present in the Additional compiler arguments field is, -services C:\tomcat\webapps\flex\WEB-INF\flex\flex-enterprise-services.xml when I change it to, -services

[flexcoders] Reference Errors, Flex Beta 2

2006-04-25 Thread Harris Reynolds
Has anyone seen the Flash Player spew out some Reference Errors when trying to load a Flex 2 compiled movie? I saw it once last week and a co-worker saw it yesterday on an application that I could load fine. Below is an example of the errors. This error only comes up sporadically, and does

RE: 回复: RE: [flexcoders] Flex 2 probl em about remoteobject in tomcat

2006-04-25 Thread Peter Farland
You shouldn't have both "localhost" and "{server.name}" in your channel-definitionendpoint uri="..." From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sank xuanSent: Tuesday, April 25, 2006 12:45 AMTo: flexcoders@yahoogroups.comSubject: 回复: RE: [flexcoders] Flex 2

RE: Ri: [flexcoders] Flex 2 problem abo ut remoteobject in tomcat

2006-04-25 Thread Peter Farland
Just comment out the messaging service include in your /WEB-INF/flex/flex-enterprise-services.xml file. !-- service-include file-path="flex-message-service.xml" / -- The messaging service has a JMS adapter registered which you don't need unless you're planning on using the messaging

[flexcoders] Re: force image reload

2006-04-25 Thread Peter Blazejewicz
Hello Andrea, do you mean something like preventing using cached images? try something similiar: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml xmlns=* creationComplete=initApp(); mx:Script ![CDATA[ import mx.controls.Alert; [Bindable]

RE: [flexcoders] Re: (Flex20 Beta2): RemoteObject Destination configuration problem

2006-04-25 Thread Peter Farland
You must always point --services to the top level services file, which is flex-enterprise-services.xml. The flex-remoting-service.xml is merely an include to this top level file (see the service-include tag pointing to this and the other services in the top level flex-enterprise-services.xml

[flexcoders] Binding with Child Object In Flex 2.0

2006-04-25 Thread vestcomprogrammer
Before in flex 1.5 I have this mx:Binding destination=this.DesignView[0].incomingDescription source=AssetTitle.text / In Flex 2.0 Beta 2 this does not seem to work. Thanks Bill -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search

[flexcoders] Re: Flex 2.0 Remote Objects over SecureAMFChannel (HTTPS) in Apache or IIS

2006-04-25 Thread Steven Toth
No, nothing really changed in the flex config. files other than the port when I was going directly through Tomcat and JRun. When going through Apache and IIS they stayed the same . I'd say with near certainty the port is configured correctly since I'm seeing the Command and Acknowledge

[flexcoders] Re: How to access the tag name in a tree XML data provider

2006-04-25 Thread pasflex
Try something like: var tagName:String = node.name().toString(); --- In flexcoders@yahoogroups.com, greenfishinwater [EMAIL PROTECTED] wrote: I forgot to mention that this is using Flex 2 Beta 2 --- In flexcoders@yahoogroups.com, greenfishinwater greenfishinwater@ wrote: In my tree

[flexcoders] Flex 2 not maintaining order of web service parameters.

2006-04-25 Thread ilia_papas
Hello, I've been unable to get Flex to submit parameters to a web service method in a consistent order. I'm using Flex 2 beta 2 and a web service running on JBoss 4.0.4CR2 using annotations. This problem has been described in the following locations: -Macromedia Forum: Webservice always

RE: [flexcoders] Flex2b2 - DataGrid bug - using ArrayCollection of ValueObjects as data provider

2006-04-25 Thread Tobias Patton
Hi Andi; Your TestVO class needs to implement the IUID interface. Tobias. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrea Varga Sent: Tuesday, April 25, 2006 6:03 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex2b2 -

[flexcoders] Flex1.5 Cairngorm ModelLocator and VO's

2006-04-25 Thread Simon Fifield
Hi, I've made some tweaks to the cairngorm framework for my own purposes, but I would like to ask your opinion of a feature I would like to add. Scenario: User logs in and the Value Objects are all filed with data using Java RemoteObjects. User does lots of stuff then wants to log out. Now I

[flexcoders] Re: (Flex20 Beta2): RemoteObject Destination configuration problem

2006-04-25 Thread aejaz_98
Hi Peter, Thanks for your reply. flash-remoting-service.xml is indeed included in flash-enterprise-services.xml. From your reply, it seemed to me that I should have the correct destination in flash-remoting-service BEFORE I attempt to save the project from the Flex builder(which in turn

[flexcoders] darron schall : My FITC 2006 ActionScript 3 Slides

2006-04-25 Thread Philippe Maegerman
Good reading, especialy the Open Source Commodore 64 Emulator written in ActionScript 3 :)) http://www.darronschall.com/weblog/archives/000226.cfm //Pim DISCLAIMER: The content of this e-mail message does not constitute a commitment of S.A. Emakina N.V. This e-mail and any attachments

[flexcoders] Re: Uncaught exceptions in Flex 1.5

2006-04-25 Thread maxym.hryniv
Hy guys, I have the same problem. Can someone give a response??? It's really hard to develop without exceptions handling. --- In flexcoders@yahoogroups.com, Sergey Kovalyov skovalyov. [EMAIL PROTECTED] wrote: But is there any way to centralize the calling code? The only solution I see is

[flexcoders] Flex2B2 - Need to hit 'tab' key twice to fire datagrid.itemEditEnd

2006-04-25 Thread bhaq1972
I have noticed that if you set the editedItemPosition first (on an editable datagrid), it takes two hits on the tab key to trigger the datagrid itemEditEnd event. I'm sure it should trigger straight away. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml

[flexcoders] Re: (Flex20 Beta2): send failed for RemoteObject

2006-04-25 Thread aejaz_98
Hi Peter, Thanks for your reply please disregard my previous message. I recompiled the application now I am getting send failed error message. Can you please take a look at the mxml to see if anything is wrong. I am very new to mxml might have had overlooked something obvious. Thanks,

RE: [flexcoders] Re: Flex 1.5 - Cairngorm .99 - Binding VO to TextInput help please

2006-04-25 Thread Simon Fifield
Are/have you used a validator with a bound field anywhere in this file? If so you may be experiencing the same problem as I did. I wasted days trying to figure out why my Binding had suddenly broken down on several forms. I was using about 6 or 7 validators per form and the fields in the forms

RE: [flexcoders] Flex hangs when server times out session

2006-04-25 Thread jfournet
I am calling a remote object on the jboss server with tomcat 5.5. We are using custom authentication, we use setusernamepassword on the remote object to set the authorized user. We are using flex 1.5.Thanks, BrentMatt Chotin [EMAIL PROTECTED] wrote: Hi Brent,I checked with QA here but

RE: [flexcoders] Flex hangs when server times out session

2006-04-25 Thread jfournet
Encoding on the remote object is set to AMFMatt Chotin [EMAIL PROTECTED] wrote: Hi Brent,I checked with QA here but no one had seen hangs like you describe. Sowe need more info as to what your setup entails. What channel are youusing? What kind of destination are you hitting (RemoteObject

RE: [flexcoders] Flex 2 not maintaining order of web service parameters.

2006-04-25 Thread Jonas Windey
Try reading the comments on this page: http://jeff.mxdj.com/as3_datamanager.htm I always pass the arguments in an object, and so far no problems.. var args:Object = new Object(); args.yourParam = first param; etc. Good luck -Original Message- From: flexcoders@yahoogroups.com

[flexcoders] Adding addEventListener too a Child object

2006-04-25 Thread vestcomprogrammer
I am trying to add a addEventListener to a child object in Flex 2.0 beta 2 and I have tried this DesignView[0].addEventListener (selectionChanged, valueChanged(this)); but this does not seem to work. Anyone know how? Thanks Bill -- Flexcoders Mailing List FAQ:

[flexcoders] Long chart labels in beta2

2006-04-25 Thread chrisvet2001
Is there some way to tell charts (specifically bar charts) to automatically wrap long labels for the chart items? I've done it manually by inserting chr(13)'s into the query being returned by my CFC, but it's doing an align left and the results are not pretty. Thanks, Chris --

RE: [flexcoders] Adding addEventListener too a Child object

2006-04-25 Thread Karl Johnson
Not positive about flex 2, but in Flex 1.5 I would do DesignView.getChildAt(0).addEventListener(eventType, handler); (assuming DesignView is the parent container). Does that work in F2B2? | Karl Johnson Cynergy Systems, Inc. -Original Message- From: flexcoders@yahoogroups.com

[flexcoders] Re: Looping output

2006-04-25 Thread Jeremy Rottman
That is exactly what I was talking about karl. --- In flexcoders@yahoogroups.com, Karl Johnson [EMAIL PROTECTED] wrote: When you say loop over components, do you mean loop over existing UI objects? Or do you mean create UI objects? If you are creating, then do something like the

RE: [flexcoders] Re: Flex 1.5 - Cairngorm .99 - Binding VO to TextInput help please

2006-04-25 Thread Robert Brueckmann
Thanks for taking the time for the detailed reply Simon! I WISH it was validator related. In one instance, I am using a validator but the first time I saw this behavior was in a simple MXML file that had 3 lists that get populated with 3 separate message types and directly next to the lists is

RE: [flexcoders] Re: Flex 1.5 - Cairngorm .99 - Binding VO to TextInput help please

2006-04-25 Thread Simon Fifield
Hi Robert, Although on the surface of things our problems were not the same, I'll bet it's the same thing somewhere under the hood of the Flex 1.5 compiler that is causing these strange binding problems to occur. I keep reading of more and more people that are encountering this

RE: [flexcoders] Flex 2 not maintaining order of web service parameters.

2006-04-25 Thread Peter Farland
This is a known issue in Beta 2, should be addressed in Beta 3. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ilia_papas Sent: Tuesday, April 25, 2006 11:06 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex 2 not maintaining

[flexcoders] Re: (Flex20 Beta2): send failed for RemoteObject

2006-04-25 Thread aejaz_98
The detailed error message in this case is, Channel.Connect.Failed error Netconnection.Call.Failed:HTTP:Failed My flex-remoting-service.xml looks as follows, default-channels channel ref=my-amf/ /default-channels destination id=EchoString properties

RE: [flexcoders] Flex1.5 Cairngorm ModelLocator and VO's

2006-04-25 Thread Simon Fifield
Haha, No need for me to add reset() methods to all my VO's because I've just added a reInitialise() method to the ModelLocator that reintialises all the Models. Now I need to do similar thing for my ViewHelpers to make the view go back to their normal state when a user logs in. Simon

RE: [flexcoders] Re: Flex 1.5 - Cairngorm .99 - Binding VO to TextInput help please

2006-04-25 Thread Robert Brueckmann
I'll play with the config file and let you know what I find...thanks again for the help! Gotta love these things that you spend days on with no obvious cause...grrr! Thanks again! Cheers, robert l. brueckmann vice president merlin securities 595 madison avenue new york, ny 10022 p:

RE: [flexcoders] Re: Flex 1.5 ViewStack child creation

2006-04-25 Thread Tracy Spratt
Perhaps your components are initialized, but the child controls are not? Put a trace on the initialize event of a child control, see if it fires. Also, try a trace on the creationComplete or childrenCreated events on the component as well. Tracy -Original Message- From:

RE: [flexcoders] Re: (Flex20 Beta2): send failed for RemoteObject

2006-04-25 Thread Peter Farland
Ah, yes, you need to specify --context.root on the command line as the client can't tell what the context root is (i.e. because you can have the default context root it can't make assumptions as to whether the first level under the webroot is a subdirectory or a context root).

[flexcoders] Re: Flex 2 not maintaining order of web service parameters.

2006-04-25 Thread ilia_papas
Thanks for the quick response, though the problem still exists for me if I put them into an object. It seems in its current state, Flex cannot enforce the order in which arguments are provided. I have found a way to have JBoss disregard the order of arguments by editing the wsdl and

[flexcoders] Re: (Flex20 Beta2): send failed for RemoteObject

2006-04-25 Thread aejaz_98
Thanks Peter. Please let me know how exactly to do that. Do you mean add --context.root C:\tomcat\webapps\flex while starting tomcat i.e. catalina start --context.root C:\tomcat\webapps\flex Is that right ? Thanks, Aejaz --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED]

Re: [flexcoders] Re: force image reload

2006-04-25 Thread Andrea Varga
Hi Peter, I didn't mean preventing caching. I knew the trick there. But, actually, your solution can be used for my problem too. Thanks, Andi Peter Blazejewicz wrote: Hello Andrea, do you mean something like preventing using cached images? try something similiar: ?xml version=1.0

RE: [flexcoders] Re: Flex 1.5 - Cairngorm .99 - Binding VO to TextInput help please

2006-04-25 Thread Suresh Akula
Hello Robert, Have you tried setting creationPolicy ?. Just say creationPolicy=all --Suresh Akula --- Robert Brueckmann [EMAIL PROTECTED] wrote: I'll play with the config file and let you know what I find...thanks again for the help! Gotta love these things that you spend days on

[flexcoders] Re: Looping output

2006-04-25 Thread Jeremy Rottman
I am still working on this. And I have run into an issue. When I create a child, I need to give that child a unique id. I tried 'grid' i to make it unique, but that doesnt work. Here is hte code I am trying for ( var i:Number=0;iresult.length;i++){ var newGrid =

RE: [flexcoders] Re: (Flex20 Beta2): send failed for RemoteObject

2006-04-25 Thread Suresh Akula
Hello Aejaz, I am not getting why you are mentioning the complete URI path in endpoint, can't we avoid http://{server.name}:{server.port}/{context.root}/ Just say /messagebroker/amf the context root will take from the browser URL. channel-definition id=my-amf

[flexcoders] Flex 2 B 2 + Cairngorm 2 - Simple Question

2006-04-25 Thread Darren Houle
I'm fairly new to Flex and really new to Cairngorm and am trying to break Cg2 down and understand it (I'm not trying to understand Cg.99 and then learn Cg2, I'm just jumping into 2.) I have a quick question: In the Cg2 sample CairngormLogin.mxml theres a Label in the loggedIn VBox...

Re: [flexcoders] Re: Looping output

2006-04-25 Thread Suresh Akula
Hello Rottman, You already created the newGrid and assigned a dynamic id to that. Why can't you use the same intance variable name in the rest of the code. i.e. var newGridRow = parentApplication.closing.newGrid.createChild(mx.containers.GridRow, undefined); --Suresh Akula. --- Jeremy

[flexcoders] Re: (Flex20 Beta2): send failed for RemoteObject

2006-04-25 Thread aejaz_98
Hi Peter,Thanks for taking the time to patiently answer my questions. Unfortunately, I am still unable to proceed. I changed the following line(in flex-enterprise-services.xml under channel definition for my-amf),endpoint uri="http://{server.name}:{server.port}/{context.root}/messagebroker/amf"

Re: [flexcoders] Flex 2 B 2 + Cairngorm 2 - Simple Question

2006-04-25 Thread Suresh Akula
Hello Darren, its good partice to typecast with orginal object and invoke the object members. --Suresh Akula. --- Darren Houle [EMAIL PROTECTED] wrote: I'm fairly new to Flex and really new to Cairngorm and am trying to break Cg2 down and understand it (I'm not trying to understand

[flexcoders] Re: Looping output

2006-04-25 Thread Jeremy Rottman
Well I tried what you said Suresh, and it is still a no go. Here is my updated code. for ( var i:Number=0;iresult.length;i++){ var newGrid = parentApplication.closing.createChild(mx.containers.Grid, undefined); newGrid.id = grid + i; newGrid.x = 10; newGrid.y =

Re: [flexcoders] Flex 2 B 2 + Cairngorm 2 - Simple Question

2006-04-25 Thread Darren Houle
But when? Why? In every case? If that was a generic, universal rule and you're supposed to cast everything as it's original object type then a little further in the line we should see: ' at ' + Date(model.loginDate) } / I'm just curious why the LoginVO is cast here. Is there some rule like

Re: [flexcoders] Re: Looping output

2006-04-25 Thread Suresh Akula
try it out this parentApplication.closing.createChild(mx.containers.Grid, undefined,{id = grid+i}); --Suresh --- Jeremy Rottman [EMAIL PROTECTED] wrote: Well I tried what you said Suresh, and it is still a no go. Here is my updated code. for ( var i:Number=0;iresult.length;i++){

Re: [flexcoders] Re: (Flex20 Beta2): send failed for RemoteObject

2006-04-25 Thread Suresh Akula
As per the below code change the endpoint to endpoint uri=../messagebroker/amf class=flex.messaging.endpoints.AMFEndpoint/ as the URL to which I go form the browser is http://localhost:8080/flex/SimpleRemoteObject/SimpleRemoteObject.html from the URL it takes the http://localhost:8080/flex

[flexcoders] Re: mx:States and databinding issue

2006-04-25 Thread sof4real03
I'm at a loss here, Anybody having any issues with binding in States? --- In flexcoders@yahoogroups.com, sof4real03 [EMAIL PROTECTED] wrote: After tracing my code, I'm sure that the event is being propagated, but the button still doesn't become enabled even when the forms are valid. Could

Re: [flexcoders] Re: Looping output

2006-04-25 Thread Suresh Akula
correction parentApplication.closing.createChild(mx.containers.Grid, undefined,{id:grid+i}); --- Suresh Akula [EMAIL PROTECTED] wrote: try it out this parentApplication.closing.createChild(mx.containers.Grid, undefined,{id = grid+i}); --Suresh --- Jeremy Rottman [EMAIL PROTECTED]

[flexcoders] Re: Looping output

2006-04-25 Thread Jeremy Rottman
I have tried that, and still doesnt work. I have tried testing with just this. var newLabel = parentApplication.closing.mainPanel.subCanvas.createChildren(mx.controls.Label, undefined ); newLabel.text = 'test'; newLabel.x = 10; newLabel.y = 300; --- In

[flexcoders] Re: Looping output

2006-04-25 Thread Jeremy Rottman
opps didnt fully explain my last post. I removed the for loop in my function, and tried testing with this. I am trying to create the label on the subCanvas, which is where all my display happens. And I still get nothing. var newLabel =

Re: [flexcoders] Uncaught exceptions in Flex 1.5

2006-04-25 Thread Mykola Paliyenko
Ok Peter, no idea why you've been confused but... ActionScript specification has a notion of throwable objects, so saying that Exception is a bug of the AS2Lib is slightly incorrect. I'm relaizing that due to the size constraints of the player it might be good idea not to include exception

Re: [flexcoders] Re: Looping output

2006-04-25 Thread Suresh Akula
can you explain me why you are using parentApplication.closing.mainPanel.subCanvas. can't you use subCanvas.createChild(...); here is the sample application ?xml version=1.0? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml mx:Script ![CDATA[ function getData1():Array {

Re: [flexcoders] Flex 2 B 2 + Cairngorm 2 - Simple Question

2006-04-25 Thread Suresh Akula
LoginVO is user defined object and where as Date is System defined object, no need to type the these objects. --Suresh --- Darren Houle [EMAIL PROTECTED] wrote: But when? Why? In every case? If that was a generic, universal rule and you're supposed to cast everything as it's original

RE: [flexcoders] Re: Looping output

2006-04-25 Thread Tracy Spratt
So the issue is not assigning an id, but rather that you are not able to successfully use createChild() at all? Could the problem be the reference chain? Can you do it in a sample app? Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [flexcoders] Re: (Flex20 Beta2): send failed for RemoteObject

2006-04-25 Thread Peter Farland
Are you loading your SWF from http://localhost:8080? Or are you using the standalone player by, say, double clicking on the SWF and opening it using SAFlashPlayer.exe? Note that if the SWF isn't loaded from the same domain then you'll need a crossdomain.xml file in the webroot of the

RE: [flexcoders] Adding addEventListener too a Child object

2006-04-25 Thread Gordon Smith
You don't want to be calling valueChanged; you want to be passing a reference to it: DesignView[0].addEventListener(selectionChanged, valueChanged); - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of vestcomprogrammer Sent: Tuesday,

[flexcoders] Re: Looping output

2006-04-25 Thread Jeremy Rottman
I finally got it figured out. BTw this is for F2B2 only. var newLabel:Label = new Label(); newLabel.text = 'TEST'; newLabel.x = 10; newLabel.y = 300; parentApplication.closing.mainBox.addChild(newLabel); --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL

[flexcoders] Flex 2.0 Breeze Preso by Jesse Warden 4/26/2006

2006-04-25 Thread John C. Bland II
Not sure if this is considered spam but figured I'd post it anyway and get blasted later, if it is spam. :-)From gotoAndStop.org:Come see what all the hype surrounding Flex 2.0 is about. Jesse will cover the new Actionscript 3.0, mxml, and other Flex sweetness. This is an exciting time for web

[flexcoders] Re: (Flex20 Beta2): send failed for RemoteObject

2006-04-25 Thread aejaz_98
Thanks Peter, I am loading the SWF from the following URL, http://localhost:8080/flex/SimpleRemoteObject/SimpleRemoteObject.html Do I still need crossdomain.xml as Tomcat is running locally. If so what will this file contain in which directory I should create it. Thanks, Aejaz --- In

RE: [flexcoders] Uncaught exceptions in Flex 1.5

2006-04-25 Thread Peter Farland
Hi Mykola, Have you used the debug versions of the Flash Player during development? The debug version of the Flash Player reports uncaught exceptions and it also traces information to a flashlog.txt file as long as you have a mm.cfg file setup in your user directory. We include debug

[flexcoders] labs.abobe.com redirect??

2006-04-25 Thread Rick Schmitty
Hi all, I'm tring to get to labs.adobe(or marcormedia).com and I keep getting redirected to http://www.macromedia.com/cfusion/mmform/index.cfm?name=labs_earlybird I've put in my email and such, but it still redirects me there. Is there a new site for the labs? -- Flexcoders Mailing

Re: [flexcoders] labs.abobe.com redirect??

2006-04-25 Thread John C. Bland II
This shouldn't be happening anymore. The internal Labs team has been notified and it was working for me earlier but seems to be back to the same old tricks.From what I've heard so far...internal is looking into it. On 4/25/06, Rick Schmitty [EMAIL PROTECTED] wrote: Hi all, I'm tring to get

[flexcoders] Re: Looping output

2006-04-25 Thread Jeremy Rottman
Well tracy, it is assinging the id perfectly fine. But when I try to set the canvas width or height to 100% I get this error. Implicit coercion of a value of type 'String' to an unrelated type When I try to set it to 100% with out the '' I get this error. Expecting primary _expression_

RE: [flexcoders] Re: (Flex20 Beta2): send failed for RemoteObject

2006-04-25 Thread Peter Farland
No, you shouldn't need a crossdomain.xml file in this case. So long as you're sure that you're recompiling with the updated configuration each time that you make a change, and so long as this files contents matches what is on the server, and so long as you've tried replacing tokens with hard

[flexcoders] What happened with labs.macromedia ????

2006-04-25 Thread mvbaffa
I am trying to open the site and I receive a notification message ! Does anyone knows what hapenned -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com

[flexcoders] SVG as Image source at runtime in Flex 2.0?

2006-04-25 Thread willchapm
In Beta2, I can only use an SVG as an embedded source for an Image. I'd like to be able to set an Image source to an SVG URL at runtime. Will this be possible in a later beta, or in the shipping version of Flex? Thanks, ---Will Chapman -- Flexcoders Mailing List FAQ:

[flexcoders] Re: Turn off Validators

2006-04-25 Thread mvbaffa
Thanks Tim, I will try it !!! --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: If you just want to turn off the visual indication, you can clear the errorString property of the control. Tip: For custom validation, you can write your own error message to errorString.

Re: [flexcoders] labs.abobe.com redirect??

2006-04-25 Thread John Dowdell
True. There are *many* redirects being edited each day now, in advance of the next phase of adobe.com/mm.com integration. One of the redirects in last night's bunch was wrong, and got propagated out to some external servers. The cause in this case is fixed, but may take awhile to propagate

[flexcoders] Eclipse Plugin for Flex 1.5?

2006-04-25 Thread Dmitry Miller
Gentlemen, Forgive my possibly naive question. But is there an Eclipse plugin for Flex 1.5 and AS 2? And if not, would I be able to use the plugin for Flex 2.0 for development in Flex 1.5 and AS2? Cheers, Dmitry -- Flexcoders Mailing List FAQ:

Re: [flexcoders] Eclipse Plugin for Flex 1.5?

2006-04-25 Thread John C. Bland II
FB 2 outputs swf's built for Flash Player 9 (formerly 8.5). Unless there is something I haven't seen...strictly AS 3 here.On 4/25/06, Dmitry Miller [EMAIL PROTECTED] wrote: Gentlemen, Forgive my possibly naive question. But is there an Eclipse plugin for Flex 1.5 and AS 2? And if not,

Re: [flexcoders] Eclipse Plugin for Flex 1.5?

2006-04-25 Thread JesterXL
Try Flashout for your GUI: http://www.osflash.org/flashout ASDT for your AS: http://www.osflash.org/asdt MTASC for your compiler: http://www.osflash.org/mtasc You can use Oxygen for XML I think. Darron's got more info here: http://www.darronschall.com/weblog/archives/000182.cfm -

RE: [flexcoders] Flex 2 B 2 + Cairngorm 2 - Simple Question

2006-04-25 Thread Tobias Patton
IMHO, it makes no difference where the object is defined. In general, if the object returned by a function call or accessor is not the type you think it is, then you must cast it to the correct type before calling methods or accessors defined in that type. It gets a little bit complicated, but

RE: [flexcoders] Re: Looping output

2006-04-25 Thread Mark Rausch
Use percentWidth and percentHeight instead -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Rottman Sent: Tuesday, April 25, 2006 3:32 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Looping output Well tracy, it is

RE: [flexcoders] Eclipse Plugin for Flex 1.5?

2006-04-25 Thread Simon Fifield
I use ASDT for the AS code, WTP/WST for editing the MXML files (using the mxml.xsd for the schema) and I use the mxml c as the project compiler from Eclipse. Its great being able to finally do all of my Java/JSP/AS/MXML/XML/PHP/HTML development in one IDE. Eclipse is allowing me to dump

  1   2   >