[flex_india:24592] Re: TypeError: Error #1034: Type Coercion failed: cannot convert mx.charts::linech...@583c5c1 to mx.charts.ColumnChart.

2009-08-18 Thread sankar swaroop

Hi kalavathi,
This is an error.
You cannot use labelposition="outside" in line chart. This is column
chart property.
When u use this in column chart the label will be displayed on top of each bar.
so u can use only labelPosition="callout" in line chart.

Thanks...

On Mon, Aug 17, 2009 at 11:17 PM, kalavati
singh wrote:
> Hi,
>
>  I tried by  replacing  label function with labelposition=" outside" &
> labelFeild="id" in column series
>
>     I get en error
>
>
>
>
>
> TypeError: Error #1034: Type Coercion failed: cannot convert
> mx.charts::linech...@583c5c1 to mx.charts.ColumnChart.
>     at
> mx.charts.series::ColumnSeries/updateTransform()[C:\work\flex\dmv_automation\pr
> ojects\datavisualisation\src\mx\charts\series\ColumnSeries.as:1295]
>     at
> mx.charts.chartClasses::Series/validateTransform()[C:\work\flex\dmv_automation\
> projects\datavisualisation\src\mx\charts\chartClasses\Series.as:1571]
>     at
> mx.charts.chartClasses::Series/updateDisplayList()[C:\work\flex\dmv_automation\
> projects\datavisualisation\src\mx\charts\chartClasses\Series.as:828]
>     at
> mx.charts.series::ColumnSeries/updateDisplayList()[C:\work\flex\dmv_automation\
> projects\datavisualisation\src\mx\charts\series\ColumnSeries.as:1354]
>     at
> mx.core::UIComponent/validateDisplayList()[C:\autobuild\3.2.0\frameworks\projec
> ts\framework\src\mx\core\UIComponent.as:6351]
>     at
> mx.managers::LayoutManager/validateDisplayList()[C:\autobuild\3.2.0\frameworks\
> projects\framework\src\mx\managers\LayoutManager.as:622]
>     at
> mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\framework
> s\projects\framework\src\mx\managers\LayoutManager.as:677]
>     at Function/http://adobe.com/AS3/2006/builtin::apply()
>     at
> mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\proje
> cts\framework\src\mx\core\UIComponent.as:8628]
>     at
> mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projec
> ts\framework\src\mx\core\UIComponent.as:8568]
>
>
>
>    after googling for some time i donot know if its a bug or error
>
>
>
>
>
> Regards
>
> Kalavati
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



Re: [flex_india:/] Re: Adobe Certified Professional - Flex with AIR

2009-08-18 Thread raghavendra gunda
heY congrats buddy

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:24591] Re: Java with Flex

2009-08-18 Thread Fauzia Syed
 This should work:

var o:Object=event.result as Object;
var tempString:String = o.name as String;

First debug and see if you have the object in your java code. Use the
flashlog to see if you are getting the javaobject in the UI.

-Fauzia

On Tue, Aug 18, 2009 at 6:25 AM, HISSAM  wrote:

> whats the object structure?
> suppose at java end
> u have object like
> {
> .
> .
> o.name="myname";o.font="arial";o.style="bold";
> return o;
> }
>
> at flex end, u must be using the resultEvent
> so try like this
>
> private function result(r:resultEvent):void
> {
> var o:Object=r.result;
> var name:object=o.name;
> var font:object=o.font;
> var style:object=o.style;
> }
>
> debug n try finding if u get the values
>
> 2009/8/18 karima aissaoui 
>
>>  hi all,
>>
>> iam developping a web application using flex, java and mySql. my problem
>> is that i have a methode which returns a java object. i must read this
>> object in my mxml form in order to obtain the properties of this object
>> because i want to set them to a TextInput composant in my form. plz help me
>> it's urgent and thank you very much !
>>
>>
>>
>
>
> --
> 
> Hissam,
> Flex Developer,
> Vantage Labs,
> Singapore-088806
> (M)+65 90852194
> ---
>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:/] Re: Adobe Certified Professional - Flex with AIR

2009-08-18 Thread Shyam prasad
Hello

Anyone available to work full-time on a Flex project. Urgent ! Contact
immediately . Good pay  if you are reliable and able to deliver.3

Shyam

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:24588] Re: Length of the Empty DataGrid

2009-08-18 Thread Ramya Arumugam
Hi,

I got the solution..thanks a lot..


Ramya.
On Tue, Aug 18, 2009 at 6:32 PM, Ravi Mishra  wrote:

>
> Hi Ramya,
>
> You can check null values for the dataprovider while calculating the
> length of it. You can write it as
>
> if(dg.dataprovider != null){
> RecLength = dg.dataprovider.length;
> }
> else{
> RecLength = 0;
> }
>
> Where RecLength is the length of datagrid.
>
> HTH,
>
> -Ravi
> http://achieveravi.blogspot.com
>
> On Aug 18, 4:41 pm, Ramya Arumugam  wrote:
> > Hi All,
> >
> > Im using datagrid, which has* id as dg* and also  have two scenarios:
> >
> > 1) First scenario -  data will be populated and displayed it on the
> datagrid
> > by using dataprovider and am able to get the length of the datagrid by
> using
> > *dg.dataprovider.length*.
> >
> > 2) Another scenario - data wouldnt be populated. Hence, the data wouldnt
> be
> > availabe on the datagrid. At this time, i need to get the length of the
> > datagrid.
> >
> > Can anyone tell me how to get the lenght of the empty datagrid?
> >
> > Thanks,
> > Ramya
>  >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:24587] hello everyone.

2009-08-18 Thread hasain

I have this small problem, i am sure anyone in the community will
definitely have solution for it.

 Problem: - I have a html wrapper with swf object in one Tab and
other html contents in other Tab
now the problem is when  i move to the other tab without swf object
and come back i don't find the previous state of swf container its
reloaded.

  but i am not reloading the html page only tabs or changed by hiding
one div and showing other

 how to avoid this reloading of the swf in html page.


Any kind of suggestions will be helpful
Thanks in Advances.
Hasain.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:24586] Re: Java with Flex

2009-08-18 Thread Ravi Mishra

Instead of MyObject, use Object only.

HTH,

-Ravi
http://achieveravi.blogspot.com

On Aug 18, 3:51 pm, karima aissaoui  wrote:
> i tried like you told me, but i have an error in :
>
> var o:MyObject=event.result;
>
> i tried like that :
>  var o:MyObject=event.result as MyObject
>
> nameText.text=o.name as String;
>
> but while running, i don't see any result. have any suggestion plz??
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:24585] Re: Length of the Empty DataGrid

2009-08-18 Thread Ravi Mishra

Hi Ramya,

You can check null values for the dataprovider while calculating the
length of it. You can write it as

if(dg.dataprovider != null){
RecLength = dg.dataprovider.length;
}
else{
RecLength = 0;
}

Where RecLength is the length of datagrid.

HTH,

-Ravi
http://achieveravi.blogspot.com

On Aug 18, 4:41 pm, Ramya Arumugam  wrote:
> Hi All,
>
> Im using datagrid, which has* id as dg* and also  have two scenarios:
>
> 1) First scenario -  data will be populated and displayed it on the datagrid
> by using dataprovider and am able to get the length of the datagrid by using
> *dg.dataprovider.length*.
>
> 2) Another scenario - data wouldnt be populated. Hence, the data wouldnt be
> availabe on the datagrid. At this time, i need to get the length of the
> datagrid.
>
> Can anyone tell me how to get the lenght of the empty datagrid?
>
> Thanks,
> Ramya
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:24584] Re: Complex rows in datagrid

2009-08-18 Thread Preetham Hegde
a suggestion only...
we can have a header using some other component ( may be using canvas, text
etc..)
instead of datagrid do we have any advantage over using header from
datagrid?
We cannot sort, nor adjust the width
If not i think we should choose some light weight component than datagrid..

*Will advanced dataGrid will help?*

On Tue, Aug 18, 2009 at 5:20 PM, Ravi Mishra  wrote:

>
> Hi Anoop,
>
> Let me know if following works
>
> 
> http://www.adobe.com/2006/mxml";
> layout="absolute">
>
>
>
> 
> height="{tempGridForHeadersOnly.headerHeight}" width="100%">
> 
> dataField="a"/>
>
>
>
>
>  sortableColumns="false"
> selectable="false" headerHeight="0" variableRowHeight="true"
> paddingLeft="10" paddingRight="10">
>
>
>
>
>
> width="100%" height="100%" showHeaders="false" sortableColumns="false"
> rowCount="1" dataProvider="{data}" selectable="false">
>
> 
>
> 
>
> 
>
> 
> mx:columns>
>
> width="100%">
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
> mx:GridRow>
>
>
>
>
>
>
>
> 
>
> 
>
> Though it's not a good approach because i have added one temporary
> datagrid just for columns only. Because the case you are looking for
> can not be solved using traditional datagrid in flex. You have to
> customize it a bit.
>
> HTH,
>
> -Ravi
> http://achieveravi.blogspot.com
>
> On Aug 18, 4:11 pm, Anoop Max  wrote:
> > Hi Ravi / Preetham,
> >
> > Please find the code below.
> >
> > 
> > http://www.adobe.com/2006/mxml";
> > layout="absolute">
> > 
> > 
> > 
> >  sortableColumns="false"
> > selectable="false" headerHeight="0" variableRowHeight="true"
> > paddingLeft="10" paddingRight="10">
> > 
> > 
> > 
> > 
> > 
> >  width="100%" height="100%" sortableColumns="false"
> > rowCount="1" dataProvider="{data}" selectable="false">
> >
> 
> >
> 
> >
> 
> >
> 
> >
> 
> > 
> >  width="100%">
> >
> 
> >
> 
> >
>   
> >
> 
> >
> 
> >
>   
> >
> 
> >
> 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >
> > If you run this, I am getting a datagrid with datagrids inside that.
> > But all the inner datagrids have headings. I want to have heading for
> > the main datagrid only.
> > Probably, I think I am going far away. May be it can be done in some
> > other way. Even without using datagrid.
> > If any idea is coming to your mind, please share.
> >
> > Regards,
> > Anoop
> >
> > On Aug 18, 4:05 pm, Preetham Hegde  wrote:
> >
> > > Hi Anoop,
> >
> > > there is a attribute called *showHeaders* for datagrid.. Check whether
> it is
> > > true or false..
> > > And set *headerText* dataColumn .
> >
> > > As Ravi told if u share ur code it would be easy to debug...
> >
> > > On Tue, Aug 18, 2009 at 4:10 PM, Ravi Mishra 
> wrote:
> >
> > > > Hi Anoop,
> >
> > > > Can you pls share your code snippet with us? So that we can have a
> > > > better picture.
> >
> > > > -Ravi
> > > >http://achieveravi.blogspot.com
> >
> > > > On Aug 18, 2:44 pm, Anoop Max  wrote:
> > > > > Hi All,
> >
> > > > > I am working on one datagrid in which am facing one difficulty.
> > > > > In the data grid, after each row, it needs to display one row which
> > > > > will display comments for that particular row.
> >
> > > > > a | b | c | d
> > > > > comments :
> >
> > > > > I guess itemrenderer is the answer for this, but how? I tried
> putting
> > > > > datagrid and text area in one hbox and making it as itemrenderer
> for
> > > > > the main datagrid. That worked, but I am not able to put header for
> > > > > the main datagrid. Please help.
> >
> > > > > regards,
> > > > > Anoop
> >
> > > --

[flex_india:24583] Length of the Empty DataGrid

2009-08-18 Thread Ramya Arumugam
Hi All,

Im using datagrid, which has* id as dg* and also  have two scenarios:

1) First scenario -  data will be populated and displayed it on the datagrid
by using dataprovider and am able to get the length of the datagrid by using
*dg.dataprovider.length*.

2) Another scenario - data wouldnt be populated. Hence, the data wouldnt be
availabe on the datagrid. At this time, i need to get the length of the
datagrid.

Can anyone tell me how to get the lenght of the empty datagrid?

Thanks,
Ramya

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:24582] Re: Complex rows in datagrid

2009-08-18 Thread Ravi Mishra

Hi Anoop,

Let me know if following works


http://www.adobe.com/2006/mxml";
layout="absolute">


















 

 

 

 




 

 

 

 

 

 

 













Though it's not a good approach because i have added one temporary
datagrid just for columns only. Because the case you are looking for
can not be solved using traditional datagrid in flex. You have to
customize it a bit.

HTH,

-Ravi
http://achieveravi.blogspot.com

On Aug 18, 4:11 pm, Anoop Max  wrote:
> Hi Ravi / Preetham,
>
> Please find the code below.
>
> 
> http://www.adobe.com/2006/mxml";
> layout="absolute">
>         
>                 
>         
>          selectable="false" headerHeight="0" variableRowHeight="true"
> paddingLeft="10" paddingRight="10">
>                 
>                         
>                                 
>                                         
>                                                 
>                                                          width="100%" height="100%" sortableColumns="false"
> rowCount="1" dataProvider="{data}" selectable="false">
>                                                                 
>                                                                         
> 
>                                                                         
> 
>                                                                         
> 
>                                                                 
>                                                         
>                                                         
>                                                                  width="100%">
>                                                                         
> 
>                                                                               
>   
>                                                                         
> 
>                                                                         
> 
>                                                                               
>   
>                                                                         
> 
>                                                                 
>                                                         
>                                                 
>                                         
>                                 
>                         
>                 
>         
> 
>
> If you run this, I am getting a datagrid with datagrids inside that.
> But all the inner datagrids have headings. I want to have heading for
> the main datagrid only.
> Probably, I think I am going far away. May be it can be done in some
> other way. Even without using datagrid.
> If any idea is coming to your mind, please share.
>
> Regards,
> Anoop
>
> On Aug 18, 4:05 pm, Preetham Hegde  wrote:
>
> > Hi Anoop,
>
> > there is a attribute called *showHeaders* for datagrid.. Check whether it is
> > true or false..
> > And set *headerText* dataColumn .
>
> > As Ravi told if u share ur code it would be easy to debug...
>
> > On Tue, Aug 18, 2009 at 4:10 PM, Ravi Mishra  wrote:
>
> > > Hi Anoop,
>
> > > Can you pls share your code snippet with us? So that we can have a
> > > better picture.
>
> > > -Ravi
> > >http://achieveravi.blogspot.com
>
> > > On Aug 18, 2:44 pm, Anoop Max  wrote:
> > > > Hi All,
>
> > > > I am working on one datagrid in which am facing one difficulty.
> > > > In the data grid, after each row, it needs to display one row which
> > > > will display comments for that particular row.
>
> > > >                 a | b | c | d
> > > > comments :
>
> > > > I guess itemrenderer is the answer for this, but how? I tried putting
> > > > datagrid and text area in one hbox and making it as itemrenderer for
> > > > the main datagrid. That worked, but I am not able to put header for
> > > > the main datagrid. Please help.
>
> > > > regards,
> > > > Anoop
>
> > --
> > Regards,
> > Preetham Hegdewww.dizzianer.com
>
> > ___
> > If you only have a hammer, you tend to see every problem as

[flex_india:24581] Re: Complex rows in datagrid

2009-08-18 Thread Anoop Max

Hi Ravi / Preetham,

Please find the code below.


http://www.adobe.com/2006/mxml";
layout="absolute">











































If you run this, I am getting a datagrid with datagrids inside that.
But all the inner datagrids have headings. I want to have heading for
the main datagrid only.
Probably, I think I am going far away. May be it can be done in some
other way. Even without using datagrid.
If any idea is coming to your mind, please share.

Regards,
Anoop

On Aug 18, 4:05 pm, Preetham Hegde  wrote:
> Hi Anoop,
>
> there is a attribute called *showHeaders* for datagrid.. Check whether it is
> true or false..
> And set *headerText* dataColumn .
>
> As Ravi told if u share ur code it would be easy to debug...
>
>
>
> On Tue, Aug 18, 2009 at 4:10 PM, Ravi Mishra  wrote:
>
> > Hi Anoop,
>
> > Can you pls share your code snippet with us? So that we can have a
> > better picture.
>
> > -Ravi
> >http://achieveravi.blogspot.com
>
> > On Aug 18, 2:44 pm, Anoop Max  wrote:
> > > Hi All,
>
> > > I am working on one datagrid in which am facing one difficulty.
> > > In the data grid, after each row, it needs to display one row which
> > > will display comments for that particular row.
>
> > >                 a | b | c | d
> > > comments :
>
> > > I guess itemrenderer is the answer for this, but how? I tried putting
> > > datagrid and text area in one hbox and making it as itemrenderer for
> > > the main datagrid. That worked, but I am not able to put header for
> > > the main datagrid. Please help.
>
> > > regards,
> > > Anoop
>
> --
> Regards,
> Preetham Hegdewww.dizzianer.com
>
> ___
> If you only have a hammer, you tend to see every problem as a nail.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:24580] explanation needed in Fluint

2009-08-18 Thread Bharath Ramanathan
Hi am currently trying out in implementing an unit testing framework for my
applications.

I am ramping up on Fluint now and while going thro the tutorials for that i
came across  this

"As the first line of your testTimerLongWay() method, add this code which
creates a new asynchronous handler.

   var asyncHandler:Function = asyncHandler(
handleTimerComplete, 500, null, handleTimeout );


This code calls a method of the
TestCasecalled
asyncHandler() to create a special class (the AsyncHandler class) that will
monitor your test for an asynchronous event."

can anyone explain the above statement and how is the instance for
that AsyncHandler
class taking place ?!

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:24577] Re: [tooltip] in TitleWindow component

2009-08-18 Thread flex_oink


Hi Jalopy,

I just tested this in my code and its working fine. I am not sure where you
are missing this. I can help if u ll share ur piece of code. I am attaching
the snapshot.

Regards,
Oink Oink

http://www.nabble.com/file/p25022583/ToolTip1.bmp ToolTip1.bmp 

jalopy wrote:
> 
> 
> Why is it that "tooltip" attribute cannot be set in TitleWindow
> component?
> 
> I have a titlteWindow component created by PopUpManager.createPopUp
> function.
> and setting a simple toolTip within that component, like the
> following, cannot produce:
>   
> 
> any help?
> 
> jalopy
> 
> > 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-flex_india%3A24562---tooltip--in-TitleWindow-component-tp25022020p25022583.html
Sent from the Flex India mailing list archive at Nabble.com.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:24579] Re: Complex rows in datagrid

2009-08-18 Thread Preetham Hegde
Hi Anoop,

there is a attribute called *showHeaders* for datagrid.. Check whether it is
true or false..
And set *headerText* dataColumn .

As Ravi told if u share ur code it would be easy to debug...

On Tue, Aug 18, 2009 at 4:10 PM, Ravi Mishra  wrote:

>
> Hi Anoop,
>
> Can you pls share your code snippet with us? So that we can have a
> better picture.
>
> -Ravi
> http://achieveravi.blogspot.com
>
> On Aug 18, 2:44 pm, Anoop Max  wrote:
> > Hi All,
> >
> > I am working on one datagrid in which am facing one difficulty.
> > In the data grid, after each row, it needs to display one row which
> > will display comments for that particular row.
> >
> > a | b | c | d
> > comments :
> >
> > I guess itemrenderer is the answer for this, but how? I tried putting
> > datagrid and text area in one hbox and making it as itemrenderer for
> > the main datagrid. That worked, but I am not able to put header for
> > the main datagrid. Please help.
> >
> > regards,
> > Anoop
> >
>


-- 
Regards,
Preetham Hegde
www.dizzianer.com

___
If you only have a hammer, you tend to see every problem as a nail.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:24578] Re: Java with Flex

2009-08-18 Thread karima aissaoui
i tried like you told me, but i have an error in :

var o:MyObject=event.result;

i tried like that :
 var o:MyObject=event.result as MyObject

nameText.text=o.name as String;

but while running, i don't see any result. have any suggestion plz??

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:24576] Re: TypeError: Error #1034: Type Coercion failed: cannot convert mx.charts::linech...@583c5c1 to mx.charts.ColumnChart.

2009-08-18 Thread Jitendra Jain
Its better if yu paste some code. You error says it a type conversion error.
It cannot convert LineChart to ColumnChart. Check the code again..

On Tue, Aug 18, 2009 at 4:08 PM, kalavati singh wrote:

> Hello Ravi,
>I have multi series in a Line chart ( column & line series) I want
> to add labels on the top of  of column chart.Intially i wrote a
> labelfunction but its not working as intended so I replaced labelfunction
> with  Labelposition="outside " & labelField="id",I get this error.Let me
> know if you need any further details on it
>
>
> Regards
> Kalavati
>
>
> On Tue, Aug 18, 2009 at 4:02 PM, Ravi Mishra wrote:
>
>>
>> Hi Kalavati,
>>
>> What do you mean by replacing labelFunction with
>> labelPosition="outside" & labelField="id"? These are not the same
>> things.
>> And I hope this is not a bug but there is some error in your code
>> which is assigning a variable of type LineChart to  a variable of type
>> ColumnChart.
>>
>> HTH,
>>
>> -Ravi
>> http://achieveravi.blogspot.com
>>
>> On Aug 18, 11:17 am, kalavati singh  wrote:
>> > Hi,
>> >
>> >  I tried by  replacing  label function with labelposition=" outside"
>> &
>> > labelFeild="id" in column series
>> >
>> > I get en error
>> >
>> > TypeError: Error #1034: Type Coercion failed: cannot convert
>> > mx.charts::linech...@583c5c1 to mx.charts.ColumnChart.
>> > at
>> >
>> mx.charts.series::ColumnSeries/updateTransform()[C:\work\flex\dmv_automation\pr
>> > ojects\datavisualisation\src\mx\charts\series\ColumnSeries.as:1295]
>> > at
>> >
>> mx.charts.chartClasses::Series/validateTransform()[C:\work\flex\dmv_automation\
>> > projects\datavisualisation\src\mx\charts\chartClasses\Series.as:1571]
>> > at
>> >
>> mx.charts.chartClasses::Series/updateDisplayList()[C:\work\flex\dmv_automation\
>> > projects\datavisualisation\src\mx\charts\chartClasses\Series.as:828]
>> > at
>> >
>> mx.charts.series::ColumnSeries/updateDisplayList()[C:\work\flex\dmv_automation\
>> > projects\datavisualisation\src\mx\charts\series\ColumnSeries.as:1354]
>> > at
>> >
>> mx.core::UIComponent/validateDisplayList()[C:\autobuild\3.2.0\frameworks\projec
>> > ts\framework\src\mx\core\UIComponent.as:6351]
>> > at
>> >
>> mx.managers::LayoutManager/validateDisplayList()[C:\autobuild\3.2.0\frameworks\
>> > projects\framework\src\mx\managers\LayoutManager.as:622]
>> > at
>> >
>> mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\framework
>> > s\projects\framework\src\mx\managers\LayoutManager.as:677]
>> > at 
>> > Function/http://adobe.com/AS3/2006/builtin::apply()
>> > at
>> >
>> mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\proje
>> > cts\framework\src\mx\core\UIComponent.as:8628]
>> > at
>> >
>> mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projec
>> > ts\framework\src\mx\core\UIComponent.as:8568]
>> >
>> >after googling for some time i donot know if its a bug or error
>> >
>> > Regards
>> >
>> > Kalavati
>>
>>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:24574] Re: TypeError: Error #1034: Type Coercion failed: cannot convert mx.charts::linech...@583c5c1 to mx.charts.ColumnChart.

2009-08-18 Thread kalavati singh
Hello Ravi,
   I have multi series in a Line chart ( column & line series) I want to
add labels on the top of  of column chart.Intially i wrote a labelfunction
but its not working as intended so I replaced labelfunction with
Labelposition="outside " & labelField="id",I get this error.Let me know if
you need any further details on it


Regards
Kalavati

On Tue, Aug 18, 2009 at 4:02 PM, Ravi Mishra  wrote:

>
> Hi Kalavati,
>
> What do you mean by replacing labelFunction with
> labelPosition="outside" & labelField="id"? These are not the same
> things.
> And I hope this is not a bug but there is some error in your code
> which is assigning a variable of type LineChart to  a variable of type
> ColumnChart.
>
> HTH,
>
> -Ravi
> http://achieveravi.blogspot.com
>
> On Aug 18, 11:17 am, kalavati singh  wrote:
> > Hi,
> >
> >  I tried by  replacing  label function with labelposition=" outside"
> &
> > labelFeild="id" in column series
> >
> > I get en error
> >
> > TypeError: Error #1034: Type Coercion failed: cannot convert
> > mx.charts::linech...@583c5c1 to mx.charts.ColumnChart.
> > at
> >
> mx.charts.series::ColumnSeries/updateTransform()[C:\work\flex\dmv_automation\pr
> > ojects\datavisualisation\src\mx\charts\series\ColumnSeries.as:1295]
> > at
> >
> mx.charts.chartClasses::Series/validateTransform()[C:\work\flex\dmv_automation\
> > projects\datavisualisation\src\mx\charts\chartClasses\Series.as:1571]
> > at
> >
> mx.charts.chartClasses::Series/updateDisplayList()[C:\work\flex\dmv_automation\
> > projects\datavisualisation\src\mx\charts\chartClasses\Series.as:828]
> > at
> >
> mx.charts.series::ColumnSeries/updateDisplayList()[C:\work\flex\dmv_automation\
> > projects\datavisualisation\src\mx\charts\series\ColumnSeries.as:1354]
> > at
> >
> mx.core::UIComponent/validateDisplayList()[C:\autobuild\3.2.0\frameworks\projec
> > ts\framework\src\mx\core\UIComponent.as:6351]
> > at
> >
> mx.managers::LayoutManager/validateDisplayList()[C:\autobuild\3.2.0\frameworks\
> > projects\framework\src\mx\managers\LayoutManager.as:622]
> > at
> >
> mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\framework
> > s\projects\framework\src\mx\managers\LayoutManager.as:677]
> > at 
> > Function/http://adobe.com/AS3/2006/builtin::apply()
> > at
> >
> mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\proje
> > cts\framework\src\mx\core\UIComponent.as:8628]
> > at
> >
> mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projec
> > ts\framework\src\mx\core\UIComponent.as:8568]
> >
> >after googling for some time i donot know if its a bug or error
> >
> > Regards
> >
> > Kalavati
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:24575] Re: Adobe Certified Professional - Flex with AIR

2009-08-18 Thread rajlaxmi jalan
What are the books that u referred

On Tue, Aug 18, 2009 at 3:05 PM, Durairaj  wrote:

>
> @ Karthick- You can concentrate on the syllabus given in the ACE
> guide. But i feel its better to learn fully as it would be useful in
> ur development more. Certification without knowledge doesn't help.
>
> @ preetham I was working on few flex projects as a consultant for few
> months.
>
> LiveDocs in Flex , AIR and LCDS would be the better resource.
>
> Just give importance to each and every small things.
>
> All the best.
>
> Thanks
> Durairaj
>
> On 18 Aug, 06:45, Preetham Hegde  wrote:
> > Congrats Durairaj,
> >
> > Share your experience with us.. tips for one who are planning to have
> > certification.
> > How much day preparation u did?
> > Which book( or site) did u use?
> >
> > There should be many things like these, pls share with us.
> >
> >
> >
> > On Tue, Aug 18, 2009 at 9:40 AM, karthik k 
> wrote:
> > > Hi
> >
> > > Congrats
> >
> > > How you got the guidance took any course or
> >
> > > Can you share the syllabus plz
> >
> > > --
> > > Karthik.k
> > > Mobile - +91-9894991640
> >
> > > On Tue, Aug 18, 2009 at 9:30 AM, Ravi Mishra  >wrote:
> >
> > >> Congratulations Dude!
> >
> > >> -Ravi
> >
> > >> On Aug 18, 8:01 am, satishas  wrote:
> > >> > Hi Durairaj,
> >
> > >> >  Congrats man, Wish you all the very best.
> >
> > >> > Regards,
> > >> > Satish.
> > >> > ---
> > >>http://satish-as.blogspot.com/http://www.linkedin.com/in/satishas
> > >> > ---
> >
> > >> > On Aug 17, 9:19 pm, Durairaj  wrote:
> >
> > >> > > Hi Guys,
> >
> > >> > > Its pleasure to share with you all, that last week i have
> certified as
> > >> > > a ACE in Flex with AIR.
> >
> > >> > > Thanks
> > >> > > Durairaj
> >
> > --
> > Regards,
> > Preetham Hegde
> >
> > ___
> > If you only have a hammer, you tend to see every problem as a nail.
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:24573] Re: Complex rows in datagrid

2009-08-18 Thread Ravi Mishra

Hi Anoop,

Can you pls share your code snippet with us? So that we can have a
better picture.

-Ravi
http://achieveravi.blogspot.com

On Aug 18, 2:44 pm, Anoop Max  wrote:
> Hi All,
>
> I am working on one datagrid in which am facing one difficulty.
> In the data grid, after each row, it needs to display one row which
> will display comments for that particular row.
>
>                 a | b | c | d
> comments :
>
> I guess itemrenderer is the answer for this, but how? I tried putting
> datagrid and text area in one hbox and making it as itemrenderer for
> the main datagrid. That worked, but I am not able to put header for
> the main datagrid. Please help.
>
> regards,
> Anoop
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:24572] Re: dynamic datagrid searching and filtering.

2009-08-18 Thread Ravi Mishra
Hi,

Read about filterFunction in ArrayCollection. You will get to know
about how to filter things in collections.

-Ravi
http://achieveravi.blogspot.com

On Aug 18, 8:14 am, itonflex team  wrote:
> Hi friends, this is kishore !
>         I have a dynamic datagrid, i need to do the searching and
> filtering both for that datagrid.. Could you please help me regarding
> that please..
>
> 
> http://www.adobe.com/2006/mxml";
> width="100%" height="100%"
>         horizontalScrollPolicy="off" verticalScrollPolicy="off"
> creationComplete="load();" cornerRadius="10" xmlns:local="*">
>
>                 
>                 
>         
>          resultFormat="e4x" fault="Alert.show(event.fault.toString());" />
>         
>                  cornerRadius="10" borderStyle="solid" verticalAlign="middle"
> horizontalAlign="right">
>                         
>                         
>                 
>                  cornerRadius="10" /
>
>         
>          
> 
>
> labels.xml
> ---
>
> 
>           kishore  tanuku
>   Nag      paidiparru
>   aasha    jrgudem
>   vasanth  murari
>   raaz     nizamabad
>   praveen  hyd
>   srinusiddhantam
> 
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:24571] Re: Java with Flex

2009-08-18 Thread HISSAM
whats the object structure?
suppose at java end
u have object like
{
.
.
o.name="myname";o.font="arial";o.style="bold";
return o;
}

at flex end, u must be using the resultEvent
so try like this

private function result(r:resultEvent):void
{
var o:Object=r.result;
var name:object=o.name;
var font:object=o.font;
var style:object=o.style;
}

debug n try finding if u get the values

2009/8/18 karima aissaoui 

> hi all,
>
> iam developping a web application using flex, java and mySql. my problem is
> that i have a methode which returns a java object. i must read this object
> in my mxml form in order to obtain the properties of this object because i
> want to set them to a TextInput composant in my form. plz help me it's
> urgent and thank you very much !
>
> >
>


-- 

Hissam,
Flex Developer,
Vantage Labs,
Singapore-088806
(M)+65 90852194
---

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:24570] Re: TypeError: Error #1034: Type Coercion failed: cannot convert mx.charts::linech...@583c5c1 to mx.charts.ColumnChart.

2009-08-18 Thread Ravi Mishra

Hi Kalavati,

What do you mean by replacing labelFunction with
labelPosition="outside" & labelField="id"? These are not the same
things.
And I hope this is not a bug but there is some error in your code
which is assigning a variable of type LineChart to  a variable of type
ColumnChart.

HTH,

-Ravi
http://achieveravi.blogspot.com

On Aug 18, 11:17 am, kalavati singh  wrote:
> Hi,
>
>      I tried by  replacing  label function with labelposition=" outside" &
> labelFeild="id" in column series
>
>     I get en error
>
> TypeError: Error #1034: Type Coercion failed: cannot convert
> mx.charts::linech...@583c5c1 to mx.charts.ColumnChart.
>     at
> mx.charts.series::ColumnSeries/updateTransform()[C:\work\flex\dmv_automation\pr
> ojects\datavisualisation\src\mx\charts\series\ColumnSeries.as:1295]
>     at
> mx.charts.chartClasses::Series/validateTransform()[C:\work\flex\dmv_automation\
> projects\datavisualisation\src\mx\charts\chartClasses\Series.as:1571]
>     at
> mx.charts.chartClasses::Series/updateDisplayList()[C:\work\flex\dmv_automation\
> projects\datavisualisation\src\mx\charts\chartClasses\Series.as:828]
>     at
> mx.charts.series::ColumnSeries/updateDisplayList()[C:\work\flex\dmv_automation\
> projects\datavisualisation\src\mx\charts\series\ColumnSeries.as:1354]
>     at
> mx.core::UIComponent/validateDisplayList()[C:\autobuild\3.2.0\frameworks\projec
> ts\framework\src\mx\core\UIComponent.as:6351]
>     at
> mx.managers::LayoutManager/validateDisplayList()[C:\autobuild\3.2.0\frameworks\
> projects\framework\src\mx\managers\LayoutManager.as:622]
>     at
> mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\framework
> s\projects\framework\src\mx\managers\LayoutManager.as:677]
>     at Function/http://adobe.com/AS3/2006/builtin::apply()
>     at
> mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\proje
> cts\framework\src\mx\core\UIComponent.as:8628]
>     at
> mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projec
> ts\framework\src\mx\core\UIComponent.as:8568]
>
>    after googling for some time i donot know if its a bug or error
>
> Regards
>
> Kalavati
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:24568] dynamic datagrid searching and filtering.

2009-08-18 Thread itonflex team

Hi friends, this is kishore !
I have a dynamic datagrid, i need to do the searching and
filtering both for that datagrid.. Could you please help me regarding
that please..



http://www.adobe.com/2006/mxml";
width="100%" height="100%"
horizontalScrollPolicy="off" verticalScrollPolicy="off"
creationComplete="load();" cornerRadius="10" xmlns:local="*">












 







labels.xml
---


  kishoretanuku
  Nagpaidiparru
  aasha  jrgudem
  vasanthmurari
  raaz   nizamabad
  praveenhyd
  srinusiddhantam


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:24564] Complex rows in datagrid

2009-08-18 Thread Anoop Max

Hi All,

I am working on one datagrid in which am facing one difficulty.
In the data grid, after each row, it needs to display one row which
will display comments for that particular row.


a | b | c | d
comments :

I guess itemrenderer is the answer for this, but how? I tried putting
datagrid and text area in one hbox and making it as itemrenderer for
the main datagrid. That worked, but I am not able to put header for
the main datagrid. Please help.

regards,
Anoop

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:24562] [tooltip] in TitleWindow component

2009-08-18 Thread jalopy

Why is it that "tooltip" attribute cannot be set in TitleWindow
component?

I have a titlteWindow component created by PopUpManager.createPopUp
function.
and setting a simple toolTip within that component, like the
following, cannot produce:
  

any help?

jalopy

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:24565] Re: Adobe Certified Professional - Flex with AIR

2009-08-18 Thread nirupama s

Hi Durairaj - Is there a number on which I could reach you regarding some
clarifications on the certification please.

Regards

Nirupama

-Original Message-
From: flex_india@googlegroups.com [mailto:flex_in...@googlegroups.com] On
Behalf Of Durairaj
Sent: 17 August 2009 18:50
To: Flex India Community
Subject: [flex_india:24545] Adobe Certified Professional - Flex with AIR


Hi Guys,

Its pleasure to share with you all, that last week i have certified as
a ACE in Flex with AIR.

Thanks
Durairaj





--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:24569] TypeError: Error #1034: Type Coercion failed: cannot convert mx.charts::linech...@583c5c1 to mx.charts.ColumnChart.

2009-08-18 Thread kalavati singh
Hi,

 I tried by  replacing  label function with labelposition=" outside" &
labelFeild="id" in column series

I get en error





TypeError: Error #1034: Type Coercion failed: cannot convert
mx.charts::linech...@583c5c1 to mx.charts.ColumnChart.
at
mx.charts.series::ColumnSeries/updateTransform()[C:\work\flex\dmv_automation\pr
ojects\datavisualisation\src\mx\charts\series\ColumnSeries.as:1295]
at
mx.charts.chartClasses::Series/validateTransform()[C:\work\flex\dmv_automation\
projects\datavisualisation\src\mx\charts\chartClasses\Series.as:1571]
at
mx.charts.chartClasses::Series/updateDisplayList()[C:\work\flex\dmv_automation\
projects\datavisualisation\src\mx\charts\chartClasses\Series.as:828]
at
mx.charts.series::ColumnSeries/updateDisplayList()[C:\work\flex\dmv_automation\
projects\datavisualisation\src\mx\charts\series\ColumnSeries.as:1354]
at
mx.core::UIComponent/validateDisplayList()[C:\autobuild\3.2.0\frameworks\projec
ts\framework\src\mx\core\UIComponent.as:6351]
at
mx.managers::LayoutManager/validateDisplayList()[C:\autobuild\3.2.0\frameworks\
projects\framework\src\mx\managers\LayoutManager.as:622]
at
mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\framework
s\projects\framework\src\mx\managers\LayoutManager.as:677]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at
mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\proje
cts\framework\src\mx\core\UIComponent.as:8628]
at
mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projec
ts\framework\src\mx\core\UIComponent.as:8568]



   after googling for some time i donot know if its a bug or error





Regards

Kalavati

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:24560] Java with Flex

2009-08-18 Thread karima aissaoui
hi all,

iam developping a web application using flex, java and mySql. my problem is
that i have a methode which returns a java object. i must read this object
in my mxml form in order to obtain the properties of this object because i
want to set them to a TextInput composant in my form. plz help me it's
urgent and thank you very much !

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:24561] Degrafa freelancers in Pune

2009-08-18 Thread flex.mlist

Hi all
There is an opportunity to work on degrafa projects. it will be most
convenient if you are located in Pune.
Please send me a mail (chetan.mlist gmail) if interested.
Cheers
Chetan

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:24563] Re: Adobe Certified Professional - Flex with AIR

2009-08-18 Thread jack peterson
dear Durairaj,

i wish u all the very best , i also interest to write ACE exam ,please give
ur suggestion and dumps


thanks
Selva raj

On Mon, Aug 17, 2009 at 6:49 PM, Durairaj  wrote:

>
> Hi Guys,
>
> Its pleasure to share with you all, that last week i have certified as
> a ACE in Flex with AIR.
>
> Thanks
> Durairaj
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:24567] Re: simple RSS reader can't read with one item

2009-08-18 Thread Vivian Richard

   Thanks Ravi. Got it. Your code works!!!


On Sun, Aug 16, 2009 at 11:15 PM, Ravi Mishra wrote:
>
> Hi Vivian,
>
> When there is only one record coming as a result of any service call
> then flex internally considers as an object. So you can do it as
> follows:
>
> private function userUpdateMyplate(event:ResultEvent):void
> {
>    var tempAC:ArrayCollection = new ArrayCollection();
>    tempAC.addItem(event.Result);
>    var f_Array:ArrayCollection = new ArrayCollection();
>    if(tempAC.length > 1){
>        f_Array = tempAC.getItemAt(0);
>    }
>    else{
>        f_Array = tempAC;
>    }
>
>    myDataGrid.dataProvider = f_Array;
>
>
> }
>
>
> HTH,
>
> -Ravi
> http://achieveravi.blogspot.com
>
> On Aug 15, 12:48 pm, Vivian Richard  wrote:
>> Hi, when I am trying to read a RSS link with one item node in it I do not get
>> anything but when the RSS link has more then one item node all
>> the nodes show up. Why can't I read when RSS has only one item?
>> How do I solve this problem?
>>
>> here is how I am handling the the result event of the httpservice:
>>
>> private function userUpdateMyplate(event:ResultEvent):void
>> {
>>     var f_Array:ArrayCollection = event.result.RDF.item as ArrayCollection;
>>     myDataGrid.dataProvider = f_Array;
>>
>> }
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:24566] Re: Adobe Certified Professional - Flex with AIR

2009-08-18 Thread vijay nath
Hello ,

Congrats buddy ,can u plz tell us wht are the topics we need to mainly
stress on and wht stie or book to refer particularly for the certification
exams.




Thanks & Regards,

Vijay

On Tue, Aug 18, 2009 at 11:15 AM, Preetham Hegde
wrote:

> Congrats Durairaj,
>
> Share your experience with us.. tips for one who are planning to have
> certification.
> How much day preparation u did?
> Which book( or site) did u use?
>
> There should be many things like these, pls share with us.
>
>
>
>
> On Tue, Aug 18, 2009 at 9:40 AM, karthik k wrote:
>
>> Hi
>>
>> Congrats
>>
>> How you got the guidance took any course or
>>
>> Can you share the syllabus plz
>>
>>
>> --
>> Karthik.k
>> Mobile - +91-9894991640
>>
>>
>>
>>
>> On Tue, Aug 18, 2009 at 9:30 AM, Ravi Mishra wrote:
>>
>>>
>>> Congratulations Dude!
>>>
>>> -Ravi
>>>
>>> On Aug 18, 8:01 am, satishas  wrote:
>>> > Hi Durairaj,
>>> >
>>> >  Congrats man, Wish you all the very best.
>>> >
>>> > Regards,
>>> > Satish.
>>> > ---
>>> http://satish-as.blogspot.com/http://www.linkedin.com/in/satishas
>>> > ---
>>> >
>>> > On Aug 17, 9:19 pm, Durairaj  wrote:
>>> >
>>> > > Hi Guys,
>>> >
>>> > > Its pleasure to share with you all, that last week i have certified
>>> as
>>> > > a ACE in Flex with AIR.
>>> >
>>> > > Thanks
>>> > > Durairaj
>>>
>>>
>>
>>
>>
>>
>>
>
>
> --
> Regards,
> Preetham Hegde
>
>
> ___
> If you only have a hammer, you tend to see every problem as a nail.
>
>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:24559] Re: Adobe Certified Professional - Flex with AIR

2009-08-18 Thread Durairaj

Thanks Everyone.

On 18 Aug, 10:35, Durairaj  wrote:
> @ Karthick- You can concentrate on the syllabus given in the ACE
> guide. But i feel its better to learn fully as it would be useful in
> ur development more. Certification without knowledge doesn't help.
>
> @ preetham I was working on few flex projects as a consultant for few
> months.
>
> LiveDocs in Flex , AIR and LCDS would be the better resource.
>
> Just give importance to each and every small things.
>
> All the best.
>
> Thanks
> Durairaj
>
> On 18 Aug, 06:45, Preetham Hegde  wrote:
>
> > Congrats Durairaj,
>
> > Share your experience with us.. tips for one who are planning to have
> > certification.
> > How much day preparation u did?
> > Which book( or site) did u use?
>
> > There should be many things like these, pls share with us.
>
> > On Tue, Aug 18, 2009 at 9:40 AM, karthik k  wrote:
> > > Hi
>
> > > Congrats
>
> > > How you got the guidance took any course or
>
> > > Can you share the syllabus plz
>
> > > --
> > > Karthik.k
> > > Mobile - +91-9894991640
>
> > > On Tue, Aug 18, 2009 at 9:30 AM, Ravi Mishra 
> > > wrote:
>
> > >> Congratulations Dude!
>
> > >> -Ravi
>
> > >> On Aug 18, 8:01 am, satishas  wrote:
> > >> > Hi Durairaj,
>
> > >> >      Congrats man, Wish you all the very best.
>
> > >> > Regards,
> > >> > Satish.
> > >> > ---
> > >>http://satish-as.blogspot.com/http://www.linkedin.com/in/satishas
> > >> > ---
>
> > >> > On Aug 17, 9:19 pm, Durairaj  wrote:
>
> > >> > > Hi Guys,
>
> > >> > > Its pleasure to share with you all, that last week i have certified 
> > >> > > as
> > >> > > a ACE in Flex with AIR.
>
> > >> > > Thanks
> > >> > > Durairaj
>
> > --
> > Regards,
> > Preetham Hegde
>
> > ___
> > If you only have a hammer, you tend to see every problem as a nail.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:24558] Re: Adobe Certified Professional - Flex with AIR

2009-08-18 Thread Durairaj

@ Karthick- You can concentrate on the syllabus given in the ACE
guide. But i feel its better to learn fully as it would be useful in
ur development more. Certification without knowledge doesn't help.

@ preetham I was working on few flex projects as a consultant for few
months.

LiveDocs in Flex , AIR and LCDS would be the better resource.

Just give importance to each and every small things.

All the best.

Thanks
Durairaj

On 18 Aug, 06:45, Preetham Hegde  wrote:
> Congrats Durairaj,
>
> Share your experience with us.. tips for one who are planning to have
> certification.
> How much day preparation u did?
> Which book( or site) did u use?
>
> There should be many things like these, pls share with us.
>
>
>
> On Tue, Aug 18, 2009 at 9:40 AM, karthik k  wrote:
> > Hi
>
> > Congrats
>
> > How you got the guidance took any course or
>
> > Can you share the syllabus plz
>
> > --
> > Karthik.k
> > Mobile - +91-9894991640
>
> > On Tue, Aug 18, 2009 at 9:30 AM, Ravi Mishra wrote:
>
> >> Congratulations Dude!
>
> >> -Ravi
>
> >> On Aug 18, 8:01 am, satishas  wrote:
> >> > Hi Durairaj,
>
> >> >      Congrats man, Wish you all the very best.
>
> >> > Regards,
> >> > Satish.
> >> > ---
> >>http://satish-as.blogspot.com/http://www.linkedin.com/in/satishas
> >> > ---
>
> >> > On Aug 17, 9:19 pm, Durairaj  wrote:
>
> >> > > Hi Guys,
>
> >> > > Its pleasure to share with you all, that last week i have certified as
> >> > > a ACE in Flex with AIR.
>
> >> > > Thanks
> >> > > Durairaj
>
> --
> Regards,
> Preetham Hegde
>
> ___
> If you only have a hammer, you tend to see every problem as a nail.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:24557] Re: How to write the server side code for receiving image byte array?

2009-08-18 Thread HISSAM
U r taking the file stream :(

rather use the Bitmap class and assign its data to the array(bytearray) and
then save it to disk.
It should work.

2009/8/18 kumar 

>
> Hi,
>
> Using VB ??, i dont know, i did it using some PHP code it worked
> beautifully.Let me know if you need code in PHP.
>
> regards,
> kumar.
>
> On Aug 17, 7:32 pm, LDaneil  wrote:
> > hi,Ranji, thanks a lot for your reply.
> >
> > your way seems working, but still have some problems on save the image
> > received to a folder of disk. The image I saved is not a valid image.
> > can you help me to check it again. Thank you in advance.
> >
> > this is my code :
> >
> > Dim binaryData() As Byte =
> > System.Web.HttpContext.Current.Request.BinaryRead
> > (System.Web.HttpContext.Current.Request.TotalBytes)
> > System.Web.HttpContext.Current.Response.ContentType =
> > "applicaiton/image"
> > System.Web.HttpContext.Current.Response.AddHeader("Content-
> > Length(", binaryData.Length.ToString())
> > Dim path As String = "c:\temp\Test.jpg"
> >
> > ' Delete the file if it exists.
> > If File.Exists(path) Then
> > File.Delete(path)
> > End If
> > 'Create the file.
> > Dim fs As FileStream = File.Create(path)
> > For i As Integer = 0 To binaryData.Length - 1
> > fs.WriteByte(binaryData(i))
> > Next i
> >
> > fs.Close()
> >
> > System.Web.HttpContext.Current.Response.End()
> >
> > On Aug 13, 2:02 am, Ranjit  wrote:
> >
> >
> >
> > > Hi,
> >
> > > some thing like this will solve ur problem
> >
> > > byte[] data = System.Web.HttpContext.Current.Request.BinaryRead
> > > (System.Web.HttpContext.Current.Request.TotalBytes);
> >
> > > System.Web.HttpContext.Current.Response.ContentType =
> > > "application/image";
> > > System.Web.HttpContext.Current.Response.AddHeader("Content-
> > > Length", data.Length.ToString());
> > > System.Web.HttpContext.Current.Response.AddHeader("Content-
> > > disposition", method + "; filename=" + name);
> > > System.Web.HttpContext.Current.Response.BinaryWrite(data);
> > > System.Web.HttpContext.Current.Response.End();
> >
> > > Regards,
> > > Ranjit sail
> >
> > > On Jul 30, 6:21 am, LDaneil  wrote:
> >
> > > > Hi,all. I want to send aimagetoserverside using HTTPService,  I am
> > > > using ASP.NET forserverside coding. I don't know how to writeserver
> > > > side code to receive theimagesent as a byteArray, and I am also not
> > > > sure if my client side code is correct or not。is there any IT PRO who
> > > > could help me ? Thanks in advance.
> >
> > > > client side code:
> >
> > > > private function browseImageClicked():void
> > > >  {
> > > >  var f:FileFilter = new FileFilter("PNG","*.png");
> > > > fileReference.browse([f]);
> > > > fileReference.addEventListener(Event.SELECT,onFileSelect);
> > > > fileReference.addEventListener(Event.COMPLETE,onFileComplete);
> > > >  }
> > > >  private function onFileSelect(event:Event):void
> > > >  {
> > > > fileReference.load();
> > > >  }
> > > >  private function onFileComplete(event:Event):void
> > > >  {
> > > >  var byArray:ByteArray = fileReference.data;
> > > > varimage:Image= newImage();
> > > >image.source=byArray;
> > > > var bmpData:BitmapData;
> > > > bmpData = new BitmapData(48, 48, true, 0x00ff);
> > > >  bmpData.draw(image);
> >
> > > > var imageData:ByteArray = sdf.encode(bmpData);
> > > > var encoder : Base64Encoder = new Base64Encoder();
> > > > encoder.encodeBytes(imageData);
> > > > var params:Object = { image_data: encoder.flush() };
> > > >  imageSend.send(params);
> >
> > > >  }- Hide quoted text -
> >
> > > - Show quoted text -- Hide quoted text -
> >
> > - Show quoted text -
> >
>


-- 

Hissam,
Flex Developer,
Vantage Labs,
Singapore-088806
(M)+65 90852194
---
Sent from Singapore

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:24556] Re: How to write the server side code for receiving image byte array?

2009-08-18 Thread kumar

Hi,

Using VB ??, i dont know, i did it using some PHP code it worked
beautifully.Let me know if you need code in PHP.

regards,
kumar.

On Aug 17, 7:32 pm, LDaneil  wrote:
> hi,Ranji, thanks a lot for your reply.
>
> your way seems working, but still have some problems on save the image
> received to a folder of disk. The image I saved is not a valid image.
> can you help me to check it again. Thank you in advance.
>
> this is my code :
>
> Dim binaryData() As Byte =
> System.Web.HttpContext.Current.Request.BinaryRead
> (System.Web.HttpContext.Current.Request.TotalBytes)
>         System.Web.HttpContext.Current.Response.ContentType =
> "applicaiton/image"
>         System.Web.HttpContext.Current.Response.AddHeader("Content-
> Length(", binaryData.Length.ToString())
>         Dim path As String = "c:\temp\Test.jpg"
>
>         ' Delete the file if it exists.
>         If File.Exists(path) Then
>             File.Delete(path)
>         End If
>         'Create the file.
>         Dim fs As FileStream = File.Create(path)
>         For i As Integer = 0 To binaryData.Length - 1
>             fs.WriteByte(binaryData(i))
>         Next i
>
>         fs.Close()
>
>         System.Web.HttpContext.Current.Response.End()
>
> On Aug 13, 2:02 am, Ranjit  wrote:
>
>
>
> > Hi,
>
> > some thing like this will solve ur problem
>
> > byte[] data = System.Web.HttpContext.Current.Request.BinaryRead
> > (System.Web.HttpContext.Current.Request.TotalBytes);
>
> >             System.Web.HttpContext.Current.Response.ContentType =
> > "application/image";
> >             System.Web.HttpContext.Current.Response.AddHeader("Content-
> > Length", data.Length.ToString());
> >             System.Web.HttpContext.Current.Response.AddHeader("Content-
> > disposition", method + "; filename=" + name);
> >             System.Web.HttpContext.Current.Response.BinaryWrite(data);
> >             System.Web.HttpContext.Current.Response.End();
>
> > Regards,
> > Ranjit sail
>
> > On Jul 30, 6:21 am, LDaneil  wrote:
>
> > > Hi,all. I want to send aimagetoserverside using HTTPService,  I am
> > > using ASP.NET forserverside coding. I don't know how to writeserver
> > > side code to receive theimagesent as a byteArray, and I am also not
> > > sure if my client side code is correct or not。is there any IT PRO who
> > > could help me ? Thanks in advance.
>
> > > client side code:
>
> > > private function browseImageClicked():void
> > >  {
> > >  var f:FileFilter = new FileFilter("PNG","*.png");
> > > fileReference.browse([f]);
> > > fileReference.addEventListener(Event.SELECT,onFileSelect);
> > > fileReference.addEventListener(Event.COMPLETE,onFileComplete);
> > >  }
> > >  private function onFileSelect(event:Event):void
> > >  {
> > >         fileReference.load();
> > >  }
> > >  private function onFileComplete(event:Event):void
> > >  {
> > >  var byArray:ByteArray = fileReference.data;
> > > varimage:Image= newImage();
> > >image.source=byArray;
> > > var bmpData:BitmapData;
> > > bmpData = new BitmapData(48, 48, true, 0x00ff);
> > >  bmpData.draw(image);
>
> > > var imageData:ByteArray = sdf.encode(bmpData);
> > > var encoder : Base64Encoder = new Base64Encoder();
> > > encoder.encodeBytes(imageData);
> > > var params:Object = { image_data: encoder.flush() };
> > >  imageSend.send(params);
>
> > >  }- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---