RE: [flexcoders] Using HTTPService programmatically?

2007-03-13 Thread Kumar
You can also refer to below code it will give an idea of how you can create a feed ot HTTPService in action script.. public function createnewsFeed(str:String):void { //Path need to be change newsFeed.url=http://rss.news.yahoo.com/rss/topstories;; var

[flexcoders] Re: Passing an object reference as a property

2007-03-13 Thread Paul DeCoursey
I haven't really looking into how it's doing it, but some components like the datagrid do this. Pass in the ref to the object and the name of the property as a separate property. --- In flexcoders@yahoogroups.com, Kevin [EMAIL PROTECTED] wrote: I think I need to be a little clearer about what

RE: [flexcoders] Pass ModelLocator reference to Command?

2007-03-13 Thread Dimitrios Gianninas
with the event that is broadcast to execute the command, pass the field in the ML that is being updated, that should do it if I understand correctly. Dimitrios Gianninas Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL

[flexcoders] Re: Help!

2007-03-13 Thread nathanpdaniel
I was using just the Flex Builder 2.0 mxmlc compiler that you get with the SDK (pre-update though). I didn't notice anything until I tried moving the project to our server - I haven't worked on it in a while. This was the only project that its ever done it on (I also got FB2 shortly

Re: [flexcoders] Re: Security error accessing url

2007-03-13 Thread André Rodrigues Pena
If people are against the proxy application.. what's the better solution? (since I can't see how can I counterfeit a crossdomain file in a external and not-accessible server) On 3/12/07, Troy Gilbert [EMAIL PROTECTED] wrote: Ahh, yes, but if all of your clients go through your proxy server

[flexcoders] Layout Change, Flexible

2007-03-13 Thread lostinrecursion
Hi all, I have two components in a view. One called Dashboard ( a custom Canvas component which can be hidden/shown by a pull bar) - and the other called WorkArea, which is the main work area, also an extension of Canvas, Simply, when the Dashboard is moved out of view, I want the WorkArea

Re: [flexcoders] Need help with validation in a DataGrid

2007-03-13 Thread Lex
Nobody knows? :( Should be straightforward to all the Flexmasters out there! :) - Original Message - From: Lex To: flexcoders@yahoogroups.com Sent: Tuesday, March 13, 2007 7:09 PM Subject: [flexcoders] Need help with validation in a DataGrid I'm having a hard time

Re: [flexcoders] Dynamic Instance of Class Data Typing

2007-03-13 Thread Kevin
hmm... is there a reason that this would not work on a method that is added dynamically (in the RemoteObjectClass)? Specifically, here is what I am trying to accomplish. private var service:RemoteObject; public var method:String; this.service = ServiceLocator.getInstance().getRemoteObject

[flexcoders] Re: Build Date?

2007-03-13 Thread Paul DeCoursey
Do you mean the date the swf was compiled? Not sure if there is an easier way, but here is a high level of what we do. We do all our builds with ANT, and we use some custom ANT tasks that creates an .as file with build info. Then our main application mxml includes that and we can display that

[flexcoders] keyboard event

2007-03-13 Thread offus99
Just like in HTML hitting Enter submits a form and hitting tab sets focus to the next form item, how do I achieve something similar in Flex?

[flexcoders] y-axis graph title

2007-03-13 Thread offus99
mx:CategoryAxis title=price / ..this is how I am setting the title of my Y-axis but the label price shows up facing in the opposite direction. How do I rotate its position and make it face the graph?

[flexcoders] Flex app on PDA - MS Pocket PC / Windows Mobile

2007-03-13 Thread amri_ls
Hi! Does anyone know whether applications built using Flex Builder can run on PDA with MS Pocket PC or Windows Mobile without modification / scale down? Our project is building a dashboard application that runs both on PC and PDA. Does Flash player installed (shipped) in PDA or we need to

[flexcoders] Combobox will not display (only) one item

2007-03-13 Thread pdenys
I have a simple example where my ComboBox has a dataProvider that is an ArrayCollection. This ArrayCollection is assigned to the results of an HTTPService that retrieves an xml file of US States. The XML file is just sitting on a local web server. Why is it that when there is only 1 entry

Re: [flexcoders] VideoDisplay volume problem

2007-03-13 Thread Julian Sander
Hi David, the problem is based on the conditional in the VideoDisplay function set volume... I had to track this down and found a temporary workaround.. package com.iahh.teaser.ui { import mx.controls.VideoDisplay; public class IAHHVideoDisplay extends VideoDisplay

[flexcoders] Re: Security error accessing url

2007-03-13 Thread Paul DeCoursey
Proxy is your solution. counterfeiting a corssdomain file is inadvisable difficult and probably impossible to do on a large scale deployment. The only ways I can think do it would require great effort and would need other software to be installed on the client machine to pull it off. Plus that

Re: [flexcoders] Re: Security error accessing url

2007-03-13 Thread André Rodrigues Pena
I understand your point Paul.. it makes sense On 13 Mar 2007 19:38:40 -0700, Paul DeCoursey [EMAIL PROTECTED] wrote: Proxy is your solution. counterfeiting a corssdomain file is inadvisable difficult and probably impossible to do on a large scale deployment. The only ways I can think do it

RE: [flexcoders] Build Date?

2007-03-13 Thread Dimitrios Gianninas
If you use ant, generate a file with the build date and time inside of it (right after you compile) and have a remote call at app startup to retrieve and show in the UI. Thats what we do. Dimitrios Gianninas Optimal Payments Inc. -Original Message- From: flexcoders@yahoogroups.com on

Re: [flexcoders] keyboard event

2007-03-13 Thread Kevin
the TextInput class has a built-in 'enter' event which fires when enter is pressed in a TextInput field. an example: mx:TextInput id=password displayAsPassword=true enter=loginUser ()/ Tabbing in forms works by default, but if you need something special, then you can use the tab methods

RE: [flexcoders] keyboard event

2007-03-13 Thread Karl Johnson
The tab order is setup by default, but you can change it if you want by manually setting the tabIndex on the controls. Also, you can make the enter trigger a form submit or whatever action you want by simply setting enter=doStuff() on the textInput(s). Karl Cynergy From:

Re: [flexcoders] Combobox will not display (only) one item

2007-03-13 Thread Hilary Bridel
Hi, Try changing: myAC = event.result.states.state; to myAC = event.result.states; Hilary -- On 13 Mar 2007 19:36:50 -0700, pdenys [EMAIL PROTECTED] wrote: I have a simple example where my ComboBox has a dataProvider that is an ArrayCollection. This ArrayCollection is assigned to the

RE: [flexcoders] Dynamic Instance of Class Data Typing

2007-03-13 Thread Gordon Smith
Did you have a compilation error or a runtime error? It shouldn't have compiled as written; it would be service[this.method](params) not serivce.[this.method](params) If you got a runtime error, what did it say? - Gordon From:

[flexcoders] Re: Tree, drag+drop, and XML

2007-03-13 Thread Douglas Knudsen
here is example code of what I am seeing. Why doesn't a leaf carry the data in the drag event? ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical mx:Script ![CDATA[ import mx.events.DragEvent; import

[flexcoders] XML to AS3 object

2007-03-13 Thread Ian Shafer
Hello, I'm getting XML from an HTTPService call (and/or a WebService call, I don't think this matters). I want to take this XML and put it into my AS3 objects (ValueObjects using Cairngorm terminology). I'm currently using Darron Schall's ObjectTranslator, which is great but doesn't work for

[flexcoders] ID3 Tags

2007-03-13 Thread xmrcivicboix
Does anyone here know how to get ONE version of the ID3 tag? Let's say the song has a ID3v1 and ID3v2, just pick one programatically? Thanks -- View this message in context: http://www.nabble.com/ID3-Tags-tf3400153.html#a9468398 Sent from the FlexCoders mailing list archive at Nabble.com.

[flexcoders] Mac Flashplayer bug discovered (behaves differently than the PC)

2007-03-13 Thread {reduxdj}
Hi There, I was working on a project and didn't even take the time to check it out in the yet mac until I needed to a little work on it on my macbook and I discovered a bug in the mac flashplayer. I made a (yass) yet another slide show... and this time I used Alex Uhlman's API for AS3.0.

Re: [flexcoders] XML to AS3 object

2007-03-13 Thread shaun
Hi Ian, Ian Shafer wrote: Hello, I'm getting XML from an HTTPService call (and/or a WebService call, I don't think this matters). I want to take this XML and put it into my AS3 objects (ValueObjects using Cairngorm terminology). I'm currently using Darron Schall's ObjectTranslator,

[flexcoders] Remote AVM1 swfs not able to execute code?

2007-03-13 Thread Bjorn Schultheiss
Hi, I have a flex app that loads in avm1 swf assets and displays them as thumbnails. In these thumbnails we also wish to be able to control their timeline, ie, stop and start. The current setup is this. domainA Flex 2 RIA domainB Flash 8 player domainB Flash 8 assets we load in the flash