[flexcoders] Re: Possible memory leak in e4x or in HttpService

2007-02-14 Thread lacito.domingo
Thanks for checking the program. Yes. After closing the browser you get back the memory. But after finishing the process it is normal ( no, is a must :) ). After refreshing the page you get back the memory, too. But without refreshing the browser it can swallow houndreds of MBs. And only with e

[flexcoders] Re: Possible memory leak in e4x or in HttpService

2007-02-14 Thread lacito.domingo
First of all, thanks for your reply! :) Second: pbentries.xml is UTF-8 encoded. Firefox and Dreamweaver opens it but very-very slowly. JEdit crashes, I know. :( That weird character is double acute O. I try to make an xml file with a latin character. I hope it will leak. Sorry for the weird xml f

Re: [flexcoders] Re: flex and IE 7 problems.

2007-02-14 Thread dorkie dork from dorktown
i've run into some problems with ie6, https and frames. i had to come up with a crazy workaround. here is what you do. come up with a simple test sandbox so that you can isolate the problem. if it persists then post it to the list so we can verify. On 2/14/07, mthielman11 <[EMAIL PROTECTED]> wro

Re: [flexcoders] Re: Silly question? : Why do I have to create objects inside class functions?

2007-02-14 Thread Troy Gilbert
Not exactly right... The problem is that what you're wanting to do is execute an assignment statement. You cannot have *statements* outside of class methods. What you can do is have *initializers* as part of *declarations*. So, you can do this: public class MyClass { public var myVar:String

[flexcoders] Array Collection Column Value

2007-02-14 Thread sanjaypmg
Hi, I have an ArrayCollection with various columns. I need to populate different combos using this array collection columns. I have a method where I am passing only column name as a parameter like: public function initArra(curColName:String):void{ var totalLen:int = tempArrCol.length; Alert.s

Re: [flexcoders] Re: addEventListener and additional arguments?

2007-02-14 Thread Troy Gilbert
Remember, functions are objects to (so you can treat them like fancy functors in C++): var functor:Function = function(arg:String):String { return arg + functor["param"]; } functor["param"] = "dolly"; trace(functor("hello"); // outputs "hellodolly" or, for events: var myEventHandler:Function =

[flexcoders] Add some new features and Fix bugs for the Calendar from Quietly Scheming

2007-02-14 Thread jove.shi
http://flex-flex.net/blog/article.asp?id=33 View The Demo Here Quietly Scheming's Article New Features: Now we can Add ev

[flexcoders] Re: Silly question? : Why do I have to create objects inside class functions?

2007-02-14 Thread helihobby
I re-read your question and the answer is no you can not. The reason is becuase Flex is event driven. What you can do is add to the Application tag flag of: creationComplete="init()" and use inside the class: public function init():void{ pageRO = new RemoteObject(); pageService = Page

[flexcoders] Re: dataProivder item under mouse in datagrid

2007-02-14 Thread ben.clinkinbeard
If there is a filterFunction applied to your dataProvider using rowIndex will not return the correct value. This is off the top of my head but I think this should work: myDP.getItemAtIndex(myDP.getItemIndex(event.target.data)); HTH, Ben --- In flexcoders@yahoogroups.com, "Gordon Smith" <[EMAIL

Re: [flexcoders] Printing a DataGrid using a PrintDataGrid

2007-02-14 Thread Igor Costa
Here's a short example of PrintJob copied from Components Explorer. // The function to print the output. public function doPrint():void { var printJob:FlexPrintJob = new FlexPrintJob(); if (printJob.start()) { // Create a FormPrintView control a

[flexcoders] Re: flex and IE 7 problems.

2007-02-14 Thread mthielman11
Yes this is a flex 2 app. Nothing crazy going on at all. A simple HTTP post to do a user login. It sends 2 fields via xml back to the DB. Server side its a resin server sending data to PostgreSQL. When we tracked the logs its as REALLY strange. a user was loggin in, username and was fer

Re: [flexcoders] Handling initialized event with AS3 custom component

2007-02-14 Thread David Chang
Also this should work too... package com.example.test { public class Test extends VBox { public override function initialize():void { super.initialize(); // Do something } } } Gordon Smith wrote: > > In AS3 code you use the addEventListener() method to register an event > handler to receive a

[flexcoders] Re: Cairngorm: ArrayCollection(ValuObject)-Event on changing data?

2007-02-14 Thread martywolf11
i dont know whats so funny, but whatever. so it seems the [ArrayElementType("cairngorm.vo.FriendVO")] line doesnt do any good? i just took that line from an example, because i am pretty new to cairngorm and all that stuff. by the way, which docs are you referring to? do you mean the docs according

[flexcoders] eventdispatching between 2 classes

2007-02-14 Thread martywolf11
hello, i have 2 classes which i want to interact with eachother by events. my first class creates a second class, which reads out a mysql table. when the results come in, it should send an event to my first class. how do i create the eventhandling between those 2 classes, since both of them must

RE: [flexcoders] flex and IE 7 problems.

2007-02-14 Thread Karl Johnson
I have been using IE 7 for a long time now with many, many flex apps and have not seen any issues. This is a flex 2 app right? Is there any other code involved on this login page outside of the swf? Perhaps some javascript or something else? Most of the changes in IE 7 that would break existing cod

[flexcoders] Re: remote object coldfusion issue

2007-02-14 Thread teknofreakz
Yea i found that setting when exploring the configuration. but it doesnt seem to do anything. (and i really cant find anyinfo on those settings). I changed it to debug but im guessing there is an enabled or file parameter that i dont have set. It doesnt not seem to log like anywhere. I gotten the f

[flexcoders] Flex Buider IDE Smart Code Folding? Not auto-unfold?

2007-02-14 Thread Kalani Bright
Hello everyone I've tried to find out how to get the editor to not autounfold blocks of code that I have collapsed so I wouldn't have to see them. It just unfolds them either randomly or when I am arrowing up/down through the code in that area. I would not like it to NOT auto-unfold (expand th

[flexcoders] amfphp polling

2007-02-14 Thread johnesocko
What is the best way to poll a mysql database with amfphp? a timer? Is it build in somewhere like FDS? Also is there a way to listen for changed/new data within the database(might be easier)? Thanks in advance

[flexcoders] ASDoc'ing an include

2007-02-14 Thread Tom Ortega
I'm trying to ASDoc an included file and it's erroring because the property is undefined. Can include files not be doc'd alone, i.e. without their parent? If I doc the parent file that has the "include" statement, will the ASDoc engine parse the included file correctly? Thanks, Tom

RE: [flexcoders] Exporting Charts as Image

2007-02-14 Thread Paramjit Jolly
Hi Prateek, I have seen your query, I am also looking for similar solution. Infact similar stuff I come across 3 years back When I was working with flash-java. That time I used POI for exporting charts & grid data in excel sheets which are templates (place holders) in server. Now our

[flexcoders] Re: Silly question? : Why do I have to create objects inside class functions?

2007-02-14 Thread rumpleminzeflickr
They are declared in the format " public var pageService:PageService;" --- In flexcoders@yahoogroups.com, "helihobby" <[EMAIL PROTECTED]> wrote: > > I think you forgot to add var unless you define a private var at the > top. > > > --- In flexcoders@yahoogroups.com, "rumpleminzeflickr" > wro

[flexcoders] Re: Silly question? : Why do I have to create objects inside class functions?

2007-02-14 Thread rumpleminzeflickr
They are declared in the format public var pageService:PageService; --- In flexcoders@yahoogroups.com, "helihobby" <[EMAIL PROTECTED]> wrote: > > I think you forgot to add var unless you define a private var at the > top. > > > --- In flexcoders@yahoogroups.com, "rumpleminzeflickr" > wrote:

[flexcoders] Re: Silly question? : Why do I have to create objects inside class functions?

2007-02-14 Thread helihobby
I think you forgot to add var unless you define a private var at the top. --- In flexcoders@yahoogroups.com, "rumpleminzeflickr" <[EMAIL PROTECTED]> wrote: > > Hi, > > This maybe a really dumb question, but why I can't I create new > objects or even assign a null object a value in the class it

RE: [flexcoders] How to get the current build options FB uses?

2007-02-14 Thread Gordon Smith
It looks like the -dump-config option has a bug: it isn't writing out an absolute path for manifest files such as mxml-manifest.xml. If you hand-edit the dumped config file to change mxml-manifest.xml to C:\Program Files\Adobe\Flex Builder 2.0.1\Flex SDK 2\frameworks\mxml-manifest.x

RE: [flexcoders] dataProivder item under mouse in datagrid

2007-02-14 Thread Gordon Smith
Handle the DataGrid's itemRollOver event and look at event.rowIndex. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Wednesday, February 14, 2007 4:18 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] da

Re: [flexcoders] Trying to retrieve data from an access database.

2007-02-14 Thread Rodrigo Cohen
Hi Igor ! I know Flex Brazil list and receive the mail posts. My problem is that I don't want to use ColdFusion or any app that uses a huge app server. Thinking better, I got a solution with using Java (jsp) on a localserver (apache) connecting directly to the remote server and returning xml dat

RE: [flexcoders] Re: addEventListener and additional arguments?

2007-02-14 Thread Gordon Smith
Here's an example of what I meant: http://www.adobe.com/2006/mxml";> Note that the Button's clickHandler() can access the instance variable 'foo', despite the fact that 'foo' isn't passed to clickHandler() and 'foo' isn't a property of event.target, which is the Butt

RE: [flexcoders] Handling initialized event with AS3 custom component

2007-02-14 Thread Gordon Smith
In AS3 code you use the addEventListener() method to register an event handler to receive a particular kind of event from a particular object: package com.example.test { public class Test extends VBox { // Constructor public function Test { super();

[flexcoders] Handling initialized event with AS3 custom component

2007-02-14 Thread Ian Shafer
Hello, How do I handle an "initialized" event using an AS3 custom component? In MXML it would be like this: My guess is that I can do something like this: package com.example.test { public class Test extends VBox { private function initialize():void { // Do something } }

[flexcoders] Silly question? : Why do I have to create objects inside class functions?

2007-02-14 Thread rumpleminzeflickr
Hi, This maybe a really dumb question, but why I can't I create new objects or even assign a null object a value in the class itself? It works fine if I do it in a function. Just trying to understand i'm sure there is a good reason. Many thanks, public class MyClass { // doesn't work her

RE: [flexcoders] Re: no rtmp connection on win xp ?

2007-02-14 Thread Jeff Vroom
Hi Chris, First you might check the logging settings in the WEB-INF/flex/services-config.xml. Make sure that you have "Configuration" and "Endpoint.*" in the tags and that level is set to Debug or Info. When you start the server, it should print a line like: [Flex] [INFO] [Configuration

[flexcoders] Re: Calling Javascript from a Flex 1.5 application

2007-02-14 Thread Doug Lowder
You can call Javascript from Flex 1.5 using mx.core.Application.getURL(). Here's an example that opens a new browser window: getURL( "javascript:window.open('http://www.adobe.com', '_blank')" ); http://livedocs.macromedia.com/flex/15/asdocs_en/mx/core/Application.htm\ l#getURL

[flexcoders] Printing a DataGrid using a PrintDataGrid

2007-02-14 Thread Ian Shafer
Hello, I'm using PrintDataGrid to print a DataGrid and everything is working fine except one thing. The size (height) of the PrintDataGrid same one every page. This would be okay if I were just printing the PrintDataGrid, but I have a header on the first page (and footers on subsequent pages).

Re: [flexcoders] Errors after 2.0.1

2007-02-14 Thread Derek Vadneau
I did a reinstall quite a while back. But maybe it WAS a bad install - I recently posted about having an older version of the JRE installed (pre 1.4, which is the requirement for FB2, yet for some reason I was allowed to install and run it ...). I'll try an uninstall and then reinstall. Maybe tha

[flexcoders] RDS problem

2007-02-14 Thread h_jones2001
I can't seem to connect to RDS in FlexBuilder on my new computer. Here's my setup: Windows Vista Business I installed CFMX 7.02. Eclipse 3.2.1 CFEclipse 1.3 IIS 7 When I try to test my RDS Configuration in Eclipse I get this message: "Unable to contact the RDS Server 'localhost'". RDS Config set

[flexcoders] Calling Javascript from a Flex 1.5 application

2007-02-14 Thread eight.seventeen
All info I can find these days is for Flex 2.x which we are not using yet. I am using a jsp file to launch our mxml app in the browser. I have created a Javascript function that I need to call from within the Flex app via a simple button click. Is this possible? If so, how the heck do you do it? T

[flexcoders] Re: Using CheckBox as ItemEditor

2007-02-14 Thread dmiramontesval
The code you are sending is for an itemRenderer, not an itemEditor. Using the one you mention, it does paint the checkbox BUT it doesn't change the object's property, this is, that even when i click on the checkbox to switch between true and false, the object's property (idDoctoEnvio) is no update

[flexcoders] flex and IE 7 problems.

2007-02-14 Thread mthielman11
Has anyone tried their flex apps in ie7. We have recently and are having strange issues. The app comes up but we can not login. On our client it gives an invalid login error, and it sends weird data to the server. We actually saw in the log that it was changing some of the keys entered ar

[flexcoders] Re: Cairngorm 2.1 AMFPHP 1.9

2007-02-14 Thread roadchief
I don't know if this is related or not - but if you are using the services-config.xml file (as defined in your response below) to define the channels and endpoints, etc., then you need to have '-services "services-config.xml"' in the Flex compiler additional compiler arguments. Just a thought -

Re: [flexcoders] Accessibility on the entire SWF?

2007-02-14 Thread Jason Goodwin
Great - Thanks! On 2/14/07, Andrew Kirkpatrick <[EMAIL PROTECTED]> wrote: Jason, This is how you address the whole app accessibilityProperties. AWK http://www.adobe.com/2006/mxml"; xmlns="*" layout="absolute" width="100%" height="100%" creationComplete="init()"> > -Original

Re: [flexcoders] Cairngorm: ArrayCollection(ValuObject)-Event on changing data?

2007-02-14 Thread slangeberg
Dang, You got me excited with: [ArrayElementType("cairngorm.vo.FriendVO")] public var friends:ArrayCollection; But, according to the docs, this only applies to type: Array. I tried it and compiler does not appear to pick up on this restriction, for ArrayCollection (I tried adding item not of

[flexcoders] Re: Included SWC dependency problem with Cairngorm - anyone else?

2007-02-14 Thread Dustin
I had a similar problem where I was using cairngorm without including the swc and I got an error from IServiceLocator because it couldn't find the mx.data.DataService class. So I imported the cairngorm swc into the library path and everything was kosher. I'm still using flex 2.0. Is it suppose to b

[flexcoders] Search algorithm for objects in memory

2007-02-14 Thread ecpmaz
Hi, What I want to do is searching for a term or expression in an ArrayCollection of objects (simple objects containing many members, some of them being Strings). Is there any library/api able to do that ?: - relevance sorting (nb of occurences for instance...) - some extra capabilities for the p

Re: [flexcoders] User Nudging

2007-02-14 Thread Igor Costa
Brian Here's good link that help you out. http://www.flexsearch.org/index.shtml?cx=017079146949617508304%3Ama9avcq0-ng&q=Flex+tree+control&sa=Search&cof=FORID%3A9#1300 Regards On 2/14/07, Brian Holmes <[EMAIL PROTECTED]> wrote: I would like to be able to lead users through the applicatio

Re: [flexcoders] Errors after 2.0.1

2007-02-14 Thread Igor Costa
I suggest you to re-install your plug-in or stand alone version. Didn't have this problem. --Igor Costa On 2/12/07, Derek Vadneau <[EMAIL PROTECTED]> wrote: I had built some Flex Applications prior to 2.0.1 that are now displaying errors. I have a pretty simple MXML file that contains a S

Re: [flexcoders] How to get the current build options FB uses?

2007-02-14 Thread Derek Vadneau
The correction you provided gives me the same test-config.xml file and also creates a test.swf in the same directory as my MXML file. I guess I'm not understanding what the config XML file is really for. Here's what I want to do: Take my source (MXML, AS, and any SWCs?) to another PC where I ca

Re: [flexcoders] Re: Looking for a workaround for HTTPService limitations

2007-02-14 Thread Marcel Schepers
Thank you very much for the wish list, http://adobe.com/go/wish. I've already formulated the wish for full proxyless HTTP support. Thank you also for the socket suggestion. I have been serious with Java since 1.1 but fairly green with ActionScript. (I working on chapter 17 of the Training from the

[flexcoders] Re: HttpService and Relative URLs

2007-02-14 Thread Dan Galewsky
Turns out that was the problem. Also unfortunately I had a stray } in my url. Thanks for the help.

[flexcoders] Re: HttpService and Relative URLs

2007-02-14 Thread Dan Galewsky
Removed the leading slash (fooRequest.url="FlexFooServlet") and get the same problem. Like I said before, It works just fine if I specify the URL as http://localhost:8080/FlexFoo/FlexFooServlet. Any thought on how to debug this? Seems like the problem is different if I am running in FlexBuilder.

[flexcoders] Re: Exporting Charts as Image

2007-02-14 Thread Paul Whitelock
A. Thank you! That's what I needed to know! I'll be looking forward to seeing your article once it is released :-) Paul --- In flexcoders@yahoogroups.com, "Andrew Trice" <[EMAIL PROTECTED]> wrote: > > In it's most simple form: this is all you need to do in CF. You don't > need to convert i

RE: [flexcoders] Re: Exporting Charts as Image

2007-02-14 Thread Andrew Trice
Revision... I'm waiting until then to release the full code (flex and CF). I just posted code a few minutes ago to do a very basic save function in a cfc. It's very basic though, no locks or try catch to prevent real-world and synchronization errors. _ And

RE: [flexcoders] Re: Exporting Charts as Image

2007-02-14 Thread Andrew Trice
In it's most simple form: this is all you need to do in CF. You don't need to convert it. It comes over AMF as binary data. You only need to use "tobinary" if you are sending it as base64 encoded data across a web service or http service. -Andy _

RE: [flexcoders] Re: Exporting Charts as Image

2007-02-14 Thread Andrew Trice
Nothing too fancy... It will be in next month's issue of Web Designer & Developer's Journal, I'm waiting until then to release the code on my blog. _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/b

RE: [flexcoders] Re: Propogating exception info from Web Service to Flex

2007-02-14 Thread Carson Hager
We've already built this and have put it out here a couple of times. I'll have one of our guys put it on their blog for you. Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL P

[flexcoders] Calling a webservice on initilize()

2007-02-14 Thread napearson99
I'm trying to call a webservice. I would usually call it under That is not working in my situation, i think i have to call it like this. . But if I do that and debug it never hits the web service. I think this is because the code below does not get created. Any ideas? http://localhost:2008

Re: [flexcoders] Re: Exporting Charts as Image

2007-02-14 Thread Brendan Meutzner
So Andrew... I'm curious... any insight into what you're doing in your examples that you're not willing to share? :-) Brendan On 2/14/07, Andrew Trice <[EMAIL PROTECTED]> wrote: Forgot this too… Here's an example how to use the encoder. var jpegEncoder : JPEGEncoder = new JPEGEncoder(

[flexcoders] Re: Errors after 2.0.1

2007-02-14 Thread Derek Vadneau
So is this just me? No one else is having this issue? On 2/12/07, Derek Vadneau <[EMAIL PROTECTED]> wrote: > I had built some Flex Applications prior to 2.0.1 that are now > displaying errors. > > I have a pretty simple MXML file that contains a Script tag with the > source pointing to an AS fil

[flexcoders] Re: Exporting Charts as Image

2007-02-14 Thread Paul Whitelock
Hi Andy, I'm using remoting/AMF in other parts of my application, so I don't think I'll have a problem sending the data to ColdFusion after it's prepared. I just wasn't sure what to do with the data once I got it to ColdFusion to turn it into a file (I'm fairly new to ColdFusion). I'll take a loo

[flexcoders] User Nudging

2007-02-14 Thread Brian Holmes
I would like to be able to lead users through the application and make the application more responsive in much the same way the validators on the form do. For example I have a tree that has items in it, and one of the options is to be able to delete a node from the tree. If no node is selected and

RE: [flexcoders] Re: Cairngorm: ArrayCollection(ValuObject)-Event on changing data?

2007-02-14 Thread Dimitrios Gianninas
show a sample of what you are doing it should look like: var a:ArrayCollection = new ArrayCollection(); a.addEventListener( ... ); a.addItem( bla ); that should generate an event Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@ya

RE: [flexcoders] Re: Exporting Charts as Image

2007-02-14 Thread Andrew Trice
Forgot this too... Here's an example how to use the encoder. var jpegEncoder : JPEGEncoder = new JPEGEncoder(quality); myEncodedByteArray = jpegEncoder.encode( bitmapData ); _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog:

Re: [flexcoders] Populating DataGrid from XML attributes

2007-02-14 Thread Pablo
The XML: The CODE: http://www.adobe.com/2006/mxml"; layout="absolute" creationComplete="init();dgRPC.send()">

RE: [flexcoders] Re: Exporting Charts as Image

2007-02-14 Thread Andrew Trice
Glad my blog entry helped. :-) You can use the as3 PNGEncoder or JPGEncoder libraries at http://code.google.com/p/as3corelib/ to do the image format conversion within the flex application. You can post it to a server using either remoting, web service, or http service. Remoting/AMF3 is fast

[flexcoders] Re: Cairngorm: ArrayCollection(ValuObject)-Event on changing data?

2007-02-14 Thread martywolf11
thanks for the reply, hmm... i just tried that out using addItem(Object) but still no event started. maybe there is some issues with my code, flex builder isnt showing me any errors though. I tracked the content of my ArrayCollection, and it does insert the items correctly. is there something i s

[flexcoders] Re: Exporting Charts as Image

2007-02-14 Thread Paul Whitelock
Thanks Brendan! I was indeed looking in the Language Reference documents which is why I couldn't find anything. In the last section of the Andrew Trice tutorial he's doing pretty much what I'd like to do, but he doesn't supply the source. The piece that I think I need is how to handle the data sen

[flexcoders] Modify Width of Vertical Scrollbar

2007-02-14 Thread stockszz
Hi, Does anyone know to modify (increase/decrease) the width of a vertical scrollbar on any given container? Help would be much appreciated. Thanks. Shaun

RE: [flexcoders] Accessibility on the entire SWF?

2007-02-14 Thread Andrew Kirkpatrick
Jason, This is how you address the whole app accessibilityProperties. AWK http://www.adobe.com/2006/mxml"; xmlns="*" layout="absolute" width="100%" height="100%" creationComplete="init()">

[flexcoders] Re: Propogating exception info from Web Service to Flex

2007-02-14 Thread roman_dolgov
Looks like servlet filter is the way to go. See related discussion: http://archive.xfire.codehaus.org/user/45D34502.4030804%40fluid.com First need to change HTTP return code to 200 and after that presumably Flex would be able to get into SOAP body and extract exception info. Didn't have chance

[flexcoders] Measuring Tree Control Height

2007-02-14 Thread Ethan Miller
Greetings - I have some vertically stacked groups of navigation elements. The top one is a tree, hence its height changes as you open and close items in it. I don't want it to ever have scroll bars or reserve a fixed amount of space for it to expand into. Which is to say that I want the it

RE: [flexcoders] Right click on Tree's item

2007-02-14 Thread Michael Imhoff
Hi Pablo, First, you need to use the itemRollOver event of the component to track the last item that was rolled over, and save it to a variable for later use. Then when the ContextMenuEvent.MENU_SELECT event is triggered, you will refer back to this variable as it holds a reference to the item

Re: [flexcoders]Find if item exists before adding it in XMLListCollection

2007-02-14 Thread Paul DeCoursey
I had a similar situation with ArrayCollection. what I do it iterate through the collection and return the item if I find one that matches. I created an ArrayCollectionIterator Class that helps with this. public class ArrayCollectionIterator implements IIterator {

Re: [flexcoders] Re: Exporting Charts as Image

2007-02-14 Thread Brendan Meutzner
Hey Paul, It's in there... just not shown in the Language Reference documents if that's where you're looking... check out corelib\src\trunk\src\actionscript3\com\adobe\images Andrew Trice also has a tutorial on capturing UI to bitmap on his blog here: http://www.cynergysystems.com/blogs/page/

[flexcoders] HttpService and Relative URLs

2007-02-14 Thread Dan Galewsky
I have searched the archives a bit and did not find an answer. This is probably Flex 101 but I am stumped. I cant seem to get relative URLs to work for httpservice. If I set the URL explicitly - it works great: fooRequest.url="http://localhost:8080/FlexFoo/FlexFooServlet";; I just want the url

[flexcoders]Find if item exists before adding it in XMLListCollection

2007-02-14 Thread dorkie dork from dorktown
I'm trying to find if a row with the same name exists in an XML List Collection. The problem is, the e4x I try is not supported by XMLListCollection. I keep getting a Error #1123: Filter operator not supported on type mx.collections.XMLListCollection. Here is my code: public function addNewP

[flexcoders] Re: (BRMA) Mensagem não autorizada

2007-02-14 Thread Paul J DeCoursey
Is anyone else getting these auto-responses? it's really annoying. [EMAIL PROTECTED] wrote: > Mensagem não autorizada > > Palavra (http) proibida no campo Subject > > Para: flexcoders@yahoogroups.com > Assunto: [f

[flexcoders] Re: HttpService and Relative URLs

2007-02-14 Thread Paul DeCoursey
"FlexFooServlet" is the relative URL, not "/FlexFooServlet", that is a root url. --- In flexcoders@yahoogroups.com, "Dan Galewsky" <[EMAIL PROTECTED]> wrote: > > I have searched the archives a bit and did not find an answer. This is > probably Flex 101 but I am stumped. > > I cant seem to get re

Re: [flexcoders] Flex ant tasks

2007-02-14 Thread Douglas Knudsen
Dimitrios you did it again! My JAVA_HOME was correct, else I'd have bigger issues like Eclipse and Ant not running at all, eh? The issue was in C:\Program Files\Adobe\fds2.1\flex_sdk_2\bin\jvm.config seems the java.home was set to some value used inside Adobe world and left there. oops. Affecte

[flexcoders] ArrayCollection Splice?

2007-02-14 Thread napearson99
I'm porting over one of Ely's component's data provider from accepting an Array to accept an ArrayCollection. He uses item.splice a lot where item is typed as an array. I want the same functionality in an array collection. Item[0].splice works, but im not sure this is the right way to do it.

RE: [flexcoders] Cairngorm: ArrayCollection(ValuObject)-Event on changing data?

2007-02-14 Thread Dimitrios Gianninas
it wont get called when u create a new instance... it will get called when call addItem(), removeItem(), etc... Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of martywolf11 Sent:

[flexcoders] Re: How to create navigateToURL http links with non ascii characters??

2007-02-14 Thread e_baggg
Yep, thanks Doug. That did the trick. - Kevin --- In flexcoders@yahoogroups.com, "Doug Lowder" <[EMAIL PROTECTED]> wrote: > > > And take a look at the top-level encodeURI() function too. > > http://livedocs.macromedia.com/flex/2/langref/package.html#encodeURI >

[flexcoders] HttpService and Relative URLs

2007-02-14 Thread Dan Galewsky
I have searched the archives a bit and did not find an answer. This is probably Flex 101 but I am stumped. I cant seem to get relative URLs to work for httpservice. If I set the URL explicitly - it works great: fooRequest.url="http://localhost:8080/FlexFoo/FlexFooServlet";; I just want the url

[flexcoders] Cairngorm: ArrayCollection(ValuObject)-Event on changing data?

2007-02-14 Thread martywolf11
hello, In my ModelLocator class i defined an ArrayCollection: [Bindable] [ArrayElementType("cairngorm.vo.FriendVO")] public var friends:ArrayCollection; storying the FriendVO object works perfectly, but now i want an event to fire up whenever i add a new FriendVO object, delete it or change it.

[flexcoders] 360Flex Ticket

2007-02-14 Thread Brendan Meutzner
Thought I had one lined up, but it didn't work out... anybody willing to sell theirs if they're unable to attend? Brendan -- Brendan Meutzner Stretch Media - RIA Adobe Flex Development [EMAIL PROTECTED] http://www.stretchmedia.ca

Re: [flexcoders] Flex ant tasks

2007-02-14 Thread Douglas Knudsen
as a followup, I have this issue with two different PCs. DK On 2/14/07, Douglas Knudsen <[EMAIL PROTECTED]> wrote: hmm, which bin? I get this error from way outside any project folders...even from the dos prompt like so c:\ant -buildfile=test.xml myTarget DK On 2/14/07, Dimitrios Gianninas

RE: [flexcoders] Flex ant tasks

2007-02-14 Thread Dimitrios Gianninas
oh thats different... should jut be your JAVA_HOME that makes a difference I was talking about the /bin folder Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Douglas Knudsen Se

Re: [flexcoders] Included SWC dependency problem with Cairngorm - anyone else?

2007-02-14 Thread Oliver Tupman
Okay, I've had a bit more of a play and I have appeared to narrow it down on this: I can't seem to be able to use the Cairngorm from a Flex Library project. It doesn't work if it's included as an SWC or as a project link. If anyone from Adobe's listening, the exception that FB bombs out on is thi

Re: [flexcoders] Can't we access MovieClips contained in embedded SWF's?

2007-02-14 Thread Matt Wicks
Temporarily assigning it would probably be best I guess - especially as its going to loop through 140 each time - Scott's idea is a good one too and should work - might give it a try later on myself to test it - but my gut instinct would b e to create a loop - then you can just use getChild

[flexcoders] Integrating Flex Ant Tasks With Flex Builder (Problems, Run, Debug)

2007-02-14 Thread Tom Baggett
Hello all, I want to compile multiple modules in a single project. I'm using the Flex Ant Tasks to compile my Flex app with Ant in place of Flex Builder's built-in builder to accomplish this. I've reached the point that it is successfully compiling and have some integration questions. Is it pos

[flexcoders] Re: Exporting Charts as Image

2007-02-14 Thread Paul Whitelock
Hi Ely, I'm also interested in creating bitmap in Flex and transferring it as a JPG or PNG to the server. I took a look at the as3corelib but didn't see anything in the documentation about working with bitmap/image files. I could be I'm just missing it, so could you perhaps point out where in the

[flexcoders] Series Effects do not dispatch start events (bug?)

2007-02-14 Thread g_odds
It would appear that from SeriesEffect downwards in the object hierarchy, none dispatch an effectStart event when played. I have checked this by using exactly the same code except for changing the effect type and only series effects appear to exhibit this behaviour. I'm sifting through the source

Re: [flexcoders] Possible memory leak in e4x or in HttpService

2007-02-14 Thread Paul J DeCoursey
> On Wednesday 14 Feb 2007, lacito.domingo wrote: > >> No answers yet. Could somebody confirm the leak? Or is it my fault? >> I'm not sure what you mean by memory leak. But in your source you do keep a reference to the HttpService and that will keep the XML hanging around in memory for a

Re: [flexcoders] Flex ant tasks

2007-02-14 Thread Douglas Knudsen
hmm, which bin? I get this error from way outside any project folders...even from the dos prompt like so c:\ant -buildfile=test.xml myTarget DK On 2/14/07, Dimitrios Gianninas <[EMAIL PROTECTED]> wrote: had this problem a month ago :) what happening is that in your bin folder there is a jvm

[flexcoders] Generate Flex Forms on the fly

2007-02-14 Thread Valy Sivec
I need to be able build some data entry screen(s) on the fly based on form definition stored in the db. Any suggestions?. The requirement is to have customized forms for different clients without changing the screen with any new request. It's more like storing client profile in the db and build

RE: [flexcoders] Can't we access MovieClips contained in embedded SWF's?

2007-02-14 Thread Mike Anderson
Well, my goal is this: There will be a ton of interactivity between the Flex variables, and the Subdivision Plat SWF. In fact, how the SWF looks visually, and behaves based on mouse interaction, will all depend on the values brought back from the database. For example, if a Lot has been sold t

Re: [flexcoders] Re: Looking for a workaround for HTTPService limitations

2007-02-14 Thread Paul J DeCoursey
Tom Chiverton wrote: > On Wednesday 14 Feb 2007, Paul J DeCoursey wrote: > >> Indeed, and since we had heavy use of DELETE and PUT we had to make the >> determination of what was easier and more cost effective. We choose >> SOAP because Flex has good SOAP support. We avoided implementing DELET

[flexcoders] Re: How to create navigateToURL http links with non ascii characters??

2007-02-14 Thread Doug Lowder
And take a look at the top-level encodeURI() function too. http://livedocs.macromedia.com/flex/2/langref/package.html#encodeURI () --- In flexcoders@yahoogroups.com, "camlinaeizerous" <[EMAIL PROTECTED]> wrote: > > http://ww

Re: [flexcoders] Can't we access MovieClips contained in embedded SWF's?

2007-02-14 Thread slangeberg
If you are using Flash 9, you can use a document class (I believe) at the root level and have Flex reference it by that. Your document class would set up an API, so you don't have to peer into the movie itself. Basically a proxy. Sorry I don't have the implementation in front of me, but I believe

Re: [flexcoders] Populating DataGrid from XML attributes

2007-02-14 Thread Tom Chiverton
On Tuesday 13 Feb 2007, Shidan wrote: > Do I have to transform the xml to another data model format first? No, you can use the labelFunction property of DataGridColumn to have the results of a function displayed in the cell. -- Tom Chiverton Helping to authoritatively industrialize eye-catching

Re: [flexcoders] Can't we access MovieClips contained in embedded SWF's?

2007-02-14 Thread Matt Wicks
Mike, what do the clips need to do? Matt On 14 Feb 2007, at 16:36, Mike Anderson wrote: Plat Overview of a subdivision

[flexcoders] Right click on Tree's item

2007-02-14 Thread Pablo
I have the Tree and ContextMenu associated with it. When I select menu item from context menu I cant get Tree's item was right-clicked. How I can get this Tree's item? import mx.controls.listClasses.*; private function createContextMenu():void { m

  1   2   >