[flexcoders] Re: WebService, destination, Basic Auth

2007-02-17 Thread ecpmaz
Does anybody have any example for that ? {Maz} I've been struggling for hours to understand what is said in the livedoc but I do not manage to figure out how to do that !!! Adobe surely have to improve their data acess and interconnectivity help part ! So, I want to access a WebService

[flexcoders] Re: Error: Only one root tag is allowed.

2007-02-17 Thread Cato Paus
Hi Dave. you have to open the xml whit a root tag, the xml parser think it is more than one root here because you dident create the root, you went straight to the nodes, then each node becomes a root ;) mx:XML root your nodes here. /root /mx:XML here is a working sample for you. ?xml

[flexcoders] addChild doesn't work as dynamic, why?

2007-02-17 Thread Igor Costa
Hi there Folks While trying to create a dynamic component into flex application then trying to include others, why such thing doesn't work. In the example bellow I create an PopUp titleWindow with children TextArea Component. But when I create again the same titleWindow, the last TextArea who

Re: [flexcoders] Flash 9 - Flex 2 interface (previously): Can't we access MovieClips contained in embedded SWF's?

2007-02-17 Thread Jeffry Houser
I'm sure that there will be more resources from Adobe as the Flash 9 IDE is released. That said, I suggest reading through this document: http://sdc.shockwave.com/devnet/flex/quickstart/embedding_assets/#EmbeddingSwfFiles . At 11:05 PM 2/16/2007, you wrote: Any Adobe or other people

Re: [flexcoders] Re: Error: Only one root tag is allowed.

2007-02-17 Thread Dave
Cato, Right! I tested it out. You can even declare the root as a node - as long as you only have one. But I suppose there are other attributes that may differ between root and node. Thanks so much for your thoughtful reply. Thank you, Dave Cato Paus [EMAIL PROTECTED] wrote:

Re: [flexcoders] no code completion with cairngorm

2007-02-17 Thread Dave Carabetta
Code completion doesn't work with SWCs I don't think. To solve your problem, you might just set up a second project in Flex Builder called Cairngorm 2.1 and then edit the Project References by selecting the Cairngorm project in the Properties of the project that uses it. This way, you don't have

[flexcoders] Re: Windows Vista Flex

2007-02-17 Thread wesubotnix
My collegue tried to install eclipse and the flexbuilder plugin on a vista machine and recieived an error. When looking into the error log we found that a library couldnĀ“t be found. The error log looked like something we found described by Michael Simpson (2007-01-16 12:29:11), at this page:

RE: [flexcoders] addChild doesn't work as dynamic, why?

2007-02-17 Thread Gordon Smith
I see three problems: 1. This code gives an RTE when I run it. When the Application's creationComplete handler calls createTextArea(), and this method executes addChild(titleWindows), titleWindows is null. You can't add a null child to a parent. 2. If you are using the PopUpManager to pop up

Re: [flexcoders] Flex 2 XML manipulation question

2007-02-17 Thread leds usop
this isnt exactly a clean and optimized code, but it works. just tweak it according to your needs. It accepts both xml and xmllist. heck it will even accept any object so long as there is a length() method in it, however in that case, it will just return the original object. let me know if it

Re: [flexcoders] Flex 2 XML manipulation question

2007-02-17 Thread leds usop
a little revision to my previous post. you can also modify this to delete 'nodes' according to supplied attribute or index. this time it will certainly throw null when parameter is not XMl and XMllist; returns XMLlist if successful. I must warn you, this uses recursion tho. Some developers feel

[flexcoders] DISREGARD....FW: ListRowInfo...

2007-02-17 Thread Steve Kellogg
Please disregard. I found the solution shortly after pressing SEND. Sorry for the noise. Steve From: Steve Kellogg Sent: Saturday, February 17, 2007 11:25 AM To: 'flexcoders@yahoogroups.com' Subject: ListRowInfo... Hello, I'm needing to

[flexcoders] Re: Flickr and Flash Player Sandbox

2007-02-17 Thread Pavan Podila
--- In flexcoders@yahoogroups.com, Webdevotion [EMAIL PROTECTED] wrote: Hello List, Is there anyone who can shed a light on how to deploy a Flex / Flickr mashup without those domain security errors ? Hope this solves your problem:

[flexcoders] ListRowInfo...

2007-02-17 Thread Steve Kellogg
Hello, I'm needing to access the information in ListRowInfo elements (in the 'rowInfo' array) for a LIST. Since the rowInfo is Protected, I'm extending List into my own class, but when I try to import mx.comtrols.listClasses, FlexBuilder is telling me that Definition mx.Controls.listClasses

[flexcoders] observing a model change in cairngorm

2007-02-17 Thread Grant Davies
Hi guys, I've got my view, model, commands and delegate all running and my view contains a chart. When the model changes for my chart data I need to work the data a little and can't just directly use the binding. do I 1) change my command to fire an event when the model has been updated 2)

RE: [flexcoders] observing a model change in cairngorm

2007-02-17 Thread Grant Davies
Thanks gareth.. the model is used by multiple views, a grid and a chart, the chart needs the xml from the model manipulated a little differently than the grid does... grant ... b l u e t u b e i n t e r a c t i v e. .: grant davies .: 404.428.6839

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

2007-02-17 Thread Carlos Rovira
I had the same problem. It seems like the Cairngorm project source has something inside the files that FB does not like. It would be great that Adobe put some new package that fixes this issue. I finaly use the SWC and can't create a Flex Library Project. Really weird... On 2/14/07, Dustin

Re: [flexcoders] observing a model change in cairngorm

2007-02-17 Thread Ralf Bokelberg
Hi Grant Can't you use a binding function? dataProvider={ massageData( ModelLocator.getInstance().myData ) } Cheers Ralf. On 2/17/07, Gareth Edwards [EMAIL PROTECTED] wrote: Why not define an as class for your model (if you aren't already), and define a separate variable that you can

RE: [flexcoders] observing a model change in cairngorm

2007-02-17 Thread Grant Davies
gareth, thanks for the response... I think my concern is poluting the model with view specific data... The results of a command is xml and this is set in the model which is an as class (VisitorModel) , the chart bound to the model via its data provider. when the app first starts up, I

[flexcoders] ArrayCollection contains not working

2007-02-17 Thread Carlos Rovira
Hi, I've been trying to filter an ArrayCollection with the objects that not exist in another ArrayCollection. I use the contains method, but it seems that does not work. In the following thread seems that others are having the same problem with XMLListCollectionView:

RE: [flexcoders] observing a model change in cairngorm

2007-02-17 Thread Grant Davies
I tried that and its only called ONCE as you're binding to a function that manipulates the data. when the data in - ModelLocator.getInstance().myData changes there is nothing bound to it, since you bound to the function massage data and not the actual data in the model... does that make any

[flexcoders] Re: Determining Drop Index in a List

2007-02-17 Thread jensen.axel
For pete's sake, i hope someone answers this. I need to determine in if the drop is before the selected index... and if it is, (i'm using allowMultipleSelection) I need to determine the length of the drag source, and add that number to the selectedIndex... Axel

[flexcoders] Re: Determining Drop Index in a List

2007-02-17 Thread jensen.axel
Paul, I think I found a good source to look at for the answer, use a function called calculateDropIndex(event) I don't know enough about it yet, but here is a page to look at, just right-click to view the source, and copy and paste it into your own new flex project... Hope you can dissect it

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

2007-02-17 Thread gary.grossman
If you place an instance on stage when a document class is in use, you must declare that instance in the document class as well. In your case below, you need to declare square_mc in your document class FlexToFlashMain: public var square_mc:SquareMC; /* or whatever type it is */ It must be

[flexcoders] Re: Cairngorm 2.1 AMFPHP 1.9

2007-02-17 Thread Renaun Erickson
Another gotcha that comes up is the destination names are case sensitive. Confirm they are the same case in the MXML code and the services config. You say, posted earlier has services-config.xml calling amfphp19- services-config.xml... Try using a services-config.xml file that defines all the

[flexcoders] Re: AMFPHP explicitType error

2007-02-17 Thread Renaun Erickson
I have an example of a Cairngorm Store Flex application connects to multiple backends. You can find it here: http://api.renaun.com/flex2/posts/CairngormStoreMultipleBackend/ Two of the backends are AMFPHP 1.2 (AMF0 using RemoteObjectAMF0) and AMFPHP 1.9 (AMF3). Both examples returned typed

[flexcoders] Re: amfphp + codeigniter

2007-02-17 Thread Renaun Erickson
In regards to the Flickr question. You can go Flex straight to Flickr. I did a quick mashup a while back, its up on the flex cookbook site. You can find it here: http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetailspostId=1441productId=2 Renaun --- In

[flexcoders] Re: AS2 to AS3 - looping over loaded SWF

2007-02-17 Thread thibs73
Hi, I have looked at Alex's distortion effects and it is quite impressive. However, I am not sure it does what I need, perhaps I am overlooking a method? What I am infact flipping are home floor plans... showing the reverse of the floor plan.(no animation ness.) This object is created

[flexcoders] cairngorm event that will affect all models, where to put the logic.

2007-02-17 Thread Grant Davies
Hey guys, have a cairngorm architecture question. I have a dashboard where various charts are based on a global date. I have my datemodel and commands etc that update the datemodel based on the date event being fired. What I also need to happen is if the date changes, I need to get fresh data

[flexcoders] Re: observing a model change in cairngorm

2007-02-17 Thread roman_dolgov
Looks like you need to define a custom 'DataChange' event on your data model, and then listen for this event in your view classes and once event received redraw view based on new data. (something similar to ArrayCollection/DataGrid behavior - you can check ListCollectionView, see