RE: [flexcoders] Using HTTPService in a function

2006-06-17 Thread Mac Martine
Its because at the point that you do: myXML = http.lastResult.toString(); the result of the service has not yet been received. You need to create an event listener to let you know when the service has completed its call. The event listener will then trigger a result function that

[flexcoders] my setup

2006-06-17 Thread Jeremy Rottman
Personally I use gmail and I have a special account just for lists. I get all the emails into my email box and they are auto sorted and I can just search for what I want from gmail. I really dont see the point of opening a new forum. It only leads the way for trolls and spammers. Plus I am sure

Re: [flexcoders] Image source to a repeaterItem

2006-06-17 Thread Pat Buchanan
FlapFlap:Did you ever get an answer to this? I'm experiencing the same problem.Thanks!On 5/19/06, Flapflap [EMAIL PROTECTED] wrote:Hi there,I got a object source that I use with a repeater In this repeater I have a Image so source is binding torep.currentItem.iconThe icon is a string

Re: [flexcoders] Re: Intro to Flash development using Flex?

2006-06-17 Thread Abdul Qabiz
I used mtasc for some projects. Started using Haxe for some. But some projects use V2 components and mtasc is not good with it, so we use Flash IDE.But I think, with free Flex SDK I might not be using any of those :) -abdulOn 6/17/06, Brendan Meutzner [EMAIL PROTECTED] wrote:

[flexcoders] remote access problem

2006-06-17 Thread Sanjeev Krishna
Hi every one., While running my mxml file on a remote system it is unable to get the data. Iam using ColdFusion as middleware and access as database. The application is running good on the localhost,but failing to run on a remote sytem.\ I tried to run it on a public ip ,but the application

[flexcoders] problem with remote access

2006-06-17 Thread Sanjeev Krishna
Hi eevry one.,While running my mxml file on a remote system it is unable to get the data. Iam using ColdFusion as middleware and access as database. The application is running good on the localhost,but failing to run on a remote sytem.\ Itried to run it ona public ip ,but the application

Re: [flexcoders] Using HTTPService in a function

2006-06-17 Thread NZEYIMANA Emery Fabrice
Thanks Martine, I have read from the manuals and tried to do the following: private function SampleFunction():void{var http:HTTPService;http = new HTTPService();http.url = ""FONT-SIZE: 10pt; FONT-FAMILY: Arial">http://www.domain.com/my_xml.php";http.method="POST";http.useProxy =

[flexcoders] Cold Fusion And Flex 2

2006-06-17 Thread mvbaffa
Hi all, I am considering to use Flex and Cold Fusion for a new application. It seems that this is a very good integration and combination. The problem is that this application will run on a public provider that already have Cold Fusion MX 7 installed. It is very difficult to find a provider

[flexcoders] MovieClips in AS3

2006-06-17 Thread Hilary Bridel
Hi all, Is it possible to programmatically build an AS3 movieclip complete with frame names and content on each frameetc? If not, does that meanwe have to wait for the next version of the Flash IDE?-- Hilary-- __._,_.___ -- Flexcoders Mailing List FAQ:

[flexcoders] Re: Using HTTPService in a function

2006-06-17 Thread Geoffrey Williams
Are you importing the class? import mx.rpc.events.ResultEvent; --- In flexcoders@yahoogroups.com, NZEYIMANA Emery Fabrice [EMAIL PROTECTED] wrote: Thanks Martine, I have read from the manuals and tried to do the following: private function SampleFunction():void { var

Re: [flexcoders] Cold Fusion And Flex 2

2006-06-17 Thread Douglas Knudsen
depends on how you want to retrieve your data. If you use WebServices or REST via HTTPService, no need to install anything. Only need the install if you want to use RemoteObjects. DK On 6/17/06, mvbaffa [EMAIL PROTECTED] wrote: Hi all, I am considering to use Flex and Cold Fusion for a new

Re: [flexcoders] MovieClips in AS3

2006-06-17 Thread Michael Schmalle
Hi, As far as I know it isn't; You can manipulate the MovieClip object but; The new FlashIDE will incorperate this stuff. FlexBuilder == code/development Flash == design/graphics You can still use Flash8 swfs in AS3, all the code is stripped out so you would have to use The loader object

Re: [flexcoders] MovieClips in AS3

2006-06-17 Thread Hilary Bridel
Thanks Mike, What I want to do is import/load a flash 8SWF and manipulate it with gotoAndPlay etc, but you can only do that with AS3 MC's. How do I get on the new Flash IDE Beta ;-) Hil -- On 6/18/06, Michael Schmalle [EMAIL PROTECTED] wrote: Hi,As far as I know it isn't;You can manipulate

[flexcoders] Re: Using HTTPService in a function

2006-06-17 Thread NZEYIMANA Emery Fabrice
Thank you very much. I imported the class and it now works. Thanks to you Geoffrey and Martine for the help. Emery --- In flexcoders@yahoogroups.com, Geoffrey Williams [EMAIL PROTECTED] wrote: Are you importing the class? import mx.rpc.events.ResultEvent; --- In

[flexcoders] Adding ComboBox Item programmatically

2006-06-17 Thread NZEYIMANA Emery Fabrice
Hello group, Is there any way of adding an item to the combo box programmatically? I hate data binding and try to avoid it as much as I can. Like in .NET one can access the Items property of the combo box. Thanks Emery __._,_.___ -- Flexcoders Mailing List FAQ:

[flexcoders] Re: changing out pieSeries.itemRenderer at runtime

2006-06-17 Thread Jason
Okay, good start. I was thrown off by the help topic"Flex 2.0 Developer's Guide Customizing the User Interface Using Item Renderers and Item Editors Creating an item renderer and item editor". It still uses the old non-setStyle method to set the itemRenderer.Now how do I build this in code:

Re: [flexcoders] MovieClips in AS3

2006-06-17 Thread Michael Schmalle
What I want to do is import/load a flash 8SWF and manipulate it with gotoAndPlay etc, but you can only do that with AS3 MC's. I don't really understand what you mean? IE only do that with AS3 MC's. Import load into a Flex Application? Peace, Mike On 6/17/06, Hilary Bridel [EMAIL

Re: [flexcoders] Re: Using HTTPService in a function

2006-06-17 Thread Michael Schmalle
I know this has been answerd but here is a sample from your code. Peace, Mike ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml creationComplete=SampleFunction(event) layout=absolute mx:Script ![CDATA[ import mx.rpc.events.ResultEvent;

Re: [flexcoders] Adding ComboBox Item programmatically

2006-06-17 Thread Michael Schmalle
Hi, You can access the comboBox.dataProvider as an ICollectionView. See the docs about this interface and the IViewCursor Peace, MikeOn 6/17/06, NZEYIMANA Emery Fabrice [EMAIL PROTECTED] wrote: Hello group, Is there any way of adding an item to the combo

Re: [flexcoders] MovieClips in AS3

2006-06-17 Thread Weyert de Boer
I think he wants to import a Flash 8 SWF and use gotoAndPlay() commands on a movieclip of the loaded flash 8 movie. What I want to do is import/load a flash 8 SWF and manipulate it with gotoAndPlay etc, but you can only do that with AS3 MC's. I don't really understand what you mean? IE

RE: [flexcoders] problem with remote access

2006-06-17 Thread Carson Hager
This is likely a sandbox issue. What IP or host name are you loading the mxml application from? In your httpservice/webservice, what URL are you using? Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL

[flexcoders] Re: Image source to a repeaterItem

2006-06-17 Thread Doug Lowder
The value for myData.poste.icon is just a string, not the reference to the image. I believe you'd need to do something like the following: mx:Image id=iconImg source={rep.currentItem.icon=='poste1'? poste1 : poste2} / A function returning the proper icon class reference would probably be

[flexcoders] Re: Adding ComboBox Item programmatically

2006-06-17 Thread Tim Hoff
Or, if you didn't want to get into the "I" interfaces, you could do it simply like this. This is still data binding, but more of a programmatic hardcoding approach. Sorry, and thank goodness, this isn't .NET, butthe comboBox does havea selectedIndex property. BTW, all of this info is in the

[flexcoders] Flash access to a local serial or USB port

2006-06-17 Thread Spencer Nassar
I'm interested in presenting users with a web page that contains a flash object that can communicate to a device on a serial or USB connection (think camera or GPS unit). It needs to be able to detect active USB connections and do basic serial communications over USB or a serial port. There will

Re: [flexcoders] Adding ComboBox Item programmatically

2006-06-17 Thread NZEYIMANA Emery Fabrice
Hello, thanks for the help. But Ihave admit that I am stillconfused. Do you have a code snippet for me to look at? Everything looks terribly new to me in Flex. Most controls were built with the idea that people will use dataBinding only. As I am learning Flex, I will probably be

Re: [flexcoders] Using HTTPService in a function

2006-06-17 Thread John Michael Resler
When you're interacting with the webservice, are you retrieving the SWF from the same domain as the web service? The Flex Documentation states : Macromedia Flash Player operates within a security sandbox that limits what Flex applications and other Flash applications can access over HTTP.

RE: [flexcoders] Cold Fusion And Flex 2

2006-06-17 Thread Nick Collins
additional software at his production server Is it necessary that Cold Fusion/Flex Connectivity be installed in the production server or this is only a development plug-in Thanks in advance __ NOD32 1.1606 (20060617) Information __ This message was checked by NOD32 antivirus

[flexcoders] Why does a java Long get converted to ComplexString??

2006-06-17 Thread Jon Hirschi
Anybody know why a java long gets converted to a ComplexString?? --- biggermork [EMAIL PROTECTED] wrote: hey, according to the docs, a long in java should map over to a number in actionscript/flex (using web service with soap) That doesn't seem to be happening with my app however. Where

Re: [flexcoders] Flash access to a local serial or USB port

2006-06-17 Thread Weyert de Boer
You might could write some plugin which links a port on localhost with a specific serial or usb port. I think. Yahoo! Groups Sponsor ~-- Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM

[flexcoders] Re: Flash access to a local serial or USB port

2006-06-17 Thread Tim Hoff
I'd also be interested to know if this is possible. My use case would be uploading data, to a Flex application, from a PDA that is connected via USB or serial port. Thanks, Tim Hoff --- In flexcoders@yahoogroups.com, Spencer Nassar [EMAIL PROTECTED] wrote: I'm interested in presenting

[flexcoders] Re: Adding ComboBox Item programmatically

2006-06-17 Thread Tim Hoff
Look here: http://groups.yahoo.com/group/flexcoders/message/39987?l=1 -TH--- In flexcoders@yahoogroups.com, "NZEYIMANA Emery Fabrice" [EMAIL PROTECTED] wrote: Hello, thanks for the help. But I have admit that I am still confused. Do you have a code snippet for me to look at? Everything looks

Re: [flexcoders] Re: Adding ComboBox Item programmatically

2006-06-17 Thread Michael Schmalle
Most controls were built with the idea that people will use dataBinding only. That is not true, learn how to use collections. Peace, Mike On 6/17/06, Tim Hoff [EMAIL PROTECTED] wrote: Look here: http://groups.yahoo.com/group/flexcoders/message/39987?l=1 -TH---

[flexcoders] Re: Adding ComboBox Item programmatically

2006-06-17 Thread Tim Hoff
I agree Mike, List-based controls were built with the idea that people will use data providers. You have to populate the list with something. How you do it, is up to you (data driven or hardcoded). -TH --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Most

[flexcoders] Re: Dates WebServices .NET (redux)

2006-06-17 Thread kellyb723
Pete, I very much appreciate you responding to this, I know you are trying to finish and launch the product. I'm afraid though that I must respectfully disagree with your point that defaulting to local vs. UTC are both technically arbitrary. If a Web Service defines an element type as a

[flexcoders] F2B3: Possible bugs with ComboBox ItemRenderer and ColorPicker

2006-06-17 Thread Tim Hoff
I've been playing around with ItemRenderers and discovered some odd behavior. In the sample below, the ItemRenderer for a ComboBox works fine until the rowCount (5) is exceeded and the scroll bar kicks in. The colors for items indexed above the rowCount are incorrectly displayed. Also, the

[flexcoders] Re: F2B3: Possible bugs with ComboBox ItemRenderer and ColorPicker

2006-06-17 Thread Tim Hoff
Tried it a different way (AS)and got the colors to display correctly, but the ColorPicker issues remain. Sample2: http://www.iepl.net/cbxItemRendererSample2/cbxItemRendererSample2.html -TH--- In flexcoders@yahoogroups.com, "Tim Hoff" [EMAIL PROTECTED] wrote: I've been playing around with

Re: [flexcoders] Re: F2B3: Possible bugs with ComboBox ItemRenderer and ColorPicker

2006-06-17 Thread Jeremy Lu
hi Tim, try this (solves yellow can't be selected problem): private function addColor(event:Event):void { cp.visible = false; // var itm:* = cp.dataProvider[ cp.selectedIndex ]; Util.traceValue(itm); // colorArray.push({label:itm.label, color:itm.color});

Re: [flexcoders] Flash access to a local serial or USB port

2006-06-17 Thread Jeremy Lu
Direct communication with USB/Serial is not possible.But Flash - C++/C# wrapper - USB/Serial is very possible.this means : you need to tie into another resource for communications, wrap activeX inside another binary). Jeremy.On 6/18/06, Spencer Nassar [EMAIL PROTECTED] wrote:

[flexcoders] Re: Flash access to a local serial or USB port

2006-06-17 Thread Tim Hoff
A FlashLite to Flex conduit would be a perfect solution for my use. Perhaps a wireless approach is possible. Thanks Jeremy, -TH --- In flexcoders@yahoogroups.com, Jeremy Lu [EMAIL PROTECTED] wrote: Direct communication with USB/Serial is not possible. But Flash - C++/C# wrapper -

[flexcoders] No more posts re: moderation / yahoogroups pls

2006-06-17 Thread Steven Webster
Guys, Post will be much easier to find, and the list much easier to read, if there aren't 30+ posts a day with various opinions on how the list could be different or better ! We've had a successful community running here on yahoogroups since day zero of Flex's launch ... we'll keep a very