[flexcoders] Printing the row number in a DataGrid

2006-04-10 Thread nahruka
Hi all, I need some help with datagrids in Flex 1.5. How can I implement the getRowNumber function in order to display a column with the proper row number in the DataGrid (beginning by 1)? I have the following code: mx:Repeater id=repPre dataProvider={ArrayUtil.toArray(xmlAlu.ASSIGS.ASSIG)}

RE: [flexcoders] FLexB2 Embed flv into SWF

2006-04-10 Thread Sönke Rohde
Thanks a lot! But can you also tell us the url? Cheers, Sönke From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Roger GonzalezSent: Monday, April 10, 2006 2:02 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] FLexB2 Embed flv into SWF

[flexcoders] is their any things like getRequestURL() in flex??

2006-04-10 Thread Dan
Hi, is there any getRequestURL() in flex that can check the request URL ? Daniel -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your

Re: [flexcoders] Re: Question to Adobe about Flex Framework 1.5 Code Quality

2006-04-10 Thread Maxym
  I had no possibility to reply, cause it was weekend, sorry.   Your last post was child-like, but i'll try to take it seriously for a moment, cause someone can read this and think that it makes sense.   1. When you will have a possibility to compile AS code into swf using AS,

[flexcoders] Flex2B2 Cairngorm2 Alert.show issue

2006-04-10 Thread turbo_vb
I've re-factored an application to Flex2 B2 and Cairngorm2 (similar code structure to the Store and Login samples). The question that I have concerns showing an Alert message in response to a Fault event that is returned from a Delagate. I was wondering if anyone would suggest a best

Re: [flexcoders] Flex 2 on Mac OS X

2006-04-10 Thread John Barrett
Hi,http://www.gskinner.com/blog/archives/2005/12/easily_compile.htmlI hope you like it`-`JohnBolo Michelin [EMAIL PROTECTED] wrote:Hello, I also tried the fCompile, but never got it working. I think that it was an applescript that called the terminal, but who knows. I use ANT to

[flexcoders] Re: RemoteObject (Beta2)

2006-04-10 Thread Ryan Pieszak
Thanks for your reply, Dirk. I've been able to get the projects to compile, and everything seems to run smoothly. The only piece that doesn't work is the call to the CFC. I get an 'unknown destinatin' error. Do I need to set this up in the flex-enterprise-services.xml file, or is it

[flexcoders] Re: Few issues

2006-04-10 Thread angelosalsa
Hi all, Thank you for helping me, I finally got it working, I did put: http://207.xxx.xxx.xxx:Port#/flex2gateway/ I did have the same problem, but here is what I 've done after that: 1- Remove --services=C:\CFusionMX7\wwwroot\WEB-INF\flex\flex- enterprise-services.xml 2- reBuild the app. 3- put:

[flexcoders] FDS and Remoting

2006-04-10 Thread a1111111111111
So I'm trying to get FDS sending messages to ColdFusion remoting. I am able to receive messages just fine from CF. I'm attempting to do this with the following: private function sendMessage():void { var message: mx.messaging.messages.AsyncMessage = new AsyncMessage(); message.body = 'hello

[flexcoders] fds reservation sample not working

2006-04-10 Thread Paolo Bernardini
I was looking at the reservation sample that come with the flex data services, and I noted than unlike beta1, with beta2 when you drag to make a reservation the two combos displaying the time don't update to reflect the selection of the drag action. I checked the code and I didn't see any

[flexcoders] Re: Testing if a variable exist?

2006-04-10 Thread bhaq1972
Also, I get the same problem when myVar is a gui. eg mx:TextArea id=myVar/ in mx.core.Application.application. Then, from another component i call if(!(mx.core.Application.application.myVar in mx.core.Application.application)) { mx.controls.Alert.show(myVar doesnt exist); } //passes

[flexcoders] Flex2B2 - bug? problem when calling a webservice method with a string[] arg

2006-04-10 Thread bhaq1972
When i call a .net webservice service method that looks like this public string myWebMethod(string[] array1) { } in flex 1.5 i had no problems but in flex 2 the array argument is being received as a fused string (where all the string args are concatenated). flex1.5 code var

[flexcoders] Deploy Flex 2 ES on JBoss

2006-04-10 Thread Valy Sivec
Hello,I'm having problems delpoying a demo application developed with Flex2 Data Services on JBoss 4. It works fine on JRun4 ( integrated version with Flex ) but it won't deploy successfully on JBoss.Please see the error stack below. Any suggestions? I tried to find any documentation but

RE: [flexcoders] FDS and Remoting

2006-04-10 Thread Peter Farland
Are you trying to contact the CF event gateway, or a normal endpoint like a CFC for RemoteObject? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of a1 Sent: Saturday, April 08, 2006 7:18 PM To: flexcoders@yahoogroups.com Subject:

Re: [flexcoders] Deploy Flex 2 ES on JBoss

2006-04-10 Thread Muzak
You may have to update the xalan.jar as explained here: http://www.jboss.com/index.html?module=bbop=viewtopicp=3904353 regards, Muzak - Original Message - From: Valy Sivec [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, April 10, 2006 3:41 PM Subject: [flexcoders] Deploy

Re: [flexcoders] Re: RemoteObject (Beta2)

2006-04-10 Thread Simeon Bateman
You are exactly right Ryan, you need to enable cf desintations in the enterprise-service.xml file. Check out this post form ben forta, he provides a sample one. http://www.forta.com/blog/index.cfm/2006/3/21/ColdFusion-Flash-Remoting-Configuration-in-Flex-2-Beta-2Take a look at see if that

Re: [flexcoders] FDS and Remoting

2006-04-10 Thread Simeon Bateman
This is a tricky error and that a lot of cf-ers run into. The first thing to check ( this is form ben forta's presentation) is to make sure you start up flex data services and then CF. This allows flex to create the correct RMI binding and then CF can connect to it. That is all based on you

RE: [flexcoders] Re: Question to Adobe about Flex Framework 1.5 Code Quality

2006-04-10 Thread Ted Patrick
Maxym, My point was that in a runtime of 1.12Mb, we can't have everything we want in the runtime. Flash/Flex bytecode is designed to extend the base player API allowing for higher level features and functionality. Flex adds a framework atop the AVM2 runtime allowing for creation of

[flexcoders] Flex2B2 simple question regarding xml attributes

2006-04-10 Thread bhaq1972
i can't find what i'm looking for in the docs. i need help All i want to do is iterate over an xml node's attributes. XML.attributes() returns a list of all the attributes, but this is only half of what i want. i want the attribute names as well. var xml1:XML = Node1 a='b' c='d' e='f' g='h'/

Re: [flexcoders] fds reservation sample not working

2006-04-10 Thread Paolo Bernardini
Hi James thanks for the reply, but unfortunately it didn't work I got this error: SeverityDescriptionResourceIn FolderLocationCreation TimeId2Call to a possibly undefined method 'ArrayCollection'TimeChooser.mxmlreservation/samples/reservationline 1710 aprile 2006 17.31.2836 I tryied to

Re: [flexcoders] fds reservation sample not working

2006-04-10 Thread Paolo Bernardini
I changed your code like this, and now works: public function set selectedDate(_selectedDate:Date):void{var dp:ArrayCollection= new ArrayCollection();dataProvider = dp;this._selectedDate = _selectedDate;for (var i:uint = 0; i = 23; i++)

[flexcoders] Crossdomain.xml with Flex 2 beta 2

2006-04-10 Thread d93574
I've done most of my development with Flex 1.5 so this was not an issue. However I am now working to port some of my flex 1.5 code to Flex 2 Beta. I have the following web server (tomcat) running on my workstation: * http://lp008400:8080/OEdbreWeb * I wrote a simple Flex app that declares a

RE: [flexcoders] Crossdomain.xml with Flex 2 beta 2

2006-04-10 Thread Ted Patrick
There are 2 issues here: 1. Put the crossdomain.xml in the ROOT WebApp of your Tomcat. So that this is the URL: http://lp008400:8080/crossdomain.xml 2. In testing, if you run from a file system, you may see errors at runtime. If the SWF file is moved from its FlexBuilder 2 bin/ path, it

Re: [flexcoders] fds reservation sample not working

2006-04-10 Thread James Ward
Oops. Forgot to point out that you will need to import the ArrayCollection class. -James On Mon, 2006-04-10 at 17:36 +0200, Paolo Bernardini wrote: Hi James thanks for the reply, but unfortunately it didn't work I got this error: Severity Description Resource In Folder Location

[flexcoders] Re: Flex2B2 - bug? problem when calling a webservice method with a string[] arg

2006-04-10 Thread ben.clinkinbeard
call.send([array1]); should be call.send(array1); The square brackets mean you are sending a one element array that contains array1. --- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: When i call a .net webservice service method that looks like this public string

RE: [flexcoders] Flex2B2 simple question regarding xml attributes

2006-04-10 Thread Werner Sharp
How about this var xml1:XML = Node1 a='b' c='d' e='f' g='h'/ for each (a in [EMAIL PROTECTED]) { trace (a.name()); trace (a.toXMLString()); } From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: Monday, April 10, 2006 8:31 AM To:

RE: [flexcoders] BETA 2: Setting global Vars at creationComplete

2006-04-10 Thread Gordon Smith
You wouldn't be able to use the variable names x and y like this because an Application inherits from DisplayObject which already has x and y properties (implemented as getter/setters). Also, such variables wouldn't technically be global vars; they'd be Application instance vars. But you can

Re: [flexcoders] Accessing methods/properties (Flash 8 movies in Loader component)

2006-04-10 Thread Jason Y. Kwong
Ok, say the Flex side needs to call methods on the Flash side. We set up a LocalConnection so that the Flash side acts as a server and the Flex side connects to it. In Flash 8: lc = new LocalConnection(); lc.connect(MyFlashServer); //Give it a unique name//Define callable methods

Re: [flexcoders] Deploy Flex 2 ES on JBoss

2006-04-10 Thread Valy Sivec
Thanks, that fixed the issue.ValyMuzak [EMAIL PROTECTED] wrote: You may have to update the xalan.jar as explained here:http://www.jboss.com/index.html?module=bbop=viewtopicp=3904353regards,Muzak- Original Message - From: "Valy Sivec" [EMAIL PROTECTED]To:

[flexcoders] VerifyError: Error #1042: Not an ABC file. major_version=46 minor_version=16

2006-04-10 Thread Valy Sivec
Installed the last version of Flash Player and when I want to run the samples app I get an alert window and the error message reads like:VerifyError: Error #1042: Not an ABC file. major_version=46 minor_version=16. Below are 2 buttons "Dismiss all" and Continue. I see this problem only on

Re: [flexcoders] TabNavigator - Targeting Child Controls

2006-04-10 Thread Bill Brown
Thanks Oscar!The creationPolicy=all worked perfectly.Cheers,BBOn 4/10/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: This might not be related to whether the check boxes are visible or not,but instead if they have been created. If you do not forceCreationPolicy=all the controls are not created

RE: [flexcoders] Looking for a work around with using the HTTPService and its request object

2006-04-10 Thread Tracy Spratt
Could you build the request object in AS code, then escape() the contents? Then unescape() it on the server? That is how I handle xml. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Corey Sent: Friday, April 07, 2006 5:46 PM To:

RE: [flexcoders] Looking for a work around with using the HTTPService and its request object

2006-04-10 Thread Tracy Spratt
But I see from your later posts that you do not control the server, so never mind. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Monday, April 10, 2006 3:14 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Looking

RE: [flexcoders] VerifyError: Error #1042: Not an ABC file. major_version=46 minor_version=16

2006-04-10 Thread Roger Gonzalez
I'm not sure about the specifics of this samples app, but the error is because you're mixing stuff from two different releases. During the beta program, we're still making bytecode changes, so you need to keep the SWF files synchronized with their matching player. -rg From:

[flexcoders] RE: Link Error: unresolved symbol ...

2006-04-10 Thread Hari Krishna Dara
Date: Sat, 8 Apr 2006 16:34:31 -0700 From: Roger Gonzalez [EMAIL PROTECTED] Subject: RE: Link Error: unresolved symbol ... playerglobal.swc needs to be in external-library-path, because it only contains class intrinsics for definitions that are actually in the player itself. -rg

[flexcoders] Removing Items from a list

2006-04-10 Thread merrittwchapman
Can someone provide me with an example of how to use actionscript to remove items from a list control by clicking a button? Thanks! MC -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

[flexcoders] BETA 2: Data Services and RemoteObjects

2006-04-10 Thread Alexander Tsoukias
Hi all, This might be a easy question, but is there anywhere I can see a guide or documentation on how to setup a flex dataservices with coldfusion connectivity? I have to say I have accomplished stuff beyond my wildest expectations with RPC, but I tried to start working with the Data

[flexcoders] DataGrid has items but doesn't display text

2006-04-10 Thread ben.clinkinbeard
Hello, I am populating an XMLListCollection with the results of a WebService call (in AS, not MXML), and setting that XMLListCollection as the dataProvider for my DataGrid. I can see that it is binding the data, because if the XML contains 5 nodes, I can roll over 5 items in the DataGrid. The

[flexcoders] Re: ComboBox qquestion

2006-04-10 Thread christopherjdunn
I gave that a try and it always give's me a value of -1 (binding to text field to debug). Do i need to specify what field in the datasource that it should be looking at? Chris --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Don't you want to be looking into the

[flexcoders] Calling previous state

2006-04-10 Thread Jeremy Rottman
I am working on my app, and I have run into a situation where I need change states and then when a user saves it takes them back to thier previous state. Is there something like previousState? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

Re: [flexcoders] Calling previous state

2006-04-10 Thread Johannes Nel
afaik no, but have you tried overriding the setter for currentState and just calling the setCurrentState method out of your override?On 4/10/06, Jeremy Rottman [EMAIL PROTECTED] wrote:I am working on my app, and I have run into a situation where I need change states and then when a user saves

Re: [flexcoders] New IE Update puts huge Selector Around Flash Movies / Netscape, Opera Nor Firefox do this

2006-04-10 Thread John Dowdell
Robert Thompson wrote: I just updated my IE explorer, and unless something else is going on, now Internet Explorer puts a huge selector around any FLEX/Flash Movies -- I mean on ANY site and I've been to many already. Has anyone else experienced this when updating their IE ??? Macromedia

[flexcoders] Preinitialize

2006-04-10 Thread Oriol Gual
Can anyone explain a bit more about the preinitialize event? I've tried to use it and is working the same as creationComplete (at least with the Application tag). I've looked at the documentation but there's no information available. Thanks, Oriol. -- Flexcoders Mailing List FAQ:

RE: [flexcoders] Calling previous state

2006-04-10 Thread Ashish Goyal
You can use newState and oldState properties of the StateChangeEvent. There is another event currentStateChanging which you can define on the application tag and in the event handler set some variable to the event.OldState. mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;

RE: [flexcoders] Calling previous state

2006-04-10 Thread Ashish Goyal
Title: RE: [flexcoders] Calling previous state There is typo: and in the event handler set some variable to the event.OldState Its event.oldState (lower case o) -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ashish

[flexcoders] Flex2B2: Bug? stopImmediatePropagation() in List itemRenderer problem

2006-04-10 Thread Tom Bray
If you run the code below you'll see a list with 4 items. If you roll over an item, the itemRenderer for that row will add a child Label component with the text info. If you roll over the info text, the itemRender will flicker between states because the mouseOver and mouseOut events for the

[flexcoders] Re: Calling previous state

2006-04-10 Thread Jeremy Rottman
this is code that I am trying. But it gives me this error. Implicit coercion of a value of type 'flash.events:MouseEvent' to an unrelated type 'mx.events:StateChangeEvent mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; currentStateChanging=setOldState(event) width=907 height=519 xmlns=*

[flexcoders] Re: Flex2B2: Bug? stopImmediatePropagation() in List itemRenderer problem

2006-04-10 Thread Tom Bray
In other words, if you have a custom itemRenderer that has a state that adds a child, that child will cause a mouseOut event to occur on its parent if you roll over it.-TomOn 4/10/06, Tom Bray [EMAIL PROTECTED] wrote: If you run the code below you'll see a list with 4 items. If you roll over

Re: [flexcoders] Re: Calling previous state

2006-04-10 Thread Mike Chambers
change: public function setOldState(evt:StateChangeEvent):void to public function setOldState(evt:MouseEvent):void since click is a MouseEvent mike chambers [EMAIL PROTECTED] Jeremy Rottman wrote: this is code that I am trying. But it gives me this error. Implicit coercion of a value of

[flexcoders] Re: Calling previous state

2006-04-10 Thread Jeremy Rottman
I got the first error figured out, but I have run into the same problem I had before. When a user needs to add a new vendor, they are taken to the state on the parent application called vendorAdd. When they click save or close, it should return them to the previously called state. But it does not

[flexcoders] Re: Flex2B2: Bug? stopImmediatePropagation() in List itemRenderer problem

2006-04-10 Thread Tom Bray
I discovered the MouseEvent.ROLL_OVER/ROLL_OUT alternatives to MouseEvent.MOUSE_OVER/MOUSE_OUT and solved the problem, but I'd suggest that Adobe add this to an FAQ because I think others will run into the same confusion. -TomOn 4/10/06, Tom Bray [EMAIL PROTECTED] wrote: In other words, if you

[flexcoders] Re: um, where is my session?

2006-04-10 Thread box110a
Hi Dave, I am specifically interested in the flex2 java adapter which I believe uses the RTMP protocol. Does it have a session? Can I intercept a RTMP request somehow? How do I get the java adapter to communicate with the HttpSession in my container? I guess I could: 1. Write to the database, and

[flexcoders] Flex1.5: Limit of series a graph component can have

2006-04-10 Thread RAMOS CARDONA JESUS SALVADOR
Hi all. My manager has come to me with an unusual question: Is there a limit as to the number of series (or dots) a flex graph can have? The need arose because of a requirement of a financial application being built on Flex, which needs to output dot graphs of at least 100,000 dots.

RE: [flexcoders] Flex1.5: Limit of series a graph component can have

2006-04-10 Thread Roger Gonzalez
That would be pretty impractical in Flex 1.5 without providing truckloads of RAM. I suspect you need to either do it on the server as an image sent to the client, or else do it in Flex 2. What kind of graph is this? Do you really need 100k samples on screen simultaneously? Can you do

Re: [flexcoders] Flex1.5: Limit of series a graph component can have

2006-04-10 Thread JesterXL
If he is willing to support Flash Player 8, you can utilize the Bitmap API's to blit the graph to a bitmap representation. Pro? Infinite amount of dots can be drawn. Con? Printing will look horrible. It'll take some work to make the graph have it's area capturable, as well as