[flexcoders] Re: Custom ItemRenderer still not working...

2010-02-05 Thread wrhinfl
e: > > listOfFees:ArrayCollection = new ArrayCollection(data.course_fees); > > would that pass a reference to the ArrayCollection, or will that be making > > a copy? > > > > --- In flexcoders@yahoogroups.com, "wrhinfl" wrote: > > > >

[flexcoders] Re: Custom ItemRenderer still not working...

2010-02-05 Thread wrhinfl
I thought array does not broadcast updates "nicely" (uniformly/as expected), can you change the declaration of listOfFees from: [Bindable]private var listOfFees:Array; to:[Bindable]private var listOfFees:ArrayCollection; --- In flexcoders@yahoogroups.com, "Laurence" wrote: > > I thought I had th

[flexcoders] Location of MXML applications

2009-11-18 Thread wrhinfl
Hi FlexCoders Can a MXML application be stored in a subdirectory of src? Flex Builder states the application is not executable, all I have to do is move the mxml file from the subdiretory and it will run fine. Thanks in advance.

[flexcoders] Re: Loading local SWFs in AIR to local-with-network sandbox

2009-07-28 Thread wrhinfl
Reading the documentation you pointed to, if you load from within the application directory the file will have full access. Loading from network or remote, it will be in the remote sandbox. Loading from outside the application directory will allow you to give the different security sandboxes b

[flexcoders] Re: Livecycle data w/ Flex and error #1009

2009-07-19 Thread wrhinfl
Try writing a simple java class to access your database (nothing to do with LCDS), see if you get an error with that. While using BlazeDS (scaled down version of LCDS) I noticed the JDBC driver to connect to mySQL had to be downloaded for my java classes to access the database. I didn't comp

[flexcoders] Re: create class on the fly

2009-07-15 Thread wrhinfl
Ok, I am sorry, I think there were still two bad lines of code in that example for trying to get a function into the class dynamically with a string variable. But I am able to add properties to the class dynamically based on the value of a string variable: var sNewProperty:String; sNewProperty =

[flexcoders] Re: create class on the fly

2009-07-15 Thread wrhinfl
So you need a process that maps future (currently un)named column names into a class property name (which is also currently unnamed)? I think you want to work with a dynamic class. It will allow you to add new properties at run time. It will also allow you to add new functions at run time (al

[flexcoders] Re: create class on the fly

2009-07-14 Thread wrhinfl
Ok, I think the way your question is worded can cause problems with the answer you get. If your real question was "Can a class be modified during runtime and how?" Would this be the same question you are asking? I searched the ASDocs and found Dynamic Class, which allows you to add variables

[flexcoders] Re: Configureing AIR app for blazeds messaging

2009-07-02 Thread wrhinfl
I am interested in doing this too. The book Adobe AIR Programming Unleashed has an example in chapter 13, I was finally able to get it to work. The main thing it is stating near the begining of this example is "Under Additional Compiler Arguements, change the path inside the double quotes to m

[flexcoders] Re: BlazeDS | Messaging | Design Query

2009-06-20 Thread wrhinfl
How about this in messaging-config.xml: And this in services-config.xml: http://{server.name}:{server.port}/{context.root}/messagebroker/amf\polling"; class="flex.messaging.endpoints.AMFEndpoint" /> true 60 http://{server.name}:{server.port}/{context.root}/messagebroker/amf\polling"

[flexcoders] Re: Converting XML Data Retrieved from Web Service to ArrayCollection

2009-05-28 Thread wrhinfl
How about moving one line of code from getGridData into serviceResultHandler, something like: private function getGridData():void { CursorManager.setBusyCursor(); var service:WebService = new WebService(); service.addEventListener(ResultEvent.RESULT, serviceResultHandler);

[flexcoders] Re: URLLoader + Binary != URLStream

2009-05-27 Thread wrhinfl
In loadercomplete function, do you want rawBytes.writeObject( loader.data ); Or do you want rawBytes.readObject( loader.data ); --- In flexcoders@yahoogroups.com, Stephen More wrote: > > I would think that I could load a swf using either URLLoader or > URLStream. As it turns out only m