Re: [flexcoders] Dot NET or JAVA example to give output as WSDL
If you are developing the .NET web service using the standard method, it would have generated a WSDL for you which is accessible at the web service URL (ends with .asmx). As far as I know, SQL server does not do web services natively (maybe with the Data Services component...). 2009/9/6 Suresh G suresh@gmail.com: My Dear Coders, I am a newbie in coding, good in designing. I need one help, i wanted to connect Microsoft SQL server, finally i am able to connect with a dotnet web service and return as XML, but how to connect a SQL server so that i get the output as WSDL please help me Any other method or suggestion is always welcome. Need an output of WSDL after connecting SQL Suresh
[flexcoders] Canvas with Draggable Components on it
I am working on a application where I have a Canvas. and a lot of different Flex Components (text fields, images, checkboxs etc) are inserted on this Canvas. All of them are supposed to be selectable, draggable and configurable. e.g. If I select a text field, I should be able to change the default text, size etcif I select a combobox, I should be able to add and remove items, select font styles etcmore or less like a form designer. I have a lot of questions but my first question is this :- Lets say I have a Text Object or a Shape Object inserted on Canvas. I can drag it just fine but how do I add a little description of what this control is, just below the draggable handles? So when you move your mouse over a textfield, it shows a little Label that says Text Field below the draggable handles. I was thinking, just like the objects are inserted on Canvas using x,y coordinates, I could add another Label object below every Object as well, but I dont want these labels to change other components' positioning. Whats the best way to do this and any examples out there?
Re: [flexcoders] Position elements with different font size against baseline in HBox
Well, thank you for the answer, but I originally asked how I could eliminate padding =) On Sun, Sep 6, 2009 at 3:49 AM, Ivan Wang ivan.wang2...@gmail.com wrote: Just make the labels same height, and tuning its own padding. I think it is sort of tricky, but Flex still can't make text alignment perfect automatically, and you do always have to spend much effort to get over this. mx:HBox mx:Label height=100% text=LABEL1 fontSize=10 paddingTop = 2/ mx:Label height=100% text=LABEL2 fontSize=12 paddingTop = 0/ /mx:HBox - Original Message - *From:* Alexander Tarelkin alexander.tarel...@gmail.com *To:* flexcoders@yahoogroups.com *Sent:* Saturday, September 05, 2009 2:38 AM *Subject:* [flexcoders] Position elements with different font size against baseline in HBox Hello, flexcoders. Let's pretend I have the following code: mx:HBox mx:Label text=LABEL1 fontSize=10/ mx:Label text=LABEL2 fontSize=12/ /mx:HBox What should I do to vertically position the buttons on the same baseline without using padding? Referencing some constraint row from outside the HBox does not work, since HBox abolishes absolute positioning. Thank you, Alexander Tarelkin
Re: [flexcoders] LineSeries in LineChart
Types inherited from Series including LineSeries have a filterData property. Hopefully this is all you need. On Sat, Sep 5, 2009 at 10:56 PM, ram ramesh ram_y...@yahoo.co.in wrote: Hi How to block/restrict undefined value or null value in Lineseries before plotted into Chart. I tried all the scenarios.The issue is not consistent. If the Data object is not in ArrayCollection , undefined is getting plotted in the Chart. The Data point in the Chart is in 0 position of the Axis if the value is undefined. Please help me .I am relly sturggling to come out from this issue. 3 days I tried in all the scenarion like filteData = true setting and all. Please Response ASAP that would be very helpful. Thanks Ramesh
Re: [flexcoders] LineSeries in LineChart
I am sorry/ I missed that you have already tried this. Why don't you want to wrap the collection with an ArrayCollection if it works? On Sun, Sep 6, 2009 at 8:39 PM, Alexander Tarelkin alexander.tarel...@gmail.com wrote: Types inherited from Series including LineSeries have a filterData property. Hopefully this is all you need. On Sat, Sep 5, 2009 at 10:56 PM, ram ramesh ram_y...@yahoo.co.in wrote: Hi How to block/restrict undefined value or null value in Lineseries before plotted into Chart. I tried all the scenarios.The issue is not consistent. If the Data object is not in ArrayCollection , undefined is getting plotted in the Chart. The Data point in the Chart is in 0 position of the Axis if the value is undefined. Please help me .I am relly sturggling to come out from this issue. 3 days I tried in all the scenarion like filteData = true setting and all. Please Response ASAP that would be very helpful. Thanks Ramesh
Re: [flexcoders] SWF File Not Loading
Hi Alex, Thanks for the insight. I didn't see any trace statements either. But I was able to pinpoint the problem. Apparently, it was a CSS - Javascript combination that is sort of like setting the swf object's height to 0, which renders it invisible. Fixed already. Thanks for the input though. I learned a new thing on tracing with Flex. From: Alex Harui aha...@adobe.com To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com Sent: Thursday, 3 September, 2009 5:38:32 Subject: RE: [flexcoders] SWF File Not Loading You mean that you don’t see the trace statements when running in the browser? If you see trace statements, check the sizes of the SWFLoader and its content Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs. adobe.com/ aharui From:flexcod...@yahoogro ups.com [mailto:flexcoders@ yahoogroups. com] On Behalf Of Angelo Anolin Sent: Wednesday, September 02, 2009 12:17 AM To: flexcod...@yahoogro ups.com Subject: Re: [flexcoders] SWF File Not Loading Hi Alex, I added some trace statements and the app is actually loading. But the same does not show up in the browser. Am going to check some CSS and Javascript libraries which may be stopping the loading of the SWF file. Thanks. From:Alex Harui aha...@adobe. com To: flexcod...@yahoogro ups.com flexcod...@yahoogro ups.com Sent: Friday, 28 August, 2009 6:53:45 ! Subject: RE: [flexcoders] SWF File Not Loading You can add trace statements to the app to see if it does load or not Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs. adobe.com/ aharui From:flexcod...@yahoogro ups.com [mailto:flexcoders@ yahoogroups. com] On Behalf Of Angelo Anolin Sent: Wednesday, August 26, 2009 11:33 PM To: flexcod...@yahoogro ups.com Subject: [flexcoders] SWF File Not Loading Hi FlexCoders, Got a question again. I am embedding my SWF object in an ASPX page. The HTML markup for the aspx page is shown as below: object id='mySwf' classid=clsid:D27CDB6E- AE6D-11cf- 96B8-44455354000 0 codebase=http://fpdownload. macromedia. com/get/flashpla yer/current/ swflash.cab height='100% ' width='100%' param name=src value=App_Swf/Facilities. swf/ param name=flashVars value=/ embed src=App_Swf/Facilities. swf pluginspage=http://www.adobe. com/go/getflashp layer type=application/ x-shockwave- flash height=100% width=100% flashVars= /embed /object When I run the page, the SWF file is not loading. I think the embedded SWF object itself is not being rendered. I tried to simulate the same on another site I have and when the SWF file is not present, right clicking on the page (where the SWF is embedded) will give a context menu informing user that Movie is not loaded. I wonder why when I try to embed the same on another page, the embedded object is not there. I tried to view the source and in the HTML markup, the object should be there. * This is from the View Source object id='mySwf' classid=clsid:D27CDB6E- AE6D-11cf- 96B8-44455354000 0 codebase=http://fpdownload. macromedia. com/get/flashpla yer/current/ swflash.cab height=88% width='100%' param name=src value=App_Swf/Facilities. swf/ param name=flashVars value=/ embed src=App_Swf/Facilities. swf pluginspage=http://www.adobe. com/go/getflashp layer type=application/ x-shockwave- flash height=88% width=100% flashVars= /embed /object Appreciate your inputs. Thanks. start: -00-00 end: -00-00
[flexcoders] The logic of Stage.fullScreenSourceRect property
I wonder if someone can explain me the logic of this property. I understand it marks the rect for scaling in full screen but why is it related to HW scaling? I mean isn't it one property doing two tasks? When you chose the whole stage rectangle, is it supposed to behave the same as if you did not use this property at all just with the graphic card doing the work instead of software? The reason I am asking is because we put overlays on video and when this property is used our overlays get scaled as well, when it's not used they don't and I don't really understand why - shouldn't this problem appear anyway whoever does the scaling? Thanks in advance for explanations... GT
Re: [flexcoders] LineSeries in LineChart
I am using ArrayCollection only. var yearInfoList = journalsInChart.getItemAt(i).yearInfoList; isCoverageGapExist = journalsInChart.getItemAt(i).isCoverageGap; tempCitationsSeries.displayName = journalsInChart.getItemAt(i).source; tempCitationsSeries.dataProvider = yearInfoList;tempCitationsSeries.filterData = true; tempCitationsSeries.interpolateValues = tempCitationsSeries.xField = tempCitationsSeries.yField = yField; Helper.styleComponent(tempCitationsSeries, i); chartSeries.push(tempCitationsSeries); } chart.series = chartSeries; yearInfoList is the ArrayCollection.chart is the ID for LInechart ( id=chart showDataTips=true dataTipFunction=cTips width=100% height=100% ) mx:LineChart I set the filterData property also. undefined value is getting plotted in graph. yearInfoList:ArrayCollection;for(vari:int=0; ijournalsInChart.length; i++) {vartempCitationsSeries:LineSeries = newLineSeries; false;Year; From: Alexander Tarelkin alexander.tarel...@gmail.com To: flexcoders@yahoogroups.com Sent: Sunday, September 6, 2009 12:42:58 PM Subject: Re: [flexcoders] LineSeries in LineChart I am sorry/ I missed that you have already tried this. Why don't you want to wrap the collection with an ArrayCollection if it works? On Sun, Sep 6, 2009 at 8:39 PM, Alexander Tarelkin alexander.tarelkin@ gmail.com wrote: Types inherited from Series including LineSeries have a filterData property. Hopefully this is all you need. On Sat, Sep 5, 2009 at 10:56 PM, ram ramesh ram_y...@yahoo. co.in wrote: Hi How to block/restrict undefined value or null value in Lineseries before plotted into Chart. I tried all the scenarios.The issue is not consistent. If the Data object is not in ArrayCollection , undefined is getting plotted in the Chart. The Data point in the Chart is in 0 position of the Axis if the value is undefined. Please help me .I am relly sturggling to come out from this issue. 3 days I tried in all the scenarion like filteData = true setting and all. Please Response ASAP that would be very helpful. Thanks Ramesh
[flexcoders] BlazeDS for .Net what happened?
I`m wondering what happen to the project BlazeDs for .Net that disapear from the labs.adobe.com any official announcements ? Regards -- Igor Costa www.igorcosta.org
[flexcoders] HTTP component flash support
hi all, we have a rich internet application coded with ajax which also uses flash for some tasks via Flex Ajax Bridge (video socket connection). now we want to develop a desktop version with as little work as possible. I've tried a simple AIR app that includes an html component where location is set to our site. The website works fine inside the html component but the problem is that it is not behaving stable. I tried listening the uncaught JS exception event but it is not thrown (so what I guess is JS works fine). I suspect timing does not seem to work properly. I've also tried youtube and facebook, youtube also behaves unstable, sometimes work, sometimes does not (maybe about load order). In facebook, it says I don't have the correct flash player version to play videos. So behind these, any experience or ideas on how to deal with this situation? I don't wanna write the app from scratch as an AIR version which will increase the maintenance costs and development costs a lot. Any reference about the embedded html component differences from standalone browsers ? or experiences about including a flash inside html component ?? btw, the site works fine on safari, ie6-7-8 and ffox2-3. thanks, yigit
[flexcoders] Add text on an image
Hi, I want to create an application that allow users to manually add text to an image. But I don't know how. Is it possible to do this? If so, how? Thanks! :) Kaye
[flexcoders] Re: Dot NET or JAVA example to give output as WSDL
Since your question is about .NET, Java, and Microsoft SQL, you might get a better answer if you post your question in a different forum, dedicated to one of those technologies. --- In flexcoders@yahoogroups.com, Suresh G suresh@... wrote: My Dear Coders, I am a newbie in coding, good in designing. I need one help, i wanted to connect Microsoft SQL server, finally i am able to connect with a dotnet web service and return as XML, but how to connect a SQL server so that i get the output as WSDL please help me Any other method or suggestion is always welcome. Need an output of WSDL after connecting SQL Suresh
Re: [flexcoders] Re: http request erro
Hie so after putting a breakpoint i could see following error text Error #2032: Stream Error. URL: http://127.0.0.1:7101/HeadCount-HeadCountXml-context-root/HeadCountService?param1=today Also when i type http://www.myserver.com/crossdomain.xml i get a 404 not found exception means there is no such file on my sever. Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Wed, Sep 2, 2009 at 8:07 PM, valdhor valdhorli...@embarqmail.com wrote: Set the breakpoint just before calling the HTTPService.send() method. Generally the crossdomain.xml file is found at the root of your server ( http://www.myserver.com/crossdomain.xml). If you put that URL in your browser, what do you get? --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Vik vik@... wrote: Hie Could u please tell where to set the breakpoint to be sure? Also where is this croosdomain.xml and wht to change in that file? will be of great help.. thanks.. Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Wed, Sep 2, 2009 at 6:51 PM, valdhor valdhorli...@... wrote: Possible security sandbox failure? I know that I had to change my crossdomain.xml file a few weeks ago when Flex Builder gave me a security sandbox failure (My XML was supposedly out of date) for a project that has been working for over a year. The console did not display the exact error until I put in a breakpoint and stepped through. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.comflexcoders% 40yahoogroups.com, Vik vik.ceo@ wrote: Hie I have a little air app build in latest flex version of adobe. here is the little code: mx:HTTPService id=headCountService resultFormat=e4x fault=headCountService_fault(event); result=headCountService_result(event); url= http://127.0.0.1:7101/HeadCount-HeadCountXml-context-root/HeadCountService / and this url is up and running. when i type this in browser it returns me: stats stat empResultsTom Kies is completing 4 years in 5 months and 22 days. /empResults empStatusVALID/empStatus /stat stat empResultsStephen Roy is completing 4 years in 5 months and 22 days./empResults empStatusVALID/empStatus /stat /stats on the running the app in the fault method i see: Http.request.error fault (Server.error.request) I remember 3-4 months back i left it in working state. now not sure what is wrong and how to debug. plz help Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com
Re: [flexcoders] Flex PMD forum?
I could check if i have the exact stack trace from the java console -ady On Sat, Sep 5, 2009 at 4:42 AM, Magnus Lassi magnus.la...@gmail.com wrote: Thanks, I followed your advice and exported it making sure not to include the CopyrightMissing rule and running the ant task with custom ruleset but it still failes with the same error and no warning or error before that. I'll try it with a smaller project and at least the forum seems to be working now. Thanks, Magnus On Fri, Sep 4, 2009 at 7:35 AM, ady 100...@gmail.com wrote: Ok i found the same problem and i fixed it, i have shared the solution on http://100kph.blogspot.com/2009/09/adobe-technical-services-just-launched.html HTH's On Thu, Sep 3, 2009 at 6:46 PM, Magnus Lassi magnus.la...@gmail.comwrote: Hi, does anyone know if there's a Flex PMD forum or mailing list? The link at http://opensource.adobe.com/wiki/display/flexpmd/FlexPMD is broken and I haven't been able to find it. I'm not sure if anyone on this list has started using it, I tried both the command line and ant task and they both bomb out after a second with the generic error java.lang.StringIndexOutOfBoundsException: String index out of range: -1 TIA, Magnus