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
[flexcoders] http request erro
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] Re: http request erro
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...@embarqmail.com 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.com, Vik vik@... 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
[flexcoders] Fwd: Graph Question
Hie any updates on this plz... Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com -- Forwarded message -- From: Vik vik@gmail.com Date: Thu, Mar 5, 2009 at 9:04 AM Subject: Graph Question To: flexcoders@yahoogroups.com Hie I have a column chart graph with vertical axis property baseAtZero = false; This is cool but there is a problem. That is, it sets the lowest value column as the base line and thereby making it almost impossible to see. Is there any way so that it can shows consider the base a value a bit less than the lowest value in my data so that even the lowest column is visible a bit. Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com
[flexcoders] Graph Question
Hie I have a column chart graph with vertical axis property baseAtZero = false; This is cool but there is a problem. That is, it sets the lowest value column as the base line and thereby making it almost impossible to see. Is there any way so that it can shows consider the base a value a bit less than the lowest value in my data so that even the lowest column is visible a bit. Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com
[flexcoders] Hie
Hie My xml is like this: stat empResultsguan completing 9 years in 6 months and 5 days./empResults empStatusINVALID/empStatus /stat stat empResultskumar completing 4 years in 11 months and 18 days./empResults empStatusVALID/empStatus /stat stat empResultskies completing 4 years in 11 months and 26 days./empResults empStatusINVALID/empStatus /stat stat empResultsroy completing 4 years in 11 months and 26 days./empResults empStatusVALID/empStatus /stat I want to show it in my vbox as text boxes like guan completing 9 years in 6 months and 5 days. kumar completing 4 years in 11 months and 18 days. kies completing 4 years in 11 months and 26 days. roy completing 4 years in 11 months and 26 days. Please note color is red for those whose empStatus in INVALID. currently my code is like: mx:Repeater id=upcomingRepeater dataProvider={myXML} mx:Text id=upcomingText text={upcomingRepeater.currentItem}/ /mx:Repeater This above code shows me all in black as I have not applied this empStatus to format. So how to do that? Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com
[flexcoders] Graph suggestion wanted
I have some data which is say quantity for 7 days. this quantity value on 1st day is 1541 and 2nd day say 1543 , 3rd day say 1541 and so for 7 days just varies by 1 or 2 units. I created a line graph to depict. But as the quantity varies to a small value every day so the graph does not look interesting at all. It looks like a straight line (at least to human eyes). So, any suggestions to draw a graph which looks interesting showing this small variation a bit prominent. Just to add further i choose this line series graph coz i had three such quantities. Say product A quantity, product B quantiy and product C quantity. Product A quantiy starts at 1541 and varies +/- 1 to 2 every day and similarly product B's start at 645, product C's start at 115 with same degree of variation. In all graph looks just 3 straight lines.. how to make a bit interesting grpah with such type of data? Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com
Re: [flexcoders] Re: Graph suggestion wanted
Hie That's one type of chart you suggested is already there. I need to show one time base as well. Refer to this for my further update on it http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=60catid=585threadid=1427780CFID=1717CFTOKEN=c923170958c63379-AC31D1F3-CDB1-5F0C-C56177962443ABAFjsessionid=9630c340063fd36763de303237126115a5b3 Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Wed, Feb 25, 2009 at 2:19 AM, Tim Hoff timh...@aol.com wrote: Hi Vic, Since the variance over time doesn't change significantly, a time-based line chart doesn't appear to be that useful. It seems that you are really just displaying the relationship between products A, B and C. For something like this a simple bar chart works well. To make the chart more intuitive, you might just want to show the 7 day averages for each product; side by side. Just an idea. -TH --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Vik vik@... wrote: I have some data which is say quantity for 7 days. this quantity value on 1st day is 1541 and 2nd day say 1543 , 3rd day say 1541 and so for 7 days just varies by 1 or 2 units. I created a line graph to depict. But as the quantity varies to a small value every day so the graph does not look interesting at all. It looks like a straight line (at least to human eyes). So, any suggestions to draw a graph which looks interesting showing this small variation a bit prominent. Just to add further i choose this line series graph coz i had three such quantities. Say product A quantity, product B quantiy and product C quantity. Product A quantiy starts at 1541 and varies +/- 1 to 2 every day and similarly product B's start at 645, product C's start at 115 with same degree of variation. In all graph looks just 3 straight lines.. how to make a bit interesting grpah with such type of data? Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com
Re: [flexcoders] Re: Showing grid in line series graph
Hie Thankx it worked!!! Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Mon, Feb 16, 2009 at 12:29 PM, sunild99 sunilbd...@gmail.com wrote: You need to specify a Stroke to use for the grid lines. You can make the Stroke for the grid lines bolder by setting the weight property of the Stroke to a number greater than 1. If you view the source of this example, you can see one way of doing this: http://blog.sunild.com/2008/08/inverting-chart-series.html Sunil --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Vik vik@... wrote: Hie That worked thankx.. but the grid lines are very light. almost hard to see.. how to make them look a bit bold? Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com
[flexcoders] Showing grid in line series graph
Hie I have a line series graph. Doing a showAlldataTip gives a bad look to my graph. So i just want to show grid lines in the graph. is it possible? how? Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com
Re: [flexcoders] Re: Showing grid in line series graph
Hie That worked thankx.. but the grid lines are very light. almost hard to see.. how to make them look a bit bold? Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Sun, Feb 15, 2009 at 11:49 PM, EddieBerman eddieberman2...@hotmail.comwrote: Easy. Here are some links that should help: http://blog.flexexamples.com/2007/11/15/displaying-grid-lines-in-a- flex-linechart-control/ http://livedocs.adobe.com/flex/3/langref/mx/charts/GridLines.html -Eddie www.edberman.com --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Vik vik@... wrote: Hie I have a line series graph. Doing a showAlldataTip gives a bad look to my graph. So i just want to show grid lines in the graph. is it possible? how? Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com
[flexcoders] pie chart question
Hie I have requirement in which i have pie chart. I want to click on a particular pie area to open another pie chart. is it possible? if yes then how? Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com
[flexcoders] Bar graph question
Hie I have the data like Date Country production 5-feb-09 IND 20 5-feb-09 US 15 4-Feb-09 IND 30 4-Feb-0 IND 40 I have to show this data as a bar char. Where horizontal axis should be date. Vertical axis will show production and chart will show 2 pillar per date (one for ind and another for US). I tried various ways but could not get the desired results. Any suggestions for the required mxml for this. I tried like: mx:BarChart id=myChart width=100% height=100% showDataTips=true type=clustered mx:horizontalAxis mx:CategoryAxis categoryField=date/ /mx:horizontalAxis mx:series mx:BarSeries displayName=Yesterday xField=date yField=production / mx:BarSeries displayName=Today xField=date yField=production / /mx:series /mx:BarChart any suggestions? Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com
Re: [flexcoders] Re: Simplest way to create a webservice and deploy
Big Thankx to all you guys...especially to Tracy Nate Yes I really did not need a webservice to achieve what I was looking for. I was just in need of a xml response which I could achieve by simply creating a servlet which sends me a response as an XML. Thanks again!!! Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Thu, Feb 5, 2009 at 7:23 PM, johnlukemills j...@pobox.com wrote: If what you want to do is deploy a web service on your server, the simplest way by far is to use ColdFusion. The Cfcomponent from the ColdFusion 8 developers guide is all you need. cfcomponent cffunction name = echoString returnType = string output = no access = remote cfargument name = input type = string cfreturn #arguments.input# /cffunction /cfcomponent
[flexcoders] Accordion click event issue
Hie I am using an accordion with three vbox inside it. The problem is when i click on any of the accordion it does not invoke the click event. My code is like: mx:accordion id=myAcc mx:VBox label=Today /mx:VBox mx:VBox label=Last 2 Days click=headCountAccordion.selectedIndex=0; mx:Button label=hi/ /mx:VBox mx:VBox label=Last 1 Week /mx:VBox /mx:Accordion the click event does not work on the VBox with lable last 2 days. However, it works if i copy the click stuff to the button inside it. Any idea why? and how to fix Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com
Re: [flexcoders] Re: Simplest way to create a webservice and deploy
Hie Tracy Yes I just need a way to deliver my data as a xml which i can consume in Flex. I don't care about SOAP anything...I need to get my data for my Flex app only. I just need a way to access the data over internet. I don't mind in building the xml.. So I am just looking for how to achieve this. Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Wed, Feb 4, 2009 at 10:43 PM, Tracy Spratt tspr...@lariatinc.com wrote: Yes, Web Services can be difficult. But, we need to be clear on our language. Vik, when you use the words web service are you using them in the specific, Flex sense, meaning using the SOAP xml protocol? Or are you using the words web service in the more general sense of accessing data over the internet? SOAP based WebService is compicated because the format provides for anonymous third parties to use the service with only the wsdl as documentation. If you ae not planning to make your back-end business logic tier available to anonymous third parties, then you do not nead SOAP. The easiest way to deliver data over the internet is to use HTTPService, which is XML over HTTP. This is what AJAX apps often use. You would simply build xml (as an object or string) and pass it back to Flex. You will get exactly the xml you build, unlike SOAP, that wraps your data in a bunch of other stuff. Of course you wont get any data type information, but since you wrote the service you will know the data types. I have not done this with java, but have done it using a JSP page. http://www.cflex.net/showFileDetails.cfm?ObjectID=556 Tracy Spratt Lariat Services Flex development bandwidth available -- *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *valdhor *Sent:* Wednesday, February 04, 2009 9:29 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Re: Simplest way to create a webservice and deploy As far as I know there is no simple way to create a web service. I thought the easiest way would be to use the built-in functionality of PHP (Should only take a few lines). I found out the hard way that it is not that simple. It took me months of research and a lot of tinkering (Not to mention a few leaps of faith) on my part to figure it out. When I started learning Java a few months ago, I used that tutorial to jump start my understanding of Web Services in Java. If you are an absolute beginner, I would suggest reading up on WSDL files. Once you know enough, try to create a WSDL file for your Web Service (You are going to need one when you deploy your service). Once you can create a WSDL, you are well on your way to understanding how to build a web service and deploy it. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Vik vik@... wrote: Hmm I think this is not at least the simplest way to start with especially for a beginner. Any other ideas? Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Wed, Feb 4, 2009 at 12:51 AM, valdhor valdhorli...@...wrote: http://java.sun.com/webservices/docs/1.6/tutorial/doc/ ? --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.comflexcoders% 40yahoogroups.com, Vik vik.ceo@ wrote: Hie I am very new to web services. My very simple requirement is to return the records from a db table as an xml when i invoke a ws from my flex application. I have already code ready which is having a java method fetchRow() which returns a List of objects (rows). Any idea how to about creating and deploying it as a web service Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com
Re: [flexcoders] Re: Simplest way to create a webservice and deploy
Hmm I think this is not at least the simplest way to start with especially for a beginner. Any other ideas? Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Wed, Feb 4, 2009 at 12:51 AM, valdhor valdhorli...@embarqmail.comwrote: http://java.sun.com/webservices/docs/1.6/tutorial/doc/ ? --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Vik vik@... wrote: Hie I am very new to web services. My very simple requirement is to return the records from a db table as an xml when i invoke a ws from my flex application. I have already code ready which is having a java method fetchRow() which returns a List of objects (rows). Any idea how to about creating and deploying it as a web service Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com
[flexcoders] Calling web service from flex
Hie I created a web service in Jdeveloper and deployed it in the jdeveloper. When I am trying to invoke it gives error as: Error# 1085: The element type meta must be terminated by matching end tag /meta. In my ws I am not returning anything like that. Also I tested the ws in http analyzer of jdeveloper and it returns the good expected result. any help will be appreciated. Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com
Re: [flexcoders] Calling web service from flex
Hie how to set the type to text? Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Mon, Feb 2, 2009 at 9:03 PM, Tracy Spratt tspr...@lariatinc.com wrote: Perhaps Flex has more stringent requirements for valid xml. You could use a tcp sniffer(charles, ServiceCapture) to look at the data traffic, or you could set resultFormat to text, and perhaps see it that way Tracy Spratt Lariat Services Flex development bandwidth available -- *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *Vik *Sent:* Monday, February 02, 2009 9:30 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Calling web service from flex Hie I created a web service in Jdeveloper and deployed it in the jdeveloper. When I am trying to invoke it gives error as: Error# 1085: The element type meta must be terminated by matching end tag /meta. In my ws I am not returning anything like that. Also I tested the ws in http analyzer of jdeveloper and it returns the good expected result. any help will be appreciated. Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com
Re: [flexcoders] Calling web service from flex
Hie Tracy Thankx for replying.. but even after changing the format to object/ text/ e4x and xml I get the same error just in different wording like xml parsing error for meta etc etc any suggestions? Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Mon, Feb 2, 2009 at 9:03 PM, Tracy Spratt tspr...@lariatinc.com wrote: Perhaps Flex has more stringent requirements for valid xml. You could use a tcp sniffer(charles, ServiceCapture) to look at the data traffic, or you could set resultFormat to text, and perhaps see it that way Tracy Spratt Lariat Services Flex development bandwidth available -- *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *Vik *Sent:* Monday, February 02, 2009 9:30 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Calling web service from flex Hie I created a web service in Jdeveloper and deployed it in the jdeveloper. When I am trying to invoke it gives error as: Error# 1085: The element type meta must be terminated by matching end tag /meta. In my ws I am not returning anything like that. Also I tested the ws in http analyzer of jdeveloper and it returns the good expected result. any help will be appreciated. Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com
[flexcoders] Simplest way to create a webservice and deploy
Hie I am very new to web services. My very simple requirement is to return the records from a db table as an xml when i invoke a ws from my flex application. I have already code ready which is having a java method fetchRow() which returns a List of objects (rows). Any idea how to about creating and deploying it as a web service Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com
Re: [flexcoders] Reducing white space in charts
Hie Thankx a lot!!! This worked Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Sat, Jan 31, 2009 at 11:30 AM, Sam Lai samuel@gmail.com wrote: Oh, you mean the gaps causing the scrollbars to appear? Change your HBox line to this - mx:HBox width=100% height=100% horizontalGap=10 verticalGap=0 2009/1/31 Vik vik@gmail.com: Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com Hie Thankx for the response.. I am still pretty new so could you tell me where exactly to write all this? Vik On Fri, Jan 30, 2009 at 7:48 PM, Sam Lai samuel@gmail.com wrote: I had the same problem, and wasn't about to get it completely eliminated. I used the following styles on my AxisRenderer for both the horizontal and vertical axes: showLabels: false; showLine: false; tickPlacement: none; minorTickPlacement: none; axisStroke: ClassReference(Stroke); I did this in code, but it should be possible via CSS too, although my experience with CSS is that it isn't very reliable. Note that I didn't want the axis appearing at all - if you do, you will have to adjust the styles. If you're still stuck, I suggest you look in the Flex source code, at the AxisRenderer.as file to see how it renders the axisrenderer, and then change it. The chart classes might help too. 2009/1/30 Vik S. Kumar vik@gmail.com: Hie any idea on http://www.adobe.com/cfusion/webforums/forum/messageview.cfm? forumid=60catid=585threadid=1419947enterthread=y i m not able to reduce un-necessary space in right and bottom side of chart components -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
[flexcoders] reducing white space from chart
Hie Could anyone please help on this http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=585threadid=1419947forumid=60 Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com
[flexcoders] Reducing white space in charts
Hie any idea on http://www.adobe.com/cfusion/webforums/forum/messageview.cfm? forumid=60catid=585threadid=1419947enterthread=y i m not able to reduce un-necessary space in right and bottom side of chart components
Re: [flexcoders] Reducing white space in charts
Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com Hie Thankx for the response.. I am still pretty new so could you tell me where exactly to write all this? Vik On Fri, Jan 30, 2009 at 7:48 PM, Sam Lai samuel@gmail.com wrote: I had the same problem, and wasn't about to get it completely eliminated. I used the following styles on my AxisRenderer for both the horizontal and vertical axes: showLabels: false; showLine: false; tickPlacement: none; minorTickPlacement: none; axisStroke: ClassReference(Stroke); I did this in code, but it should be possible via CSS too, although my experience with CSS is that it isn't very reliable. Note that I didn't want the axis appearing at all - if you do, you will have to adjust the styles. If you're still stuck, I suggest you look in the Flex source code, at the AxisRenderer.as file to see how it renders the axisrenderer, and then change it. The chart classes might help too. 2009/1/30 Vik S. Kumar vik@gmail.com vik.ceo%40gmail.com: Hie any idea on http://www.adobe.com/cfusion/webforums/forum/messageview.cfm? forumid=60catid=585threadid=1419947enterthread=y i m not able to reduce un-necessary space in right and bottom side of chart components -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
[flexcoders] Question about capturing event.
I am working on a simple audio player that plays mp3 files inside a playlist. I am trying to create a continuous music play, once mp3 file after the next. However I am unable to capture the Event.SOUND_COMPLETE event. Here is how the code is structured. I have a player class(player.as - does not extend anything) that has a play function, that does a bunch of things including creating a SoundFacade object(Standard class found in programming AS3 book) and calling its play method. In the SoundFacade class extends EvenDispatcher, it sets up various events and triggers for the sound object (i.e. ProgressEvent.PROGRESS, Event.COMPLETE, Event.OPEN) which get triggered appropriately. However, I would like to know in the player class when the ProgressEvent, or Sound_complete event is triggered. I know they get triggered in the SoundFacade object, but how do i capture and use them in the player class. Sharing some relevant parts of SoundFacade class: public class SoundFacade extends EventDispatcher this.s.addEventListener(ProgressEvent.PROGRESS, onLoadProgress); this.s.addEventListener(Event.SOUND_COMPLETE,onPlayComplete); public function onLoadProgress(event:ProgressEvent):void { this.dispatchEvent(event); } The debugger gets to this progressHandler Sharing some relevant parts of player class: public class player var SFObject:SoundFacade; public function progressHandler(event:ProgressEvent):void { this.dispatchEvent(event); } The debugger never gets to this progressHandler Any help on this would be appreciated. --Vik