[flexcoders] Calling functions

2005-08-23 Thread Prasad Dhananjaya
Hi All, I have a small question. I want to call function line() and function arrow() from function drawlinesArrows(). I tried sevaral ways. But failed. Can someone tell me how to do this? Best Regards, Prasad (Absolute beginner of Flex ActionScript)

RE: [flexcoders] Cairgorm question.

2005-08-23 Thread Steven Webster
Omar, Without a detailed understanding of your application, it's really hard to offer any particular advice at this stage. I'd recommend if using Cairngorm that you're careful to maintain state in the ModelLocator, and decouple your views from the model through data-binding to the

RE: [flexcoders] Flash Forms

2005-08-23 Thread Philippe Maegerman
Title: Flash Forms http://ray.camdenfamily.com/index.cfm/2005/8/9/Ask-a-Jedi-Changing-a-ColdFusion-Flash-Form-Page-Based-on-Drop-Downs Philippe Maegerman From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mehdi, AghaSent: mardi 23 août 2005 1:59To:

[flexcoders] flash remoting .net initial rows issue

2005-08-23 Thread bhaq1972
Hi I'm using flashremoting .net with my .net dll. My c# function returns a dataset containg 5000 rows. It all works but i dont want all 5000 rows in one go. I only want an intial 20 rows. How do i do this ? Is there anything in the flashremoting config file i can set etc thanks in advance

Re: [flexcoders] Calling functions

2005-08-23 Thread Stanislav Zayarsky
Hello, You had several errors in your script, try this variant: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Panel width=732 title=MyPanel mx:Canvas id =mycanvas width=715 height=408 backgroundColor=#FF

[flexcoders] Re: Calling functions

2005-08-23 Thread bhaq1972
shouldn't that be mx:Canvas id =mycanvas width=715 height=408 backgroundColor=#FF initialize=drawlinesArrows(event.target) --- In flexcoders@yahoogroups.com, Prasad Dhananjaya [EMAIL PROTECTED] wrote: Hi All, I have a small question. I want to call function line() and function

Re: [flexcoders] Calling functions

2005-08-23 Thread Prasad Dhananjaya
Hi, Thank you very much for the reply. I tried it. But still not working.(Didn't call line() and arrow() functions) Any other errors? Best Regards, Prasad ?xml version=1.0 encoding=utf-8? mx:Application

[flexcoders] About Context menu

2005-08-23 Thread Prasad Dhananjaya
Hi, I want to display context menu only inside the canves area. But this code displays context menu in the whole application. I think the problum is this[menu] part. Which means the whole application. But I don't know how to specify canves area.Is it possible to display only in the canvas area?

[flexcoders] createClassObject || Create dynamically series of buttons in AS components

2005-08-23 Thread david_gal-reyniez
Hi everybody, I need your advises concerning the development of customized component. I would like totransform this following code that I did in my mxml component into a in actionscript coded component : mx:Repeaterid="rpTreeExpandCollapse"dataProvider="{ arrTreeExpandCollapseBtn }"

RE: [flexcoders] Calling functions

2005-08-23 Thread david_gal-reyniez
Prasad, What I may say about your code : - the function line contains moveTo that you call each time you call the method line(). It's not a good practise. moveTo is use at the beginning to set the first x,y coordinates, then you use lineTo to draw the shape you want. -

RE: [flexcoders] Flash Player quality setting

2005-08-23 Thread Matt Horn
If you're writing your application as a JSP, you can pass it as the value of a param tag: flash source=myapp.swf param name=quality value=BEST/ /flash This adds a param to the object/embed tags in the HTML wrapper for you. If you're not using the JSP tag lib, you can manually edit the

Re: [flexcoders] Calling functions

2005-08-23 Thread Stanislav Zayarsky
Actually it call's functions line() and arrow(), but you forgot to mention where application should draw line!! function line(x1, y1, x2, y2) { moveTo(x1, y1); lineTo(x2, y2); } it should look like movie_clip.moveTo(x1,y1); movie_clip.lineTo(x1,y1); You need to send additional

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

2005-08-23 Thread Stanislav Zayarsky
So is it possible to run that app with rsl from standalone player? If so, can you please create some sample with crossdomain.xml file? Best Regards Stanislav Zayarsky On 8/23/05, Matt Chotin [EMAIL PROTECTED] wrote: You might need a crossdomain.xml file available since the standalone is

[flexcoders] Need help defining named service using HTTPS

2005-08-23 Thread terry_hrtn
I have a web service running on HTTPS, and I'm trying to define it as a named service in my flex-config.xml file. How do I change the protocol from http to https ( protocol=https) in flex-config.xml? service name=myService wsdlhttps://localhost/myService/MyService.asmx?WSDL/wsdl

[flexcoders] OH, For the love of all that's good, please help!

2005-08-23 Thread bsd
Im still trying to figure this out. Anyone whos had experience with this issue and found a solution, your help would be appreciated I'm passing an array from Flex to a web service located in a CFC. It returns an error that states: org.xml.sax.SAXException: No deserializer for

[flexcoders] Returning multiple recordsets from CFC only returns first recordset

2005-08-23 Thread coldfs
Hi, I'm trying to call a CFC that returns multiple array of structure recordsets. I don't get any errors but only the first recordset is returned. Does anyone have any ideas? BTW, I'd be happy to use VO instead, but I've given-up trying to figure this out...it's beyond this newbies grasp.

RE: [flexcoders] Need help defining named service using HTTPS

2005-08-23 Thread Shahnavaz Alware
Hi, You will also need to set https-url in Web-Service-proxy element https-url{context.root}/flashproxy/https-url Thanks From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of terry_hrtn Sent: Tuesday, August 23, 2005 8:56 AM To:

[flexcoders] Strange behavior of the scroll bar in the Panel

2005-08-23 Thread maricnkg
What am I doing wrong that the scroll bar is not showing last 2 labels??? --START OF THE CODE ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; width=400 height=100% vScrollPolicy=off hScrollPolicy=off mx:Model id=res

Re: [flexcoders] OH, For the love of all that's good, please help!

2005-08-23 Thread Sean McKibben
I ran into this as well. Looking at the SOAP encoded message, it appeared to me that flex wasn't making clean SOAP (pun definitely intended).When we switched over to using the CFC's RemoteObject instead of the WebService, things started working again. Wasn't too hard of a switch, and I'll take

[flexcoders] Re: Need help defining named service using HTTPS

2005-08-23 Thread terry_hrtn
https-url is already set, still no response. I can hit it directly in IE but get an error message that says Could not load WSDL: Server java.lang.RuntimeException: Invalid URL - can't access HTTPS URLs when accessing proxy via HTTP tlh --- In flexcoders@yahoogroups.com, Shahnavaz Alware

[flexcoders] Re: OH, For the love of all that's good, please help!

2005-08-23 Thread Rajesh Jayabalan
Hey, We ran into the same problem, the wsdl is generated corretly but the object which has an arry in it is not serialized correctly by flex, so now we have no choice but to call the services twice. Rajesh J --- In flexcoders@yahoogroups.com, Sean McKibben [EMAIL PROTECTED] wrote: I ran into

[flexcoders] ModelLocator

2005-08-23 Thread Mehdi, Agha
Title: ModelLocator Hi All, How does ModelLocator work? I am looking at the sample store and it makes sense but I am kind of confused. What I have understood so far is that ModelLocator Properties are bound to views and Commands manipulate ModelLocator to update views. Is ModelLocator

[flexcoders] Error deploying flex application to Weblogic server

2005-08-23 Thread Parekh, Shweta - BLS CTR
Hi, I am trying to deploy my flex application in the form of an ear file to WebLogic 8.1 server through the console. While deployment, I get the following error. Strangely when the application is put in applications folder on the server in an exploded format, the application runs fine. The error

[flexcoders] how to change dividedbox divider icon?

2005-08-23 Thread Jaime Bermudez
Hey guys, Does any flexcoder out there know if/how I can change the divider icon of a DividedBox? I'm not talking about the dividerThickness, dividerAlpha, etc. that controls how the line appears once the user selects into the gap. I really want to change the appearance of the little multi-line

RE: [flexcoders] ModelLocator

2005-08-23 Thread Mercer, Dustin
Title: ModelLocator Exactly. I found after implementing the ModelLocator, I pretty much wiped out the need for ViewHelpers. The only thing I use the ViewHelpers for now is setting focus on fields! It makes things a lot more organized and simplified. You are right though. Just initialize

Re: [flexcoders] how to change dividedbox divider icon?

2005-08-23 Thread Sreejith Unnikrishnan
Jaimie, You may use the attached flash file that contains the divider clip. After you make the required changes, export it from the library as a swc file. Use it in your application as a theme. Eg: mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; width=100% height=100%

RE: [flexcoders] Error deploying flex application to Weblogic server[ Parekh, Shweta ]

2005-08-23 Thread Shahnavaz Alware
Hi Parekh, Below is the reply we received recently from Macromedia about deploying Flex-Apps on Weblogic 8.1. Its a reported bug. - Reply from Brian at Macromedia The bug numbers are only internal to Macromedia. I provided it here just for

RE: [flexcoders] ModelLocator

2005-08-23 Thread Mehdi, Agha
Title: ModelLocator Great. That sounds exciting and a very good approach. The way Im implementing is that I have a ModelLocator, which has models as properties. Now should those individual models make the ValueObjects available to views or just their own properties? Why I am leaning

Re: [flexcoders] how to change dividedbox divider icon?

2005-08-23 Thread Jaime Bermudez
Thanks Sree. I forwarded the .FLA file to a Flash developer here and we're going to work on it later this week. Should be a neat learning experience and may lead to other reskinning. - Jaime On 8/23/05, Sreejith Unnikrishnan [EMAIL PROTECTED] wrote: Jaimie, You may use the attached flash

RE: [flexcoders] ModelLocator

2005-08-23 Thread Shahnavaz Alware
Title: ModelLocator Hi Mehdi To use ModelLocator and transfer VO is perfectly fine. Eg. I have a Datagrid dp=ModelLocator.organizations and when I select in the datagrid I have ModelLocator.organization = SelectedItem which I send to my J2EE server in your case CF. import

[flexcoders] Error with populationg a Datagrid

2005-08-23 Thread Jeremy Rottman
I have written a cfc to pull data from my data base and I am calling this as a ws to be displayed in my datagrid. But when I try to compile the code I get this error. There is no property with the name 'userlist' Here is my mxml code and cfc code. ---MXML--- ?xml version=1.0 encoding=utf-8?

[flexcoders] move scroll bar programmatically

2005-08-23 Thread maricnkg
how can I move scroll bar programmatically? or at least set it all the way up? Yahoo! Groups Sponsor ~-- font face=arial size=-1a

[flexcoders] Re: Error deploying flex application to Weblogic server[ Parekh, Shweta ]

2005-08-23 Thread shweta_parekh
Thanks Shahnavaz for the clarification. I have been struggling with this thing for the past two weeks. Hopefully there is a resolution soon...till then exploded form is the way to go. Thanks for your input. Shweta --- In flexcoders@yahoogroups.com, Shahnavaz Alware [EMAIL PROTECTED] wrote:

RE: [flexcoders] Error with populationg a Datagrid

2005-08-23 Thread grady.haynes
You're not declaring the variable userlist. (At least not in this snippet of code.) Try putting private var userlist: Array; inside mx:Script tags. Grady Haynes Senior Systems Engineer, IT Services 817.252.4891 [EMAIL PROTECTED] Practitioners Publishing Company A Thomson Business 801

RE: [flexcoders] move scroll bar programmatically

2005-08-23 Thread Joan Tan
You can set hPosition for a horizontal scrollbar or vPosition for a vertical scrollbar. Joan -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of maricnkg Sent: Tuesday, August 23, 2005 2:55 PM To: flexcoders@yahoogroups.com Subject: [flexcoders]

RE: [flexcoders] Re: Need help defining named service using HTTPS

2005-08-23 Thread Shahnavaz Alware
Hi, In https-url{context.root}/flashproxy/https-url replace the “{context.root}” with your https://localhost/CONTEXT-ROOT In my case I have Remote-Object amf-https-gatewayhttps://localhost:9443/core-product_web/amfgateway/amf-h ttps-gateway So if I would have used web-service

RE: [flexcoders] ModelLocator

2005-08-23 Thread Mercer, Dustin
Title: ModelLocator IMHO, this is the best way. Works very clean. I dont know about the integration with CF (I dont use CF) but I can tell you it works great with Java. Good Luck J Dustin Mercer From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf

[flexcoders] Re: Error with populationg a Datagrid

2005-08-23 Thread Jeremy Rottman
RIght I have changed it alot from when I First post. This is the new code. How ever, it does see the WS. And when I click my button, it still does not populate the dg. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:WebService id=srv

[flexcoders] Why changing global variable also changes the model data?

2005-08-23 Thread P Trisnadi
I have a global variable that is populated by a model's data:     _global.arrayFruit = new Array();     ...     mx:Model id=fruitModel source=fruits.xml/     ...     _global.arrayFruit = fruitModel.fruit; Why does fruitModel.fruit also change when I do:    

[flexcoders] ConboBox in Accordion headers?

2005-08-23 Thread delaquae
Is it possible and/or relatively straighforward to put a ComboBox in the header (along with the label) for each child of an accordion container? If so, how would one go about implementing such a behaviour? Yahoo! Groups Sponsor ~-- font

[flexcoders] Using ContextMenu

2005-08-23 Thread Prasad Dhananjaya
Hi All, I want to display right-click context menu only in the canves area. Can someone please tell me how to do this?. My code displays context menu in the whole application. Not only canves area. Thanks, Prasad --- ?xml

RE: [flexcoders] Why changing global variable also changes the model data?

2005-08-23 Thread Gordon Smith
The assignment _global.arrayFruit = fruitModel.fruit; doesn't make a copy of the array; it just makes _global.arrayFruit contain another reference to the same array. This is how arrays and objects work in many languages, because making copies of large data structures is expensive and

Re: [flexcoders] Using ContextMenu

2005-08-23 Thread Clint Modien
Can't do it in the current version of the flash player... possibly in a few months when the next version comes out? Not something I'd code against though. Search the group for double click as the only alternative I found to offer a second mouse action.

[flexcoders] [flexcodrs] Pop up and background(abdul, manish,matt chotin.... anybody)

2005-08-23 Thread Nithya R
hai i have a main application and when i click a button on it a pop up appears... when the popup opens i want the main application to be inactive and turn pale gray in color how to make themain applicationinactive during a popup is open? i have no idea of doing this... is there any link or

RE: [flexcoders] Using ContextMenu

2005-08-23 Thread Abdul Qabiz
Hi, Right, you can not attach context menu on nested object. This is a known issue which has been fixed in Macromedia Flash Player 8. But you can use some workarounds to attach/de-attach context menu. When mouse is over Canvas attach the context menu and when mouse is out of Canvas