Re: [flexcoders] Uncaught exceptions in Flex 1.5

2006-04-24 Thread Mykola Paliyenko
Hm... Matt, I thought the problem will be fixed in 2.0, because developing in the runtime that silently ignors the exceptions is absolutely unaceptable for a lot of developers. It is extremely hard to locate problems in this case. I can understand why it is not implemented in Flex 1.5 since

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

2006-04-24 Thread bhaq1972
this is follows on from the post Matt recently answered(thanks btw). i have a function on a base class (MyBox.as..extends a Box) as follows public var myString=; public function someFunction():void { myString = helloworld; } if i now call this function from my extended component (see

RE: [flexcoders] Re: Drag Drop conundrum... BUG?

2006-04-24 Thread Paul Williams
Hi Martin, Did you see my previous reply? I've pasted it below. Thanks, Paul Previous reply: === Hi Martin, Can you post your code? Another guess: Are you using an Array or an ArrayCollection as your dataprovider? My understanding is that you must use an ArrayCollection if

[flexcoders] Resultformat in mx.rpc.soap.WebService

2006-04-24 Thread Jonas Windey
Hi, Im using the webservice class and having difficulties setting the result as the datasource for my treecontrol (it stays 2-dimensional and it doesnt create the child nodes, since the data is all in object/array format). So Im trying to use the e4x format to see if this would help.

RE: [flexcoders] New to Flex, couple of questions

2006-04-24 Thread Sascha Balkau
Ive checked through the block and found 3 Ant build files, but none of them mention the Flex compiler anywhere (compc.exe), not sure if this is helpful. Thanks anyway for the link! Sascha From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf

RE: [flexcoders] New to Flex, couple of questions

2006-04-24 Thread Sascha Balkau
Hi Tracy, An example would be great if you got any. Even if it's in 1.5 I think it will be helpful to understand how AS and Flex works together. Thanks, Sascha -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Saturday,

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

2006-04-24 Thread Steven Toth
Has anyone been able to get Flex 2.0 remote objects to work over a SecureAMFChannel (HTTPS) in Apache or IIS via the JRUN connectors? I have had success over a AMFChannel (HTTP) in Apache and IIS, but have only been able to get it to work over a SecureAMFChannel (HTTPS) when using JRun by

[flexcoders] set print option

2006-04-24 Thread sinacapho
Dear All, is that i can set the default PrintJob.orientation before the printing start? thx capho -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com

[flexcoders] sandbox issue

2006-04-24 Thread flexlearner
hello, I have simple mxml file in which I am importing a swf publish in flash8 I can see the output in flex builder in design mode also get successful compilation result when I compile it by mxmlc command line complier but when I open a sand alone swf i get a dialogue box with these

[flexcoders] 6 Urgent Flex openings in Hyderabad, India

2006-04-24 Thread logicalwaves
Hi Friends, This is Rakesh Reddy from hyderabad. I am working as a Senior Software Engineer in Kanbay Software India Pvt.Ltd. A well known MNC which has more than 5000 employees all over the globe. We have urgent openings for Flex Developers. Requirement as follows.. Positions: 6 Location

[flexcoders] sandbox issue

2006-04-24 Thread flexlearner
hello, I have simple mxml file in which I am importing a swf publish in flash8 I can see the output in flex builder in design mode also get successful compilation result when I compile it by mxmlc command line complier but when I open a sand alone swf i get a dialogue box with these

AW: [flexcoders] Re: update Datagrid but stay in edit mode (Flex 1.5)

2006-04-24 Thread Thomas Ott
Ok, I use the dataProvider API method editField to update the values. Now I don't have to reassign the dataProvider and the focus is still on one of the cells. So far so good But the fields, even the one I just edited, stay empty. I use labelFunctions on the fields to format the numbers When

[flexcoders] Re: Help with Effect on Panel...

2006-04-24 Thread flexabledev
I just figured out why it was not working as expected... To test it out I had Labels as children of each Panel, which means that they were text and as such would not work with the Fade (according to the docs) unless they were embedded. I switched the effect to a Dissolve and everything worked!

[flexcoders] Re: Embedding the fonts of a Tab Label.

2006-04-24 Thread leo4beer
Thanx for the reply, I'll be using icons and not text labels. --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Have you made sure the font is truly embedded, using one of the techniques mentioned in the docs? E.g.,

[flexcoders] Re: Flex2 ButtonBar; Can its buttons be individually enabled or disabled?

2006-04-24 Thread wlbagent
Mike, thanks for the reply. I made a couple of attempts at casting to a button but I must be missing something. Here is a simple example of what I'm talking about. If any row is selected in dg, then all buttons except button A should be disabled. What do I need to do to make this happen?

RE: [flexcoders] New to Flex, couple of questions

2006-04-24 Thread Dirk Eismann
Hi - and welcome to Flex :) MXML files get turned into AS prior compilation and you can do pretty anything either in MXML or AS. A typical usecase is to setup a Controller inside your main Application file. This can be done either in a Script block or by tag syntax as Tracy suggested. Below

Re: [flexcoders] Re: Flex2 ButtonBar; Can its buttons be individually enabled or disabled?

2006-04-24 Thread Oscar . Cortes
You need to import the Button class, and then you can try something like this: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml xmlns=* layout=vertical mx:Script ![CDATA[ import mx.events.ItemClickEvent; import mx.events.ListEvent; // Add this

[flexcoders] Attaching component dynamically

2006-04-24 Thread flexlearner
I created a custom component there are some text Areas in that component This component will be imported in main application My final and simple goal is : To load a xml file -- loop thru the array of node dailly_learning And attach the custom component as many as dailly_learning

Re: [flexcoders] Caurngorm 2 - where to deal with system events?

2006-04-24 Thread JesterXL
I've been using Cairngorm in Flex 1.5, haven't used C2 in Flex 2 yet, thanks for the link! In that case, yep, have to do what Alex suggested. As far as maintainable code, you can extend a Cairngorm Event class (or you own), and attach a callback function to it. Your Command classes can then

RE: [flexcoders] Uncaught exceptions in Flex 1.5

2006-04-24 Thread Peter Farland
Mykola, I'm slightly confused by your post in contrast to what Sergey and Stanislav originally said. I read Sergey's post as that he was having trouble with uncaught exceptions and had to add a lot of code to catch and possibly ignore such errors. I read your post to mean the opposite of

[flexcoders] page change not work when loaded(FB2 beta2 + ColdFusion)

2006-04-24 Thread ZhaoXingdong
hi flexcoders; The idea is I have a container swf, a list swf and an add swf. When container swf is running, it first loads the list swf and displays some buttons like add. The list swf displays data in several pages and you can change the page with a horizontal slide. When add button is

RE: [flexcoders] Flex2B2: JAVA to AS object serialization issue

2006-04-24 Thread Valy Sivec
PeterMatt, declaring the variable in the AS file fixed the JAVA to AS mapping.Thanks a lot. ValyPeter Farland [EMAIL PROTECTED] wrote: Valy, the only bug I know of in this area for Beta 2 has to do with AMF 0. If you're not changing the objectEncoding of the underlying

Re: [flexcoders] F2B2: Deploying sample apps

2006-04-24 Thread Tom Ortega
history manager did the trick! =)Thanks, Matt.-TomOn 4/22/06, Matt Chotin [EMAIL PROTECTED] wrote: Hmm, could be a problem with the HistoryManager, I know we've made some changes there. You can disable the history manager maybe and see how it goes without. From:

[flexcoders] Re: Possible to invoke Flex2b2 compiler as a Java class?

2006-04-24 Thread Avi Flax
Dave, thanks for your help! What you said makes sense, but unfortunately I'm still having trouble with it. Here's my ColdFusion code: cfscript MXMLc = URLClassLoader.LoadJarClass(C:\Program Files\Adobe\Flex Framework 2\lib\mxmlc.jar, flex2.tools.Compiler); Args = '-flexlib C:\Program

[flexcoders] Flex2B2 :: backgroundImage problem :: not working

2006-04-24 Thread Michael Schmalle
Hi, This is an easy solution but, for the life of me I cannot get the background image to show up on anything compiled. When Viewing the ui in Eclipse/plugin FB2, I can see the backgroundImage applied to all the different containers, But, when I export(compile) and view in FireFox, nothing is

[flexcoders] Re: Attaching component dynamically

2006-04-24 Thread Doug Lowder
Hello, You could use a Model tag for accessing the xml within your app, and a Repeater tag to loop through the items and pass their values to your custom component. I'm assuming your component has variables for the category, notes, and date_day xml fields, so code would be something like

[flexcoders] Re: Flex 1.5 Box container component that wraps?

2006-04-24 Thread Dmitry Miller
Andrew, hi You would have to implement your own class that would extend mx.containers.Container class. You would need to implement measure() and layoutChildren() methods. Dmitry --- In flexcoders@yahoogroups.com, Andrew D. Goodfellow [EMAIL PROTECTED] wrote: We're all super familiar with

RE: [flexcoders] Re: Developing Flex Book Example not working in Flex 2 Beta 2

2006-04-24 Thread Stephen Gilson
That is the Developing Rich Clients with Macromedia Flex book which was written for Flex 1.0. You should look at the Flex 2.0 documentation, including the migration guide, if you want to try to get that example working. Validators have changed quite a bit since Flex 1.0. Stephen -Original

[flexcoders] Re: Caurngorm 2 - where to deal with system events?

2006-04-24 Thread Tim Hoff
I had a similar issue with the ap that I'm working on. When the user clicks a search button, I dispatch an event that triggers a command to get data, update the model and change the view. However, I also needed to calculate summary fields (count, totalAmountDue) once the data was retrieved.

[flexcoders] Re: Attaching component dynamically

2006-04-24 Thread flexlearner
Cool! thanks a lot yes i have the variables in my component file and also the xml and component mxml is available to mail application I could import one instance of custom component just the information on repeater component(which in the hirarchy of container class ..am i right? ) was

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

2006-04-24 Thread Steven Toth
I've also setup the flex application to run on Tomcat. Again, it works fine over an AMFChannel (HTTP), but not over a SecureAMF channel (HTTPS). It seems that there's a bug here. The only platform I could get it to work strictly over the SecureAMFChannel is standalone JRun. I was not able

Re: [flexcoders] Re: Caurngorm 2 - where to deal with system events?

2006-04-24 Thread Dominick Accattato
Mybest practice for now is: mx.core.Application.application.dispatchEvent using this syntax will always work. On 4/24/06, Tim Hoff [EMAIL PROTECTED] wrote: I had a similar issue with the ap that I'm working on.When theuser clicks a search button, I dispatch an event that triggers a command to

[flexcoders] Re: Attaching component dynamically

2006-04-24 Thread Doug Lowder
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 can use createClassObject() to create child objects at runtime in AS. MovieClip.attachMovie() should be there as well, although I

[flexcoders] Job Openings - Cynergy Systems

2006-04-24 Thread Carson Hager
Title: Job Openings - Cynergy Systems Hello Flexcoders, We have a number of exciting Flex projects going on here at Cynergy and are looking for a few talented individuals to join our teams in Washington, DC, Houston, TX and Grand Rapids, MI. Who are we looking for? Energetic and

RE: [flexcoders] Re: update Datagrid but stay in edit mode (Flex 1.5)

2006-04-24 Thread Tracy Spratt
Have you traced or otherwise debugged the call to formatNumber? Will it work if the function is in the same file as the labelFunction? Perhaps it is a scope issue? Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Ott Sent: Monday,

[flexcoders] Developing Rich Clients with Macromedia Flex , out of date?

2006-04-24 Thread Alex MacCaw
I'm just starting to learn Flex 2.0 and wondered if Developing Rich Clients with Macromedia Flex is too out of date, or if it's still useful with Flex 2.0. Also, does anyone have any 'getting started' material, like links to tutorials etc. Thanks Alex -- Flexcoders Mailing List FAQ:

RE: [flexcoders] New to Flex, couple of questions

2006-04-24 Thread Tracy Spratt
This very simple sample app consist of three file. One is an ordinary class, one is a class with static methods and the third is the main mxml file, which uses the two utility classes. Tracy ?xml version=1.0 encoding=utf-8? !-- UtilityClassTest.msml -- mx:Application

Re: [flexcoders] Developing Rich Clients with Macromedia Flex , out of date?

2006-04-24 Thread Faisal Abid
Alex MacCaw wrote: I'm just starting to learn Flex 2.0 and wondered if Developing Rich Clients with Macromedia Flex is too out of date, or if it's still useful with Flex 2.0. Also, does anyone have any 'getting started' material, like links to tutorials etc. Thanks Alex --

[flexcoders] Re: Flex2 ButtonBar; Can its buttons be individually enabled or disabled?

2006-04-24 Thread wlbagent
Thanks, Oscar (and Mike). This does answer my question. I was looking for something more dynamic, though, in case buttons were added or removed. I'll tinker a bit more (btnbar.numChildren, etc) but thanks for the jump start. Bill... --- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote:

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

2006-04-24 Thread Robert Brueckmann
I tried searching the archives and couldn't find anything relevant to what we're doing here, so I'm hoping someone can explain something: 1. User logs in 2. XML is returned with all applications user has access to 3. Tab Navigator component is generated on the fly with tabs labeled

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

2006-04-24 Thread Matt Chotin
Hi Brent, I checked with QA here but no one had seen hangs like you describe. So we need more info as to what your setup entails. What channel are you using? What kind of destination are you hitting (RemoteObject I assume)? How was authentication enforced, constraints on a destination and

[Flexcoders] dispatching from an MXML component

2006-04-24 Thread Webdevotion
Hello,I want to dispatch an onclick event from a datagrid inside Providers.mxml ( = component ).My main mxml should listen to this event, it has the mx:methods tag.How do I do this ?I know about Arp and Cairngorm, but I am just getting into Flex, so first thing first for me. tnx ; ) --

[flexcoders] Help with populating from array

2006-04-24 Thread Jeremy Rottman
in my app, I have a closing screen. The data returned from my cfc is an array of structures. It is retunred like this.1 struct ADDRESS 5119 N 20th St. Phoenix ADDTRANSFEE

RE: [flexcoders] Looping output

2006-04-24 Thread Tracy Spratt
Jeremy, have you looked at the for loops? for (var i:Number=0;imyArray.length;i++) { oElement = myArray[i]; } Or for (var key in myObject) { oTemp = myObject[key]; } Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Rottman

[flexcoders] Re: dispatching from an MXML component

2006-04-24 Thread Tim Hoff
Hi, If you click inside the dataGrid tag and press the space bar, you will see a list of code hinting properties and events, that are available to the control. To dispatch an onclick event, you should have something like click=dispatchEvent(event); or click=runMyFunction (); inside of the

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

2006-04-24 Thread aejaz_98
Hi,I have created a very simple 2 state mxml file(attached below) where you submit a name which is passed to a RemoteObject which appends "Welcome "to the input string returns the whole string back.The java class which does this is,package samples.SimpleRemoteObject;public class Echo { public

[flexcoders] Re: Looping output

2006-04-24 Thread Jeremy Rottman
I am trying to loop over components. Like Labels and text. So depending on how many records I return it outputs that many sets of labels and text components. --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: Jeremy, have you looked at the for loops? for (var

[flexcoders] Re: Help with populating from array

2006-04-24 Thread Jeremy Rottman
The object returned are not as object. They are objects returned from my cfc. As an array of strcutures. I need to pull the first record from the first object called GCI in my array.The array I return from my cfc looks like this. In Array Object 1, I need to pull the strcut object GCI and use

[flexcoders] context-menu in flex...

2006-04-24 Thread Rajni
Hi, Can anybody tell me that how to customize the context-menu in flex? or how to disable right-click menu in flex? Thanks -Rajni -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

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

2006-04-24 Thread Peter Farland
Are you precompiling the SWFs? If so, are you specifying --services and pointing to the configuration file at compile time with either Flex Buildercompilercommand line arguments or mxmlc command line arguments? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

[flexcoders] Flex 2 problem about remoteobject in tomcat

2006-04-24 Thread sank xuan
I meet a issue of remoteObject in flex2, when config a remote object , and call its method, and return detail resultofthis error message "Channel.connect.failed error netconnection.call.failed:http status 500"and even I put the samples in flex2packageto webapp dir of tomcat, also

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

2006-04-24 Thread Matt Chotin
Yes, I would expect that to work. Can you provide a complete testcase? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: Monday, April 24, 2006 1:56 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex2B2 - calling a

回复: [flexcoders] Flex 2 problem about remoteobject in tomcat

2006-04-24 Thread sank xuan
Fotgot it. that site is http://sankeye.go.3322.orgsank xuan [EMAIL PROTECTED] 写道: I meet a issue of remoteObject in flex2, when config a remote object , and call its method, and return detail resultofthis error message "Channel.connect.failed error netconnection.call.failed:http status

RE: [flexcoders] Resultformat in mx.rpc.soap.WebService

2006-04-24 Thread Matt Chotin
You need to set the resultFormat on the individual Operation. myService.myMethod.resultFormat=e4x; myService.myMethod() From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonas Windey Sent: Monday, April 24, 2006 2:37 AM To:

RE: [flexcoders] sandbox issue

2006-04-24 Thread Matt Chotin
Does your Flash 8 SWF have AS code that is trying to execute? That unfortunately is not allowed (we don't allow cross-VM AS). Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexlearner Sent: Monday, April 24, 2006 3:50 AM To:

RE: [flexcoders] page change not work when loaded(FB2 beta2 + ColdFusion) [Roger Needed?]

2006-04-24 Thread Matt Chotin
I believe this might be a bug in Beta 2 which we're hoping is fixed in Beta 3. The problem is that some classes get loaded in the main swf and some classes get loaded into the child swf and sometimes the VM gets screwed up in reconciling everything. Let's see if I put the word Roger in here

RE: [flexcoders] Flex2B2 :: backgroundImage problem :: not working

2006-04-24 Thread Matt Chotin
Is it possible the asset isnt being copied to where your SWF lives? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael Schmalle Sent: Monday, April 24, 2006 8:42 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex2B2 ::

[flexcoders] mx:States and databinding issue

2006-04-24 Thread sof4real03
I have a custom form component that broadcasts an event every time the form changes validation states: ContactDetails.mxml: [ChangeEvent(formValidationChanged)] Now the parent component of ContactDetails is CreateClientProfile.mxml and it uses an accordian to instantiate the ContactDetails

RE: [flexcoders] Re: Help with populating from array

2006-04-24 Thread Matt Chotin
Its hard to know what the problem might be, Id just recommend running in a debugger and seeing what the result object actually looks like. Maybe theres another array or object in the hierarchy youre not seeing? Otherwise this would look like result[0].GCI based on what youve written

RE: [flexcoders] context-menu in flex...

2006-04-24 Thread Matt Chotin
Look for the ContextMenu class in the ASDoc (and reference). You can't disable the right-click menu completely, the most you can do is remove some of the settings. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rajni Sent: Monday, April

RE: [flexcoders] Flex 2 problem about remoteobject in tomcat

2006-04-24 Thread Matt Chotin
There must be a configuration setting that’s wrong. I’d check your logfiles and see if there are any errors as it starts up. If you don’t see anything change the log settings to debug and see what else spits out, you should at least see a stack trace when the flex app tries to connect.

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

2006-04-24 Thread Matt Chotin
I've forwarded on to QA to see if we know of any issues. Did anything change between configurations when you use the connector like what server name you use? Is the port configured right? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steven