[flexcoders] CellRenderer and Text, sizing issue (FLEX 1.5)

2006-07-30 Thread Matti Bar-Zeev
(a FLEX 1.5 question) Hi list, I'm building a couple of lists in which I embed cell renderers. The cells are made from 2 Text objects, which dynamically get their content and set their size according to it. A weird thing happens: The cells don't size right. It seems that the parent

Re: [flexcoders] Avoiding Multiple Browser Windows/Tags -I s it possible?

2006-07-30 Thread Xavi Beumala
Hi yaagcur,you can set it up in Firefox. Go to Tools - Options - Tabs and then check the radiobutton open links from other applications to the most recent tab/window.Hope that helps X.On 7/30/06, yaagcur [EMAIL PROTECTED] wrote: Each time I run a project it opens a new tab in Firefox. After a

Re: [flexcoders] Re: php and flex

2006-07-30 Thread Ralf Bokelberg
To push data you need a socket server. I'm not sure if there is a socket server available for php. Cheers, Ralf. [EMAIL PROTECTED] wrote: Can I also push data? Because till now I was justing using pull mechanism. -- Flexcoders Mailing List FAQ:

Re: [flexcoders] How to understand and fix reported errors?

2006-07-30 Thread Ralf Bokelberg
Doesn't the error message say serverError? Are you sure, that your server works correctly? Try to call it from a simple html form. Cheers,Ralf. On 7/30/06, Mike [EMAIL PROTECTED] wrote: Getting some what closer. The original error was generated by the following call: private function

[flexcoders] Re: Avoiding Multiple Browser Windows/Tags -I s it possible?

2006-07-30 Thread yaagcur
Perfect. Thanks --- In flexcoders@yahoogroups.com, Xavi Beumala [EMAIL PROTECTED] wrote: Hi yaagcur, you can set it up in Firefox. Go to Tools - Options - Tabs and then check the radiobutton open links from other applications to the most recent tab/window. Hope that helps X. On

[flexcoders] Re: php and flex

2006-07-30 Thread arnold_charming
--- In flexcoders@yahoogroups.com, Stefan Schmalhaus [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, arnold_charming arnold_charming@ wrote: Can I also push data? Because till now I was justing using pull mechanism. AMFPHP works in both directions. Please take a look at

[flexcoders] ButtonBar vs Buttons Help with Video control

2006-07-30 Thread ericonanson
I am trying to use the mx:ButtonBar to control my movie. I can control the movie just fine with mx:Button and the Click event. Example. mx:Button label=Pause click={myVid.pause()}/ mx:Button label=Play click={myVid.play()}/ mx:Button label=Rewind click={myVid.stop()}/ I just can't

[flexcoders] Re: php and flex

2006-07-30 Thread ddanone2
I dont use AMFPHP to comunicate with Flex, AMFPHP its a good solution but I prefer to make all server scripts by myself, also if you send a lot of registers to a datagrid in XML format the amount of bytes is too high, if you send registers in your propietry way you send less data but you have to

[flexcoders] Re: Strange things of creationComplete,preinitialize in application Tab

2006-07-30 Thread junhufr
The applicationComplete doesn't work. --- In flexcoders@yahoogroups.com, Jeremy Lu [EMAIL PROTECTED] wrote: Have you tried applicationComplete event in your main app mxml ? Jeremy. On 7/30/06, junhufr [EMAIL PROTECTED] wrote: All, have strange things! I've used

[flexcoders] Re: php and flex

2006-07-30 Thread arnold_charming
--- In flexcoders@yahoogroups.com, Stefan Schmalhaus [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, arnold_charming arnold_charming@ wrote: Can I also push data? Because till now I was justing using pull mechanism. AMFPHP works in both directions. Please take a look at

Re: [flexcoders] Re: php and flex

2006-07-30 Thread JesterXL
You'll need XMLSocket. PHP can do it. http://www.enobrev.com/chat_tutorial.php - Original Message - From: arnold_charming [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, July 30, 2006 5:00 AM Subject: [flexcoders] Re: php and flex --- In flexcoders@yahoogroups.com,

Re: [flexcoders]Solved How to understand and fix reported errors?

2006-07-30 Thread Mike
It seems that my CFMX 7.02 was either incomplete or corrupted. Which is strange as it worked fine with FB 2 beta 3. Anyway, after installing the CFMX 7.02 updater I was able to run the app (well at least log in).Thanks PS BTW I thing Adobe should create friendlier messages and maybe some

[flexcoders] Re: php and flex

2006-07-30 Thread Dave Wolf
Its worth noting that very often what is perceived as server-push is actually implemented through some form of client-pull. For instance, in many enterprise message bus implementations, the client makes a single blocking call which hangs, but does so on an independant thread. When the event

[flexcoders] Using IUID

2006-07-30 Thread pateyog
I am a newbie and was trying to understand how to use the iuid interface while using a datagrid that is being populated by a ArrayCollection fetching data from an xml using http service. Can any of you point me to an example Thanks -pateyog -- Flexcoders Mailing List FAQ:

[flexcoders] DataProvider on DataGrid access by index

2006-07-30 Thread ddanone2
I fill the DataProvider of a DataGrid with an array, when the user selects a row i retrieve the selected row with selectedItem property. I want to get the value of each column not acessing by the dataField but acessing by an index, is that possible ? Thanks in advance -- Flexcoders Mailing

[flexcoders] Re: DataProvider on DataGrid access by index

2006-07-30 Thread howardescholz
Would selectedIndex work? --- In flexcoders@yahoogroups.com, ddanone2 [EMAIL PROTECTED] wrote: I fill the DataProvider of a DataGrid with an array, when the user selects a row i retrieve the selected row with selectedItem property. I want to get the value of each column not acessing by the

[flexcoders] Re: WebService Call

2006-07-30 Thread richmcgillicuddy
I'll try that and let you know what the results are. Rich --- In flexcoders@yahoogroups.com, Franck de Bruijn [EMAIL PROTECTED] wrote: Have you tried to access the wsdl and call the webservice operation from another webservice client than Flex? The tool I always use is:

[flexcoders] Cairngorm - Invoking screens

2006-07-30 Thread Wally Randall
I am confused about how to structure Cairngorm screens for display. The examples I have seen are extremely simple and do not show how Cairngorm will scale for large applications. Benoits phones example only shows a single list form with a detail form added. How are people constructing

Re: [flexcoders] Re: DataProvider on DataGrid access by index

2006-07-30 Thread Jeff Tapper
Do you mean by the index of the column or index of the row? Within the row of the selectedItem, you could get the values of each column doing something like this (note, this is written in email client, not FB, so typos are not only possible, they are likely): var row:Object = dg.selectedItem;

Re: [flexcoders] Cairngorm - Invoking screens

2006-07-30 Thread Mike Britton
Building a larger application involves a combination of view states and MXML components. Take JesterXL's Amazon search example: http://www.jessewarden.com/archives/2006/07/flex_2_webservice.html In this example, you can see the use of view states. This is how many screens can be combined into

Re: [flexcoders] Cairngorm: Managing Popup Windows

2006-07-30 Thread Douglas Knudsen
intersting to read this. we are working on a datagrid that has complex data, two text fields, in one column. We used a custom itemEditor with a RTE in it. Nice, right? nope, sucked. Can't quite seem to get the row height to expand contract as needed. So, we went with a modal popup. DK On

Re: [flexcoders] Cairngorm: Managing Popup Windows

2006-07-30 Thread JesterXL
I stand corrected. A purist would argue that you should figure out why the row heights aren't working, but I'm with you; if it works, and gets done quickly, who cares? - Original Message - From: Douglas Knudsen To: flexcoders@yahoogroups.com Sent: Sunday, July 30, 2006 4:38 PM

Re: [flexcoders] Cairngorm: Managing Popup Windows

2006-07-30 Thread JesterXL
...hey, wait a minute, I still win! You're RTE DOES need to be modal. *whew* http://youbeat2trees.ytmnd.com/ - Original Message - From: JesterXL To: flexcoders@yahoogroups.com Sent: Sunday, July 30, 2006 4:49 PM Subject: Re: [flexcoders] Cairngorm: Managing Popup Windows I

[flexcoders] File - flexcodersFAQ.txt

2006-07-30 Thread flexcoders
Flexcoders Frequently Asked Questions Last Updated: 30th May 2005 Contributors: Matt Chotin, Steven Webster, Alistair McLeod, Tariq Ahmed, Jeff Tapper,

RE: [flexcoders] File - flexcodersFAQ.txt

2006-07-30 Thread Steven Webster
So before half of the flexcoders mailing list mails me and tells me the FAQ is out of date (and they told me last month) I know, and I'll do my best to update it before it comes out again. Volunteers from the community, welcomed :) Fame and fortune is yours (and I may even buy you a beer at MAX)

[flexcoders] Re: DataProvider on DataGrid access by index

2006-07-30 Thread ddanone2
selectedIndex is an object so i can't access to values like an array var name:String=mydatagrid.selectedIndex.name; var surname:String=mydatagrid.selectedIndex.surname; that works var name:String=mydatagrid.selectedIndex[0]; var surname:String=mydatagrid.selectedIndex[1]; that doesnt works

[flexcoders] Re: DataProvider on DataGrid access by index

2006-07-30 Thread ddanone2
I get it!! This code traverse the selected row of a DataGrid, get the dataField of each column and its value. var fieldname:String = new String(); for( var i:Number=0; imydatagrid.columns.length; i++ ){ fieldname = mydatagrid.columns[i].dataField; Alert.show(

RE: [flexcoders] Re: php and flex

2006-07-30 Thread matt wicks
What about python - anyone know a good python equivalent? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of arnold_charming Sent: 30 July 2006 10:06 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: php and flex --- In

RE: [flexcoders] Re: WebService Call

2006-07-30 Thread Franck de Bruijn
You can also post the WSDL here (if it is not to big), otherwise send it to me by mail: franck (dot) de (dot) bruijn (at) zonnet (dot) nl and Ill have a look. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of richmcgillicuddy Sent: Sunday,

RE: [flexcoders] Re: Weblogic webservice access problem

2006-07-30 Thread Carson Hager
The default value for useProxy is now false. If you don't elect to use the proxt, the whitelist does not come into play and crossdomain.xml does. Carson Carson HagerCynergy Systems, Inc.http://www.cynergysystems.comEmail: [EMAIL

RE: [flexcoders] Cairngorm - Invoking screens

2006-07-30 Thread Steven Webster
Hi Guys, Cairngorm is purposefully non-prescriptive about the way you choose to implement the view; so we would neither advocate that you do so using States, nor advocate that you don't.This is one of our core-values in being able to call ourselves a "lightweight architecture" - that we

RE: [flexcoders] File - flexcodersFAQ.txt

2006-07-30 Thread Matt Chotin
If I had a beer for every time someone owed be a beer... From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steven Webster Sent: Sunday, July 30, 2006 2:26 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] File - flexcodersFAQ.txt So

[flexcoders] Flex Application structure

2006-07-30 Thread Mike
Hi,I ma looking at replacing the presentation layer of a CFMX 7 app with Flex 2.0The application has a number of modules and I am not sure if any of the structures bellow presents any advantages over the other. Any comments appreciated:Version1:Application Module1 Controllers Models Views

[flexcoders] Re: Cairngorm - Invoking screens

2006-07-30 Thread Wally Randall
Great reply Mike. That is the most complete answer I have ever received on this list! Thanks. It gives me exactly what I need to proceed. --- In flexcoders@yahoogroups.com, Mike Britton [EMAIL PROTECTED] wrote: Building a larger application involves a combination of view states and MXML

Re: [flexcoders] Flex Application structure

2006-07-30 Thread sinatosk
heh I had this same question about 2 years ago when developing an application in PHPMost voted for version 1I prefer number 1 when it comes to having a serverside application working with thembut version 2 if I come to manage it by hand ( you know browsing folders, copy/paste etc... ) If you

Re: [flexcoders] Using IUID

2006-07-30 Thread Oriol Gual
I have done it in a VO using Cairngorm, I suppose it won't be very different to you:package com.example.vo { import mx.core.IUID; import com.adobe.cairngorm.vo.ValueObject ; [RemoteClass(alias=com.example.vo.ExampleVO)] [Bindable] public class ExampleVO implements ValueObject, IUID {

[flexcoders] php, flex...and uploading images

2006-07-30 Thread Mark Wales
I've seen several references to the possibility of uploading BitmapData or similar client-derived images to a server using PHP, but I can't find any actual examples. While the docs do have an example of using FileReference to upload a client-side file off the filesystem, it seems the code

RE: [flexcoders] File - flexcodersFAQ.txt

2006-07-30 Thread Matt Chotin
OK, attached is a 15 minute crack at an update. Consider this a contribution and the rest of you can hash out exactly what you want in there for everyone J Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steven Webster Sent: Sunday, July 30,

[flexcoders] Re: DataProvider on DataGrid access by index

2006-07-30 Thread ddanone2
Thanks Jeff, that's the working piece of cake!! --- In flexcoders@yahoogroups.com, Jeff Tapper [EMAIL PROTECTED] wrote: Do you mean by the index of the column or index of the row? Within the row of the selectedItem, you could get the values of each column doing something like this (note,

[flexcoders] Re: Caringorm - Visual Flowchart Poster!

2006-07-30 Thread lownlazy000
If you would like to kick your visio chart over to me I would be happy to help. russellatcorbell.com.au Also, I'll happily pass along the Visio document to anyone who would like to help, either with colors, shapes or organization, please don't hesitate to ring in. -- Flexcoders Mailing

Re: [flexcoders] cairngorn vs FDS DataService

2006-07-30 Thread Barry Beattie
Tom, just to check... you're saying that, if you don't need syncronised data or being able to pust data or messages to clients, then the garden variety remoting would do just fine... yes? so the opposite is true? if you *have* to have data in sync/ only one copy of the record can be edited at

Re: [flexcoders] Using IUID

2006-07-30 Thread Jeremy Lu
If your VO are bindable, chances are very high that you might not need to implement the IUID interface, it will be automatically done. Jeremy.On 7/31/06, Oriol Gual [EMAIL PROTECTED] wrote: I have done it in a VO using Cairngorm, I suppose it won't be very

Re: [flexcoders] Cairngorm: Managing Popup Windows

2006-07-30 Thread Douglas Knudsen
omg! too funny. That link is better than a beer at MAX, eh? heheDKOn 7/30/06, JesterXL [EMAIL PROTECTED] wrote: ...hey, wait a minute, I still win! You're RTE DOES need to be modal. *whew* http://youbeat2trees.ytmnd.com/ - Original Message - From: JesterXL To:

[flexcoders] mysql amfphp array parsing

2006-07-30 Thread Impudent1
ok I seem to be having a total mindlock on this... I have amfphp running some functions to connect to a mysql database. I have the login logic all working and was starting to link the interface up. Firstly being a combobox populate. So with my function returning an array of: 0- id 2

Re: [flexcoders] mysql amfphp array parsing

2006-07-30 Thread JesterXL
Maybe labelName for the ComboBox set to teamname? - Original Message - From: Impudent1 [EMAIL PROTECTED] To: flexcoders flexcoders@yahoogroups.com Sent: Sunday, July 30, 2006 11:36 PM Subject: [flexcoders] mysql amfphp array parsing ok I seem to be having a total mindlock on this... I

[flexcoders] [v2.0] ItemRenderer error:

2006-07-30 Thread Barry Beattie
I've finally upgraded from Beta3 to current version, and of course some things broke. I've traced the latest problem back to a LiveDocs example** I based my code from which generates the error: TypeError: Error #1009: Cannot access a property or method of a null object reference. at

Re: [flexcoders] [v2.0] ItemRenderer error:

2006-07-30 Thread Brendan Meutzner
Check for if(data == null) before doing anything inside the implicit set for data...On 7/30/06, Barry Beattie [EMAIL PROTECTED] wrote: I've finally upgraded from Beta3 to current version, and of course some things broke. I've traced the latest problem back to

Re: [flexcoders] [v2.0] ItemRenderer error:

2006-07-30 Thread Brendan Meutzner
sorry... if(value == null)On 7/30/06, Brendan Meutzner [EMAIL PROTECTED] wrote: Check for if(data == null) before doing anything inside the implicit set for data...On 7/30/06, Barry Beattie [EMAIL PROTECTED] wrote: I've finally upgraded from Beta3 to current

Re: [flexcoders] mysql amfphp array parsing

2006-07-30 Thread Impudent1
JesterXL wrote: Maybe labelName for the ComboBox set to teamname? You , are a heck of a person :P I didn't think to look at it as setting the dataprovider then setting the labelfield but yes setting up as: dataProvider={teams} labelField=teamname was the trick. ty ty Impudent1 LeapFrog

Re: [flexcoders] [v2.0] ItemRenderer error:

2006-07-30 Thread Barry Beattie
Brendan Meutzner Sun, 30 Jul 2006 21:14:58 -0700 sorry... if(value == null) cheers Brendan. That did indeed fix it. Thankyou. but I do have to ask why, since the existing code (without the corrections mentioned on that example) worked fine with B3... (I just need a better understanding of what

RE: [flexcoders] DataService.fill() Binding to ArrayCollection not triggered.

2006-07-30 Thread Matt Chotin
ArrayCollection will fire a collectoinChange event when the data is populated, binding events will not fire. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Thunder Stumpges Sent: Thursday, July 27, 2006 8:36 AM To: flexcoders@yahoogroups.com

RE: [flexcoders] getItemIndex(someObj) -- mx_internal_uid

2006-07-30 Thread Matt Chotin
getItemIndex is looking for exact match, as in it passes a == b. since you have two different object instances (in memory) regardless of the mx_internal_uid property they will not match. ArrayCollection is not set up to support something like the Java .equals method, so if you want to

RE: [flexcoders] Question about Data Service Assemblers

2006-07-30 Thread Matt Chotin
Unfortunately the service isnt smart enough to allow you to specify what a fill will look like. In this case your assembler should return everything, return a full collection of the employees (though if you want you can return the employee just with its id property and not completely

Re: [flexcoders] [v2.0] ItemRenderer error:

2006-07-30 Thread Brendan Meutzner
I don't have a solid answer, but I'd guess that the setter is getting called during initialization process before the object exists in the dataProvider... try running in debug mode and look through the stack trace when the error is caught... might provide some answers... On 7/30/06, Barry

[flexcoders] Embedded Fonts Cause Issue with DataGrid Headers

2006-07-30 Thread Brendan Meutzner
Just wanted to see if the Adobe folks were aware of the issue with Embedded fonts and DataGrids... there was an earlier post on this as well, but nobody clarified if this was a known bug:

Re: [flexcoders] Embedded Fonts Cause Issue with DataGrid Headers

2006-07-30 Thread JesterXL
Betcha' the measure function is having issues measure the embedded font. Are you using FlashType or just the regular way? If you're feeling brave, go look in DataGrid.as, and tell us if anything looks like its measuring text. - Original Message - From: Brendan Meutzner To: