RE: [flexcoders] Cairngorm woes =\

2005-08-22 Thread Allen Manning
A left tab nav singleton? Maybe there are some Singleton UI management classes which are used to build the UI dynamically rather than using good 'ole MXML. I would love to see the arguments as to why that is a good way to go... Maybe they are dynamically building the UIs from some other

[flexcoders] Formatting tree's nodes and sub-nodes

2005-08-22 Thread P Trisnadi
Is there a way to format tree's branches and leaves differently? E.g.: all the branches to be bold and blue, while all the leaves are black and in regular font-weight. I tried setStyle, but no luck... I also searched Flex documentation, as well as the Mail Archive, but have not been able to find

[flexcoders] A big problem for a big beginner (drag'ndrop with create child)

2005-08-22 Thread sojiro59
Hello, I am a beginner in Flex programming, i tried all the tutorials i could find in order to learn the base but i am blocked by this problem : When i click on a image, i wanted to make a copy of this image which has been created in order to be drag'n drop in another container. That i wanted

Re: [flexcoders] A big problem for a big beginner (drag'ndrop with create child)

2005-08-22 Thread Krzysztof Szlapinski
When i click on a image, i wanted to make a copy of this image which has been created in order to be drag'n drop in another container. do you want to make the copy of an image object? maybe just pass an this image's url in a string and create another image object when the dragging is

Re: [flexcoders] Formatting tree's nodes and sub-nodes

2005-08-22 Thread Scott Bachman
You need to create a tree row renderer (similar to cell renderer for lists/datagrids): http://www.macromedia.com/support/documentation/en/flex/1/cellrenderers/cellrenderers13.html You may have to consult the TreeRow sources (flex4flash) in order to work out all the details. Basically, in

[flexcoders] Re: A big problem for a big beginner (drag'ndrop with create child)

2005-08-22 Thread sojiro59
I want to make a copy of the image in order to move this copy on the container representing the planning and to keep the image in the list of the activities. I know that i need to develop solution with createchild or createclassobject to do this but i don't succeed. --- In

RE: [flexcoders] Re: A big problem for a big beginner (drag'ndrop with create child)

2005-08-22 Thread Philippe Maegerman
I think you should investigate the dragProxy class http://livedocs.macromedia.com/flex/15/asdocs_en/mx/controls/listclasses/DragProxy.html Philippe Maegerman From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sojiro59Sent: lundi 22 août 2005 14:12To:

RE: [flexcoders] Re: A big problem for a big beginner (drag'ndrop with create child)

2005-08-22 Thread Philippe Maegerman
I just realized this is something that was done in the Flex Store sample, if you have the Flex samples installed, you should be able to find the necessary code in there. Otherwise I found this in FlexCoders archive (Manish was there again ;)):

[flexcoders] Cairngorm, Form binding and VO's .. curiousity got the better of me.

2005-08-22 Thread Scott Barnes
I've been chewing on a dilemma with regards to Databinding. Initially my thoughts up front were to have a mx:Model, which the form binds too both ways. Then from outside the view, ie parent container the model is populated via a known VO (viewpodXYZ.local_modal = ModelLocator.MyVO) This would

[flexcoders] dispatchEvent with parameter

2005-08-22 Thread Stanislav Zayarsky
Dear Flex Coders, I have next small issue: I don't know how to dispatchEvent with parameter from *.as custom component to Flex. Actually I know how to send parameter from component, it should look like this: link.dispatchEvent({type:eventName,param:Hello World}); But I don't know how to

RE: [flexcoders] dispatchEvent with parameter

2005-08-22 Thread Allen Manning
componentName eventName=clicked(event.param)/ -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stanislav Zayarsky Sent: 22 August 2005 15:15 To: flexcoders@yahoogroups.com Subject: [flexcoders] dispatchEvent with parameter Dear Flex Coders, I

Re: [flexcoders] dispatchEvent with parameter

2005-08-22 Thread Stanislav Zayarsky
Wow, It's working! Thanks a lot Allen! :) On 8/22/05, Allen Manning [EMAIL PROTECTED] wrote: componentName eventName=clicked(event.param)/ -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stanislav Zayarsky Sent: 22 August 2005 15:15

RE: [flexcoders] dispatchEvent with parameter

2005-08-22 Thread Allen Manning
Hey np. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stanislav Zayarsky Sent: 22 August 2005 16:00 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] dispatchEvent with parameter Wow, It's working! Thanks a lot Allen! :) On 8/22/05,

[flexcoders] About downloading files in Flex

2005-08-22 Thread Jesus Salvador Ramos Cardona
Hi all, We have developed a Flex app which is in production now. However, we have a new requirement, which asks for the ability to download PDF files. These files are reports that are generated dynamically. I have successfully set up the report generation, and am using this piece of

[flexcoders] Question about shared objects

2005-08-22 Thread nostra72
Ok I took the following code ?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" xmlns="*"mx:Script![CDATA[private function addItemToCombo( event ){if ( event.target.text.length 0 !itemExsistsInComboDataProvider( event.target, event.target.text )

RE: [flexcoders] About downloading files in Flex

2005-08-22 Thread Philippe Maegerman
You cannot load .pdf files into theflash player, I think you will have to open a new window or load it into an iFrame on top of your applicationà la Coenraets (http://coenraets.com/viewarticle.jsp?articleId=95) Philippe Maegerman From: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] Question about shared objects

2005-08-22 Thread Matt Horn
A TextInput field cannot take a dataprovider array as input values.Perhaps you can explain why you are trying to do what you are trying to do with a TextInput instead of a ComboBox? matt h. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL

RE: [flexcoders] Passing array to web service CFC

2005-08-22 Thread bsd
Can anyone help with this issue? It would be greatly appreciated. Brad From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bdardaganian Sent: Friday, August 19, 2005 12:24 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Passing array to web

RE: [flexcoders] About downloading files in Flex

2005-08-22 Thread Jesus Salvador Ramos Cardona
We know this, and thats why we are changing the content type of the response, so it is able to open a file with a local acrobat reader. This approach has served us in the past when we were all servlets and EJBs. We have thoughts around using getURL(), but how do we get the response to

RE: [flexcoders] About downloading files in Flex

2005-08-22 Thread Dirk Eismann
Try: getURL(targetURL, _blank); if you want to POST some data to a servlet and receive the response inside a new window you could also use the LoadVars class, e.g. lv = new LoadVars(); lv.myParam = 123; lv.send(targetURL, _blank, POST); Dirk. From:

RE: [flexcoders] Question about shared objects

2005-08-22 Thread Matt Horn
Ok, but you can't use a dataprovider array to provide data to a textinput field. start by changing that back to acombobox if you want to use the functionality in that sample app. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]Sent:

Re: [flexcoders] Question about shared objects

2005-08-22 Thread nostra72
What I meant was instead of using a combo box I was wondering how someone stores the text on a textinput box using shared objects -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

RE: [flexcoders] About downloading files in Flex

2005-08-22 Thread Jesus Salvador Ramos Cardona
The thing is, we are not using servlets anymore. We are using Flex, and the Cairngorm architecture. Is a servlet the only way to achieve this functionality? De: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] En nombre de Dirk Eismann Enviado el: Lunes, 22 de

RE: [flexcoders] About downloading files in Flex

2005-08-22 Thread Dirk Eismann
You can use getURL() or LoadVars from within a Cairngorm command - been there, done that. With Flash Player 7 this will be your only chance to trigger a download operation that targets a new browser window. You cannot use RemoteObject or something along the lines to download a file. If you

RE: [flexcoders] Question about shared objects

2005-08-22 Thread Matt Horn
Ok, this example stores the value of the textinput box in a sharedobject and gets it when the app first starts: ?xml version="1.0" encoding="iso-8859-1" ?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" initialize="initApp()"mx:Scriptpublic var mySO:SharedObject;public var

RE: [flexcoders] Some questions about Bar Chart in Flex

2005-08-22 Thread Ely Greenfield
Title: Mercury Email Signature Hi Shlomi -- The way to do this in Flex 1.5 is to write a custom renderer. you'd want to do something like the following: class myCustomFill implements mx.charts.renderers.interfaces.BoxRenderer { ... public var selectedIndex:Number; public var

Re: [flexcoders] Question about shared objects

2005-08-22 Thread nostra72
Thanks one question though does the storeName function have to be private? I am asking because lets say I put the storeName function on a seperate .as file -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

RE: [flexcoders] Question about shared objects

2005-08-22 Thread Matt Horn
nope, it can be public. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]Sent: Monday, August 22, 2005 2:02 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Question about shared objects Thanks one question though does

[flexcoders] Re: Scrollbar in canvas

2005-08-22 Thread Rajesh Jayabalan
Hi Matt, I tried it with VBox set to 100% and scrollbar set to auto, same behaviour. Rajesh J --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: What if you set the vbox1 width/height to 100%. Then it will have a scrollbar as necessary I think. Matt

[flexcoders] Cairgorm question.

2005-08-22 Thread Omar Ramos
Hi again :), I have a question about ViewHelpers again! I know the ViewHelpers are there to massage the Model. But what when I have to invoke difrent events of that specific view from other views? For example I am making a drawing application and I have difrent methods for creating shapes

RE: [flexcoders] Cairgorm question.

2005-08-22 Thread grady.haynes
Hi, Omar. Cairngorm is primarily designed to help teams of developers build large database-driven Rich Internet Applications for business. It implements patterns and best practices that are designed with that intent. It works very well for this; however---at least without knowing more details

Re: [flexcoders] Cairgorm question.

2005-08-22 Thread Scott Barnes
Well personally, when writing components (which is kind of what your stating you've done), i keep the views selfcontained. An Example was a CustomCalendar Ingredients: 1xCombobox = month 1xNumericStepper = year 1xCalendar = day Now my other views rely on the fact that these three controls

Re: [flexcoders] Cairgorm question.

2005-08-22 Thread Omar Ramos
This is what I had planed. The user can draw many things on the stage a ballon put a image or some text. So I was going to make a ViewHelper for the flex canvas component that would have the methods that create these views on the Canvas. Then a particular view would dispatch a event like

[flexcoders] Flash Player quality setting

2005-08-22 Thread superabe superabe
Hello List, Anybody know how/where I can set the Flash player's quality property to best. This is for a Flex app. Typically for Flash I would set it in the object tags in the html container page, but am not sure how to do that for Flex Thanks, - superabe Yahoo!

Re: [flexcoders] Flash Player quality setting

2005-08-22 Thread JesterXL
_quality = BEST; - Original Message - From: superabe superabe [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, August 22, 2005 7:02 PM Subject: [flexcoders] Flash Player quality setting Hello List, Anybody know how/where I can set the Flash player's quality property to

Re: [flexcoders] Flash Player quality setting

2005-08-22 Thread superabe superabe
Where would you set _quality=BEST? on the Application tag ? in flex_config ? where :-) - superabe On 8/22/05, JesterXL [EMAIL PROTECTED] wrote: _quality = BEST; - Original Message - From: superabe superabe [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, August

Re: [flexcoders] Flash Player quality setting

2005-08-22 Thread JesterXL
It's global so anywhere. However, do it it your Application's main method. - Original Message - From: superabe superabe [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, August 22, 2005 8:51 PM Subject: Re: [flexcoders] Flash Player quality setting Where would you set

Re: [flexcoders] Cairgorm question.

2005-08-22 Thread Omar Ramos
Thanks for your responses. I can not give much details about the application as is confidential. But the application is also constantly comunicating with the database and .NET, so I have implemented Cairgorm for that part and it works nicely. But developing my canvas component I got to wonder

[flexcoders] Flash Forms

2005-08-22 Thread Mehdi, Agha
Title: Flash Forms Hi All, I am sorry to post this question here but I don't know where else to ask this. I am using Flash Forms in CF and need to switch to the Tab Child C if index 1 of drop down on Tab Child A is selected. How do I do that? Thanks Agha Mehdi IDT - eBusiness Program

RE: [flexcoders] Dynamic controls

2005-08-22 Thread Gordon Smith
I know this is old, but I'm catching up on flexcoders... You usually want to call createChild() instead of createClassObject(). createChild() is for creating content children inside of containers. The dynamically created children contribute to the numChildren count, can be accessed via