[flexcoders] Drag and drop among components

2005-09-06 Thread Prasad Dhananjaya
Hi all, I want to drag a image from GridItem and drop it on Canvas (Just drag drop).With referring flex samples(Dragdrop--Custom class example) I wrote below code. But it is not working. This is my first dragdrop(among components) code and I am not sure what's wrong. Can someone help...

Re: [flexcoders] Datagrid and Multiple Combo Boxes

2005-09-06 Thread Manish Jethani
On 9/6/05, priya_sukup [EMAIL PROTECTED] wrote: I have a grid with two combo boxes. So in order to use a common cell renderer i have extended the Datagrid column to include a dataProvider variable. I have created the common cell renderer. The combos are populated from different arrays using

Re: [flexcoders] Webservice - Unable to connect to endpoint ...

2005-09-06 Thread vnice Cute
Hello, I think you must to verfiy the whitelist. i got the same problem before and i have verfiy my white list and added the useproxy="false" to the tag mx:WebService Please read more about the article whitelist from http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19251

[flexcoders] Custom CellRenderer displaying multy colors

2005-09-06 Thread vnice Cute
Hi, When i use the attached script i got the change for all other statment. i want to display the cell color for each country. i have attached the code. hope to get help in that. thanks ** DataGrid2.mxml ** ?xml version="1.0"

[flexcoders] Custom CellRenderer displaying multy colors

2005-09-06 Thread vnice Cute
Hi, When i use the attached script i got the change for all other statment. i want to display the cell color for each country. i have attached the code. hope to get help in that. thanks ** DataGrid2.mxml ** ?xml version="1.0"

[flexcoders] Help: link to a specific viewstack inside a specific tab

2005-09-06 Thread face7hill
I'm using tabs for my main navigation in my app. On the first tab, I have a button which points to tab 2. Tab 2 has a viewstack. I want the button in tab 1 to point to tab 2 myViewstack.selectedIndex=3. I have something like: function goTab2Stack3(){ myViewStack.selectedIndex=3;

Re: [flexcoders] Help: link to a specific viewstack inside a specific tab

2005-09-06 Thread Manish Jethani
On 9/6/05, face7hill [EMAIL PROTECTED] wrote: function goTab2Stack3(){ myViewStack.selectedIndex=3; mytabs.selectedIndex=2; } This takes me to tab 2 but it shows the wrong stack (shows the first view NOT the third). I have not been able to find a solution in the archives. If

[flexcoders] Canvas and Panels

2005-09-06 Thread vnice Cute
Hi all; I have two questions for this example please. The first Q1 is:- what is the different in the case where in tag mx:TabNavigator to be used tag mx:VBox label="The Team VBox" /mx:VBox or tag mx:Canvas label="The Team" /mx:Canvas Q2) I want to include a panel from exect file, for

[flexcoders] Chart

2005-09-06 Thread vnice Cute
Hi; I try to use this chart for my flex example but it didnt work and give me error. Can please anybody help me with that? Many thanks ?xml version="1.0" encoding="utf-8"? mx:Application

RE: [flexcoders] Canvas and Panels

2005-09-06 Thread Abdul Qabiz
Hi, 1) Canvas and VBox both are containers but with following difference: - VBox container lays out its children in a single vertical column.Where asa Canvas layout container defines a rectangular region in which you place child containers and controls. It is the only container that lets

[flexcoders] Re: Webservice - Unable to connect to endpoint ...

2005-09-06 Thread mrvinedit
Thanks Saleh. I had the whitelist set or it would not have worked with Firefox, but I WAS missing the useProxy=false. My webservice call is now working with both IE and Firefox, so the mystery has been resolved. --- In flexcoders@yahoogroups.com, vnice Cute [EMAIL PROTECTED] wrote: Hello, I

Re: [flexcoders] Re: Webservice - Unable to connect to endpoint ...

2005-09-06 Thread vnice Cute
Hi mrvinedit, There is nothing to thanks for, i am just happy that i can help anybody, cuz every body from us oneday need help. as i need manytimes help and sening here to much many questions :) and i thank every body who replay me or give an advice mrvinedit [EMAIL PROTECTED] wrote: Thanks

RE: [flexcoders] Canvas and Panels

2005-09-06 Thread vnice Cute
Thanks Abdul Qabiz for your fast replay. but i still have the problem. i have two Panel, one is on the lift side and the other is on the right side. I want the left Panel to use it as SiteNav. When i click on any Canvas i want the extra panel for this canvas to be displayed on the left Panel

RE: [flexcoders] Canvas and Panels

2005-09-06 Thread Abdul Qabiz
Hi, You can handle the TabNavigator's change event and based on the selectedIndex you can show the panels inside both(left and right) Panel. But what do you mean by "the extra panel for this canvas" ? -abdul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [flexcoders] Canvas and Panels

2005-09-06 Thread vnice Cute
Hi Abdul Qabiz; Thanks again, but to now it didn't work and load the Panel page. Imean that i have more than one Panel for every Canvas. For example: in my example i have 8 Canvas and each Canvas has own Panel = 8 Panels So when i click on any canvas i like that this call the panel in the

[flexcoders] Show external web page in container

2005-09-06 Thread Jose Quiles
Hello All, I'd like to know if is possible to show external web pages in a container such as Panel. Thanks, Jose Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.

RE: [flexcoders] Canvas and Panels

2005-09-06 Thread Abdul Qabiz
Hi, You can do that. Could you please post a working code here? Make a simple but complete example and post here. I will probably make changes in the code to show how this can be achieved. -abdul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of vnice CuteSent:

[flexcoders] Ending my test

2005-09-06 Thread devnullsp
Hello, At first sorry for my bad english. I tested flex for us, but i have a problem... I have to do one large large app. Over 600 panels or so. So my problem its how i struct flex for load when i need one panel or so. I used one cambas with loader tab but i think this is slow. and It's

RE: [flexcoders] Show external web page in container

2005-09-06 Thread Matt Horn
Christophe implemented something like this using iFrames... It is described here on his blog: http://coenraets.com/viewarticle.jsp?articleId=95 Hth, Matt Horn Flex docs -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jose Quiles Sent:

RE: [flexcoders] Show external web page in container

2005-09-06 Thread Abdul Qabiz
Hi, I think you can check out this technique by Christophe Coenraets of Macromedia: http://coenraets.com/viewarticle.jsp?articleId=95 -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jose Quiles Sent: Tuesday, September 06, 2005 2:40

[flexcoders] how to prevent the flex app from loading the data in the cache?

2005-09-06 Thread xiankevin2005
my app invokes some asp files by using a httpservice.the records in the database are displayed in the datagrid. when the app was published as a swf file and was made to work on the web,after inserting new records into the database,i retrieve all the records again.however,there's nothing

Re: [flexcoders] how to prevent the flex app from loading the data in the cache?

2005-09-06 Thread Sjors Pals
Make sure you set the right headers in your asp output: Put something like this in your asp response: Response.Buffer = True Response.Expires = -1 Response.ExpiresAbsolute = Now() - 2 Response.AddHeader pragma,no-cache Response.AddHeader cache-control,private Response.CacheControl = No-Store

RE: [flexcoders] Canvas and Panels

2005-09-06 Thread Abdul Qabiz
If I am correct,you want to show two panels (on left as well as on right) when any of tab is clicked on right side? If that is the case, you can do this following way, see the modified code. * ProjectForm.mxml *** ?xml version="1.0" encoding="utf-8"?

RE: [flexcoders] Ending my test

2005-09-06 Thread Abdul Qabiz
Hi, If your application is that large, you should look at some of existing RIA frameworks like: Cairngorm - http://www.iterationtwo.com/open_source_cairngorm.html ARP - http://www.ariaware.com/products/arp/ I think, developers in this list have made large applications. It would be great if they

[flexcoders] Re: Including Panel depending on the selected canvas

2005-09-06 Thread kaibabsowats
Look for an example of ViewStack in the livedocs. --- In flexcoders@yahoogroups.com, vnice Cute [EMAIL PROTECTED] wrote: Hello All; Please how can i add (include a panel) to the mxml file. Please see the attached code Thanks Attach Code ?xml version=1.0 encoding=utf-8?mx:Application

[flexcoders] Binding question

2005-09-06 Thread Alberto Albericio Salvador
Hi all, When I bind a text label to the first position of an array like this : mx:Label text={ ModelLocator.SOMEARRAY[0] } / The text shows the first item of the array correctly. When I add a new item to the array, the text of the label does not change so it seems the binding is not really

Re: [flexcoders] Binding question

2005-09-06 Thread Alberto Albericio Salvador
I forgot to mention Im adding items at the beginning of the array, at position 0. So the ModelLocator.SOMEARRAY[0] is always the last item added. Alberto Albericio Salvador escribió: Hi all, When I bind a text label to the first position of an array like this : mx:Label text={

RE: [flexcoders] Drag and drop among components

2005-09-06 Thread Abdul Qabiz
Hi, I have not used DragManager much, so can't help how to do this with DragManager. But I can show you, how can you achieve the same with your own logic: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; creationComplete=initApp() mx:Script

RE: [flexcoders] Chart

2005-09-06 Thread Abdul Qabiz
Hi, Check out these two links, you might get started your own: http://livedocs.macromedia.com/flex/15/asdocs_en/mx/charts/ColumnChart.html http://flexapps.macromedia.com/flex15/chartexplorer/explorer.mxml?versionChecked=true -abdul From: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] Binding question

2005-09-06 Thread Abdul Qabiz
Hi, If you look at this link of Flex Documentation: http://livedocs.macromedia.com/flex/15/flex_docs_en/0695.htm You will find the following in the end: Note: Array elements do not trigger ChangeEvents and, therefore, cannot function as binding sources at runtime. Binding copies initial

Re: [flexcoders] Binding question

2005-09-06 Thread Alberto Albericio Salvador
Indeed... I thought this was basic binding so I didnt look at any documentation... I more thought it was a bug :) Thanks anyway for the answer Abdul Abdul Qabiz escribió: Hi, If you look at this link of Flex Documentation: http://livedocs.macromedia.com/flex/15/flex_docs_en/0695.htm You

RE: [flexcoders] Problems with xmlns=http://www.macromedia.com/2003/flex-config in flex-config

2005-09-06 Thread Roger Gonzalez
That isn't a URL, its a URI. Some URIs are also URLs. This one isn't. :-) Most XML IDEs provide a mechanism to map a URI to a physical (.xsd schema) file. I don't know how to do it in Eclipse, since I'm an IntelliJ user. Most should also just warn you and go to dumb XML mode if it can't be

RE: [flexcoders] Flex App with RSL fails in Standalone Flash Player

2005-09-06 Thread Roger Gonzalez
This doesn't surprise me too much. I suspect you're getting bitten by the security sandbox. Matt gave some hints for the crossdomain.xml file, but another alternative: Try changing the url parameter in the .sws file to just be a relative pathname without any http; i.e. myRSL.swf. Its

[flexcoders] Make a PopUp non-draggable

2005-09-06 Thread digital_eyezed
Hi, How do I make a popUp TitleWindow non-draggable (i.e. fixed in position so that trying to drag it around the parent container is not allowed) Thanks in advance, Iain Yahoo! Groups Sponsor ~-- Most low income households are not online.

RE: [flexcoders] RD Question - Image Manipulation w/ Flex?

2005-09-06 Thread Roger Gonzalez
Currently my company is looking into developing an online application to do simple image manipulation via the browser. A typical case scenario is the application loads an image into memory and the user can rotate, flip, crop, etc all in the browser. Then when the user is satisfied, the

Re: [flexcoders] Problems with xmlns=http://www.macromedia.com/2003/flex-config in flex-config

2005-09-06 Thread Dave Carabetta
On 9/6/05, Roger Gonzalez [EMAIL PROTECTED] wrote: That isn't a URL, its a URI. Some URIs are also URLs. This one isn't. :-) Most XML IDEs provide a mechanism to map a URI to a physical (.xsd schema) file. I don't know how to do it in Eclipse, since I'm an IntelliJ user. Most should

RE: [flexcoders] Application preloader

2005-09-06 Thread Roger Gonzalez
Its totally feasible. Should work. If you can't get it working, I suggest you contact support for some hands-on help. But, some thoughts for debugging it: You can add -Dtrace.swc to the JVM's command line, see if you see anything printed out in the server log about your preloader.swc

RE: [flexcoders] Flex Runtime Application Error

2005-09-06 Thread Tracy Spratt
Actually, I found the license tool to be more trouble than it is worth. Just find license.properties in the WEB-INF/flex folder and edit it to add the sn. Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tariq Ahmed Sent: Saturday,

[flexcoders] Tricky Flash Form Question

2005-09-06 Thread Mehdi, Agha
Title: Tricky Flash Form Question Guys, I have a CF Flash Form, which when I hit submit does a little validation on form fields using ActionScript before it should submit the form. The validation is working great except that I can't submit it using AS. I have tried calling JS from AS and

Re: [flexcoders] Tricky Flash Form Question

2005-09-06 Thread Stephen Moretti
Mehdi, Agha wrote: I have a CF Flash Form, which when I hit submit does a little validation on form fields using ActionScript before it should submit the form. The validation is working great except that I can't submit it using AS. I have tried calling JS from AS and submitting the form

Re: [flexcoders] Make a PopUp non-draggable

2005-09-06 Thread Manish Jethani
On 9/6/05, digital_eyezed [EMAIL PROTECTED] wrote: How do I make a popUp TitleWindow non-draggable (i.e. fixed in position so that trying to drag it around the parent container is not allowed) There's no documented way to do this, AFAIK. [undocumented] Here's a little hack: TitleWindow

Re: [flexcoders] Binding question

2005-09-06 Thread Manish Jethani
On 9/6/05, Abdul Qabiz [EMAIL PROTECTED] wrote: If you look at this link of Flex Documentation: http://livedocs.macromedia.com/flex/15/flex_docs_en/0695.htm You will find the following in the end: Note: Array elements do not trigger ChangeEvents and, therefore, cannot function as

RE: [flexcoders] Canvas and Panels

2005-09-06 Thread vnice Cute
Hello Abdul Qabiz Many thanks for all your help and advice, but i still have problem with the following Error 1 Error found. Error /Project/ProjectForm.mxml:35 The class 'UIComponent' could not be loaded. ** ProjectForm.mxml *** ?xml version="1.0"

RE: [flexcoders] Make a PopUp non-draggable

2005-09-06 Thread Kelly R
Make it a Panel instead of a TitleWindow. Use the same method to pop it up. The only difference is you cant have the little close button in the top right corner. From: "digital_eyezed" [EMAIL PROTECTED]Reply-To: flexcoders@yahoogroups.comTo: flexcoders@yahoogroups.comSubject: [flexcoders]

RE: [flexcoders] passing array of Form values in VO

2005-09-06 Thread Chris Ruegger
Matt, could you give me more info on how exactly I'd do this? Ive not written any Flex custom components yet. Thanks, Chris Matt Chotin [EMAIL PROTECTED] wrote: Easiest way might be to componentize the FormItem. Then you give the FormItem its own id but the IDs inside all can be the

[flexcoders] Re: Make a PopUp non-draggable

2005-09-06 Thread digital_eyezed
Thanks, that worked a treat! --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: On 9/6/05, digital_eyezed [EMAIL PROTECTED] wrote: How do I make a popUp TitleWindow non-draggable (i.e. fixed in position so that trying to drag it around the parent container is not

Re: [flexcoders] Show external web page in container

2005-09-06 Thread Steve Ocean
People, including me, have had mixed results with the IFRAME solution. Christophe has not updated that blog article lately, so I don't know if he's worked through some of the issues. E.g. referred page pops up in separate window. Perhaps what's needed is an HTML to FLASH converter component

[flexcoders] Flex component that encapsulates DENG?

2005-09-06 Thread Steve Ocean
Flex needs a way to embed htmlbased contentin the app. As far as I know, no solution exists except IFRAMES. After trying everything I could think of for a week,I've come to the conclusionwhat's needed is a scalable component that uses something like DENG ( http://claus.packts.net/ ) to render

[flexcoders] displaying pages based on db query

2005-09-06 Thread Jeremy Rottman
I am working on converting an app from cf to flex, and with in my current cf app, I am calling certain pages based on what is reported from a query. IE cfquery ... select * from tbl_propInfo where fld_fileNum = '#argument.fld_fileNum#' /cfquery when the file number is returned, I evaluate the

Re: [flexcoders] Show external web page in container

2005-09-06 Thread Steve Ocean
you may also be interested in this: http://www.mikeindustries.com/sifr/ On 9/6/05, Steve Ocean [EMAIL PROTECTED] wrote: People, including me, have had mixed results with the IFRAME solution. Christophe has not updated that blog article lately, so I don't know if he's worked through some of

[flexcoders] Web Service Input Variable

2005-09-06 Thread flexblog5333
I have successfully got my Web Service to perform querys using a .cfc but I cannot for the life of me figure out the syntax to pass in and call a single variable in the query. Any help would be greatly appreciated. Thanks ahead of time. My .mxml Code: mx:WebService id=xmlService

RE: [flexcoders] Web Service Input Variable

2005-09-06 Thread Ashish Goyal
Try this CFC code: cfcomponent cffunction name=returnLines access=remote returnType=query cfargument name=orderID type=numeric required=yes cfquery name=getLines Datasource=#application.appDataSource# username=listdev password=RMH383

[flexcoders] data grid with totals

2005-09-06 Thread Joe
I have a data grid that I would like to display totals for. I would like to display the totals of certain columns at the bottom in a seperate row. I still need to be able to sort with and keep the totals at the bottom. ?xml version=1.0? mx:Application

RE: [flexcoders] data grid with totals

2005-09-06 Thread Tracy Spratt
There is nothing built in that will do this. You will need to create a custom component. I'd start with a DataGrid for the normal data and then use another datagrid or some other controls (textInput) to display the totals. I seem to recall someone did something like this. Here, let me

RE: [flexcoders] Help: link to a specific viewstack inside a specific tab

2005-09-06 Thread Dimitrios Gianninas
Hi, Most likely your problem is due to the fact that the viewstack has not yet been instantiated. You should set the creationPolicy="all" on your Tab Navigator for this to work. Hope that helps. Dimitrios "Jimmy" Gianninas RIADeveloper Optimal Payments Inc. From:

[flexcoders] Re: how to prevent the flex app from loading the data in the cache?

2005-09-06 Thread xiankevin2005
the problem that confused me 4 several days is now resolved successfully! a lot of thx! --- In flexcoders@yahoogroups.com, Sjors Pals [EMAIL PROTECTED] wrote: Make sure you set the right headers in your asp output: Put something like this in your asp response: Response.Buffer = True

RE: [flexcoders] Flex component that encapsulates DENG?

2005-09-06 Thread David Mendels
Hi, I'd love to see this. Deng wouldn't address all use cases for HTML in Flex (Christophe's iFrame trick is quite good for some but not all either), but it would be great to see implemented as a Flex component. It is open source now, so this community might want to have a go at it.

[flexcoders] Flex Consuming .Net WS (WSE 2.0)

2005-09-06 Thread Jose \(DSM\) Lora
Hi, we are building Web services using .NET WSE 2.0 and I was wondering if Flex will be able to consume those services. Thanks Jose -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

RE: [flexcoders] passing array of Form values in VO

2005-09-06 Thread Matt Chotin
This would just be an MXML component. Somehting like this: MyFormItem.mxml mx:FormItem xmlns:mx=http://www.macromedia.com/2003/mxml label={label} mx:Script Public var label:String; /mx:Script mx:TextInput id=name / /mx:FormItem Then in your MXML: MyFormItem label=name1

RE: [flexcoders] Custom CellRenderer displaying multy colors

2005-09-06 Thread Matt Chotin
I dont think you attached the code for the renderer correctly. But to change the color of the renderer maybe use a VBox and do a setStyle(backgroundColor) with the appropriate value. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of

RE: [flexcoders] Flex Consuming .Net WS (WSE 2.0)

2005-09-06 Thread Matt Chotin
We dont have any support for those security features built-in right now. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jose (DSM) Lora Sent: Tuesday, September 06, 2005 7:00 PM To: flexcoders@yahoogroups.com Subject: [flexcoders]

RE: [flexcoders] Flex component that encapsulates DENG?

2005-09-06 Thread Theodore E Patrick
Steve, Here are a few additional options for you. HTMLDraw Server-side image renderer. It renders HTML on the server and ships an image as a proxy. This is good for static content and web clipping applications. http://www.websupergoo.com/abcdrawhtml-1.htm The