[flexcoders] Challenge in Migrating to HTML5 from FLEX.

2012-01-13 Thread Venkat M
Hi Team,
 
I have a question on migration from FLEX to HTML5. This
question may be little out of the discussion in here; It would be great if 
someone
help me out.
 
I have a java server side application. It had a class that
exposed a bundle of routines that are needed for the flex front end to drive
the backend. I connect this class using with blazeds and get access to all the
routines within and able to work just fine. It worked like a charm and everyone
was happy till date.
 
Now, I have a parallel requirement to build a HTML5 equivalent
front end that does the same. I am asked to provide a estimate and possible 
frameworks
that can be used with ease. Can someone put down any views if they have.
Thanks.
 
Scenario.  Java back end remains the same – Build an
interactive HTML5 webpage just looking similar to my current flash version  - 
there is a submit_button() java routine
which I have to call when a button on HTML page is clicked – Web server used is
Jetty – Please Comment! 
 
Thanks!!
 
Cheers,
Venkat. 

Re: [flexcoders] Timed Progress bar for 2 minutes.

2012-01-10 Thread Venkat M
My application will try to connect to a java framework, which in turn calls 
some scripts to execute on a server.
If it is a firmware update script that is called, it will typically wait for 
2-3 minutes before the update on the server is complete. So I have to keep user 
understand that process is going on (or else, they may think the system is 
hanged or not responding with 2 minutes of spinning), to provide 
some understandably, I am thinking of static pooling a progress bar for 2-3 
(standard time which we know) minutes that looks more user friendly. What say?
 
Cheers,
Venkat. 
 
 




 From: Paul Andrews p...@ipauland.com
To: flexcoders@yahoogroups.com 
Sent: Tuesday, January 10, 2012 4:13 AM
Subject: Re: [flexcoders] Timed Progress bar for 2 minutes.
 

  
On 10/01/2012 09:17, claudiu ursica wrote: 
Are you sure it is exactly 2 minutes?
DO you really need to show progress? A spinning animation might suit you 
better, keep it spinning until the load is done.
It would just look like the application had hung.

As Rick suggested, two minutes is a very long time. What is it that
takes two minutes to be ready?

If it's a database query, I'd suggest sorting out the server,
because two minutes is a ridiculous amount of time to be waiting for
a result.

It really looks like your application has a fundamental problem.

Paul



C




 From: Venkat M venkat_...@yahoo.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com 
Sent: Tuesday, January 10, 2012 2:09 AM
Subject: [flexcoders] Timed Progress bar for 2 minutes.
 

  
Hi,
 
I have a scenario in my application.
 
I know that the wait time for the response is 2 minutes. 
Can someone let me know how we can run a progress bar for 2 minutes loading 
from 0% to 100% in the same 2 minutes?
 
Or
  
 
Is there a better way to indicate the wait for 2 minutes? (This is a fixed 
wait time)
 
Cheers,
Venkat.  
 
 


 



[flexcoders] Timed Progress bar for 2 minutes.

2012-01-09 Thread Venkat M
Hi,
 
I have a scenario in my application.
 
I know that the wait time for the response is 2 minutes. 
Can someone let me know how we can run a progress bar for 2
minutes loading from 0% to 100% in the same 2 minutes?
 
Or
  
 
Is there a better way to indicate the wait for 2 minutes?
(This is a fixed wait time)
 
Cheers,
Venkat. 

Re: [flexcoders] E-Mail from flex.

2011-12-14 Thread Venkat M
Super Thanks!
 
Cheers,
Venkat. 
 
 




 From: Dave Glasser dglas...@pobox.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com 
Sent: Wednesday, December 14, 2011 8:29 AM
Subject: Re: [flexcoders] E-Mail from flex.
 

  
If you're only sending mail, it's fairly simple with the Javamail API:


http://www.oracle.com/technetwork/java/javamail/index.html


Your flex app would send the parts of the email message to the server and the 
server would construct the message and send it using the Javamail API, and 
smtp or smtps.


Only if you're going to be reading mail in your flex app would you have to 
worry about POP3 or IMAP.





 From: Venkat M venkat_...@yahoo.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com 
Sent: Tuesday, December 13, 2011 6:30 PM
Subject: [flexcoders] E-Mail from flex.
 




Hi All,
 
I have an application that is developed on Flex and JAVA on the backend. I
need to provide a new email form the flex end. 
I will create a field for to email id/ subject/ body in flex and will pass
it to java backend. Can some help what has to be done at java end?
What email type can be used? Is a valid email/password enough? I was also
asked to evaluate SMTP/POP3/IMAP options also. Can you help?
 
Thanks!
 
Cheers,
Venkat. 
 
 




 



[flexcoders] E-Mail from flex.

2011-12-13 Thread Venkat M
Hi All,
 
I have an application that is developed on Flex and JAVA on the backend. I
need to provide a new email form the flex end. 
I will create a field for to email id/ subject/ body in flex and will pass
it to java backend. Can some help what has to be done at java end?
What email type can be used? Is a valid email/password enough? I was also
asked to evaluate SMTP/POP3/IMAP options also. Can you help?
 
Thanks!
 
Cheers,
Venkat. 

[flexcoders] Flex to HTML5 Conversion tool?

2011-11-30 Thread Venkat M
Hi Group,
 
I have a quick question.
I have a web application that was developed using 100% flex (AS included).
Now to be on the safe side we want to evaluate the options of converting
the same on to HTML5. 
 
Do any one know of any tools that can help in the process of converting
from flex (developed) to html5 version?
Your help will be greatly appreciated.
 
Cheers,
Venkat. 

[flexcoders] Calling flex from JavaScript wrapper

2011-11-08 Thread Venkat M
Hi Team,
 
I have a question
about calling a flex method from JS.
The
scenario is, if the user closes the window without logging off,  I detect the 
window close from JS and call the appropriate logoff mechanism which is mapped 
originally for log out button.

JS code
 
SCRIPT LANGUAGE=JavaScript
 
window.onbeforeunload = clean_up;
 
function clean_up()
{
var flex = document.${application} || window.${application};
flex.myFlexFunction();
}
 
And in the
Flex application I code – 
 
import flash.external.ExternalInterface;
ExternalInterface.addCallback(myFlexFunction,cleanUp);
 
public function cleanUp():void{
//do the dirty work

.
 
This codes
are taken from http://board.flashkit.com/board/showthread.php?t=748226 

But I find
no action being detected. My html wrapper for the application has no visual
elements. The whole functioning of the application is entirely in flex. The
HTML is just a wrapper for it.
 
Its not
working for me. Any views?
 
Cheers,
Venkat. 

Re: [flexcoders] Mapping/Image in Flex

2011-11-07 Thread Venkat M
Thank you.

What if it is not a map?. Say for example I have a car image, when I hover over 
the tires, I should get the info about tires similarly all the parts. then 
how do I do with mapping?

Any help would be greatly appreciated. Thanks!
 
Cheers,
Venkat. 
 
 




From: sony antony pow_like_me...@yahoo.co.in
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Sent: Friday, November 4, 2011 11:30 PM
Subject: Re: [flexcoders] Mapping/Image in Flex


  
Try ammap examples




From: Venkat M venkat_...@yahoo.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Sent: Saturday, 5 November 2011 2:13 AM
Subject: [flexcoders] Mapping/Image in Flex


  
Hi Group,
 
I have a
basic question in flex regarding the mapping of an image.
 
Ex: I have
a world map, depending on the click on the map, the corresponding information
of the county has to be populated in the adjacent information box. I know this
could be done quite easily in html with [map – coordinates], but I doubt how to
do it in flex. 
 
Any ideas.
Please help. Thanks.
 
Cheers,
Venkat. 
 
 


 



[flexcoders] Mapping/Image in Flex

2011-11-04 Thread Venkat M
Hi Group,
 
I have a
basic question in flex regarding the mapping of an image.
 
Ex: I have
a world map, depending on the click on the map, the corresponding information
of the county has to be populated in the adjacent information box. I know this
could be done quite easily in html with [map – coordinates], but I doubt how to
do it in flex. 
 
Any ideas.
Please help. Thanks.
 
Cheers,
Venkat. 

[flexcoders] Bar Graph basic doubt!

2011-10-07 Thread Venkat M
  
Hi Group,
 
I have a basic doubt on bar graphs in flex.
For a bar graph I bind the data provider with an array collection. This array 
collection will be populated dynamically with the values 0,1 or 2.
 
So the bar graph is showing fine, but the interval lines are at 0, 
0.2,0.4,0.6,0.8,1,1.2,1.4,1.6,1.8,2 meaning: at intervals of .2.
I want it to be only integers, meaning: 0,1,2 that’s it. How do I do it?
 
Please help.
 
Thanks
 
Best Regards,
Venkat. 

Re: [flexcoders] Module Structuring

2011-09-05 Thread Venkat M
You can actually use the module unload and load of the module loader class on a 
single event.
In the vent handler of the click you just figure out the child element of the 
module loader class and if it is not null just unload it and continue to load 
the module of choice in the newt line in the same function. It works!

Skinning with modules: You are having the whole of skinning within the module 
compiled swf, so I believe on on unload everything is reset. basically it don't 
exist from a VM stand point of view.
 
Best Regards,
Venkat Maddali. 
 
 




From: Matrix sudhanshu@gmail.com
To: flexcoders@yahoogroups.com
Sent: Monday, September 5, 2011 12:33 AM
Subject: [flexcoders] Module Structuring


  
i'm working on a small project.
i have three modules and i'm loading and unloading them in my mail application.
in one module i've to load and unload other two modules also.
how can i load and unload module by one button click event.

also i want to know how to hide the skinning effects of other modules while 
they are loaded into one module.


 



Re: [flexcoders] Array to XML?

2011-08-31 Thread Venkat M
Hi,
 
My situation is I have a heavy array, named source.
 
Source has elements in the order [CA,12,25,35,40,
WA,23,43,54,65,
FL,26,46,14,69,
TX,03,83,55,15,
IL,21,49,84,95]
 
So basically the source array elements are in the order of: A state name then 
four properties and then again a state name and four properties and so on.
I can’t hard code anything other than first one is a state name and will have 4 
properties. The values in properties are dynamic.
I want to display this in the form of a tree in flex. Can I do it. If so, 
please help. Thanks.


Best Regards,
Venkat Maddali. 

 

From: Tandon, Rishi rishitandon...@yahoo.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Sent: Tuesday, August 30, 2011 11:40 PM
Subject: Re: [flexcoders] Array to XML?

  
This might help:


/**
* Object To XML Conversion Mechanism For Structure
* @param xmlData
* @return 
 * @author rtandon 
 */
private static function makeXML(data:Object,rootNodeName:String):XML{
data = ObjectUtil.copy(data);
var xmlData:XML = new XML();
var dataNode:XML;
xmlData = {rootNodeName}/{rootNodeName};
for (var prop:* in data){
dataNode = new XML();
if(data[prop] is String || data[prop] is int || data[prop] is Number 
|| data[prop] is Boolean){
dataNode = {prop}{data[prop]}/{prop};
xmlData = xmlData.appendChild(dataNode);
}else if(data[prop] is Array || data[prop] is ArrayCollection){
xmlData = xmlData.appendChild(makeXMLCollection(data[prop],prop));
}else{
xmlData = xmlData.appendChild(makeXML(data[prop],prop));
}
}
return xmlData;
}
/**
* Object To XML Conversion Mechanism For Table 
* @param data
* @param rootNodeName
* @return 
* @author rtandon
*/
private static function makeXMLCollection(data:Object,rootNodeName:String):XML{
data = ObjectUtil.copy(data);
var xmlData:XML = new XML();
var itemNode:XML;
xmlData = {rootNodeName}/{rootNodeName};
for( var i:int;idata.length;i++){
xmlData = xmlData.appendChild(makeXMLCollectionItem(data[i]));
}
return xmlData;
}
private static function makeXMLCollectionItem(data:Object):XML{
data = ObjectUtil.copy(data);
var xmlData:XML = new XML();
var dataNode:XML;
xmlData = item/item;
for (var prop:* in data){
dataNode = new XML();
if(data[prop] is String || data[prop] is int || data[prop] is Number 
|| data[prop] is Boolean){
dataNode = {prop}{data[prop]}/{prop};
xmlData = xmlData.appendChild(dataNode);
}else if(data[prop] is Array || data[prop] is ArrayCollection){
xmlData = xmlData.appendChild(makeXMLCollection(data[prop],prop));
}else{
xmlData = xmlData.appendChild(makeXML(data[prop],prop));
}
}
return xmlData;
}
From: Venkat M venkat_...@yahoo.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Sent: Wednesday, August 31, 2011 5:59 AM
Subject: [flexcoders] Array to XML?

  
  
Hi group,
 
Can some one please help me in converting an array into an xml file or a 
similar hierarchical data structure to be used for a tree component! 
 
Imagine a case I have an array A with values A1,A2,A3,A4,   B1,B2,B3,B4, ….. 
Z1,Z2,Z3,Z4.
Can I have an XML like 
A
    A1/A1
    ..
    ..
/A
. . . . 
. . . . 
Z
    Z1/Z1
    ..
    ..
/Z
 
So that I can directly link it to a tree component? Kindly help out!!
 
Best Regards,
Venkat Maddali. 

 


Re: [flexcoders] Re: Basic Doubt - Flex Module

2011-08-30 Thread Venkat M
Looks like I will have to have an interface that should be implemented by my 
all individual modules! 
I will give it a try!.

Also I read an article just now to create modules is to make app modular, if we 
link the modules data to and fro it creates tight coupling and to avoid it we 
have to use interface.
 
Best Regards,
Venkat Maddali. 
 
 




From: valdhor valdhorli...@embarqmail.com
To: flexcoders@yahoogroups.com
Sent: Tuesday, August 30, 2011 5:37 AM
Subject: [flexcoders] Re: Basic Doubt - Flex Module


  
Just to be different, I would use an interface between the Application and all 
the modules.

--- In flexcoders@yahoogroups.com, Alex Harui aharui@... wrote:

 I would have the button listen for events from the module.
 
 
 On 8/29/11 4:12 PM, Venkat M venkat_yum@... wrote:
 
 
 
 
 
 
 
 Hi Group,
 
 I have a basic question on modules and module loader in flex. Can some on 
 help out please?
 
 I have a main application that loads up any one of the available 4 (A,B,C,D) 
 modules from a dropdown. The module loader in the main application is binded 
 to the combobox of choice and the particular module loads up.For example if 
 user selects A from combobox, module A.swf loads up. When the user changes 
 the option to B in dropdown, the module loader unloads module A and loads 
 Module B. This is the scenario.
 
 How can I control a logout button (activate/deactivate) in main application 
 with the value of flag variable provided in all the modules.
 
 All the modules has a flag variable in them, when some action is being 
 performed within the module the flag is set to 1, other wise 0; So my button 
 on main application should be active only when the flag in the currently 
 loaded module is 0. How do I deal with this.
 
 Thanks in advance!!
 
 Best Regards,
 Venkat Maddali.
 
 
 
 
 
 
 
 --
 Alex Harui
 Flex SDK Team
 Adobe System, Inc.
 http://blogs.adobe.com/aharui



 



[flexcoders] Array to XML?

2011-08-30 Thread Venkat M
  
Hi group,
 
Can some one please help me in converting an array into an xml file or a 
similar hierarchical data structure to be used for a tree component! 
 
Imagine a case I have an array A with values A1,A2,A3,A4,   B1,B2,B3,B4, ….. 
Z1,Z2,Z3,Z4.
Can I have an XML like 
A
    A1/A1
    ..
    ..
/A
. . . . 
. . . . 
Z
    Z1/Z1
    ..
    ..
/Z
 
So that I can directly link it to a tree component? Kindly help out!!
 
Best Regards,
Venkat Maddali. 

[flexcoders] Basic Doubt - Flex Module

2011-08-29 Thread Venkat M
  
Hi Group,
 
I have a basic question on modules and module loader in flex. Can some on help 
out please?
 
I have a main application that loads up any one of the available 4 (A,B,C,D) 
modules from a dropdown. The module loader in the main application is binded to 
the combobox of choice and the particular module loads up.For example if user 
selects A from combobox, module A.swf loads up. When the user changes the 
option to B in dropdown, the module loader unloads module A and loads Module B. 
This is the scenario.
 
How can I control a logout button (activate/deactivate) in main application 
with the value of flag variable provided in all the modules.
 
All the modules has a flag variable in them, when some action is being 
performed within the module the flag is set to 1, other wise 0; So my button on 
main application should be active only when the flag in the currently loaded 
module is 0. How do I deal with this.
 
Thanks in advance!!
 
Best Regards,
Venkat Maddali. 

Re: [flexcoders] Adding up ArrayCollections to DataGrid

2011-08-26 Thread Venkat M
Hi Bill,
 
No we use java thru BlazeDS.

Best Regards,
Venkat Maddali. 

 

From: Bill Brutzman bill.brutz...@scottynow.com
To: flexcoders@yahoogroups.com
Sent: Friday, August 26, 2011 6:41 AM
Subject: Re: [flexcoders] Adding up ArrayCollections to DataGrid

  
Venkat:
 
The middleware matters.  Is ColdFusion in use there?
 
--Bill
 
From:flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf 
Of Venkat M
Sent: Thursday, August 25, 2011 8:31 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Adding up Arraycollections to Datagrid!
 
  
Hi Bill,
 
I understood that make array collection A as an array ( I will just use to 
array(), and it will be done).
Similarly I will do for array collection B.
 
But how to add them in a pair order in to array collection C. Please Assist!
 
Would be great if u have an example or a pseudo snippet!! Thanks!!
 
 
Best Regards,
Venkat Maddali. 
 
 
 
From:Bill Brutzman bill.brutz...@scottynow.com
To: flexcoders@yahoogroups.com
Sent: Thursday, August 25, 2011 5:27 PM
Subject: RE: [flexcoders] Adding up Arraycollections to Datagrid!
  
Venkat:
 
Yes… of course this can be done.  The next question is how… and what is the 
best way to do it.
 
From another point of view… “A” could be thought of as an array… an object 
different from an Array Collection.
 
Likewise, “B” could be thought of as another array.
 
“C” then would be an Array Collection.
 
The best treatment of this subject that I have seen can be found in the 
recent book… “Effortless Flex 4 Development” by the outstanding author Larry 
Ullman.
 
Although the book is based on PHP, as a ColdFusion guy, I have found the book 
to be very helpful.
 
I have something like this in ColdFusion… two CFCs… a method CFC and a data 
structure CFC… that talk to each other and a Flex app… that have the added 
benefit of working ok with the Flex Data/Services wizard.
 
Regards,
 
--Bill
 
From:flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf 
Of Venkat M
Sent: Thursday, August 25, 2011 6:12 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Adding up Arraycollections to Datagrid!
 
  
Hi Group,
 
I have a basic question on arraycollections. Please assist.
 
I have an array collection A populated with values {1,2,3,4,5,6,7,8,9,10}
Also I have an arraycollection B populated with values 
{one,two,three,four,five,six,seven,eight,nine,ten}
 
Given this data, How do I present this in a datagrid? Can I map at a column 
level to an array collection? 
(Or)
Can we make an arraycollection C, that has the values of arraycollection A 
and arraycollection B paired up and then just bind to datagrid. If so, please 
help me how to fabricate arraycollection C.
   (Or)
Any other ideas, please comment.
 
Thanks in advance.
 
Best Regards,
Venkat. 
 
 
 


Re: [flexcoders] Re: Adding up Arraycollections to Datagrid!

2011-08-26 Thread Venkat M
Just one word!  SUPER THANKS!!
 
Am going to implement this today and drive into production. Will update you the 
happenings in couple of days.

Best Regards,
Venkat Maddali. 

 

From: valdhor valdhorli...@embarqmail.com
To: flexcoders@yahoogroups.com
Sent: Friday, August 26, 2011 6:39 AM
Subject: [flexcoders] Re: Adding up Arraycollections to Datagrid!

  
It is trivial to write a function to do what you want...

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical 
creationComplete=onCreationComplete()
    mx:Script
        ![CDATA[
            import mx.collections.ArrayCollection;
            
            private var firstArray:Array = [1,2,3,4,5,6,7,8,9,10];
            private var secondArray:Array = 
[one,two,three,four,five,six,seven,eight,nine,ten];
            private var mergedArray:Array = new Array();

    private function onCreationComplete():void
            {
                if(firstArray.length  0  firstArray.length == 
secondArray.length)
                {
                    for(var i:int = 0 ; i  firstArray.length ; i++)
                    {
                        var tempObject:Object = new Object();
                        tempObject.item1 = firstArray[i];
                        tempObject.item2 = secondArray[i];
                        mergedArray[i] = tempObject;
                    }
                }
                datagrid.dataProvider = new ArrayCollection(mergedArray);
                datagrid.rowCount = datagrid.dataProvider.length;
            }
        ]]
    /mx:Script
    mx:DataGrid id=datagrid/
/mx:Application

--- In flexcoders@yahoogroups.com, Venkat M venkat_yum@... wrote:

 Hi Group, 
  
 I have a basic question on arraycollections. Please assist.
  
 I have an array collection A populated with values {1,2,3,4,5,6,7,8,9,10}
 Also I have an arraycollection B populated with values 
 {one,two,three,four,five,six,seven,eight,nine,ten}
  
 Given this data, How do I present this in a datagrid? Can I map at a column 
 level to an array collection? 
 (Or)
 Can we make an arraycollection C, that has the values of arraycollection A 
 and arraycollection B paired up and then just bind to datagrid. If so, 
 please help me how to fabricate arraycollection C.
    (Or)
 Any other ideas, please comment.
  
 Thanks in advance.
  
 Best Regards,
 Venkat.




[flexcoders] Adding up Arraycollections to Datagrid!

2011-08-25 Thread Venkat M
Hi Group, 
 
I have a basic question on arraycollections. Please assist.
 
I have an array collection A populated with values {1,2,3,4,5,6,7,8,9,10}
Also I have an arraycollection B populated with values 
{one,two,three,four,five,six,seven,eight,nine,ten}
 
Given this data, How do I present this in a datagrid? Can I map at a column 
level to an array collection? 
(Or)
Can we make an arraycollection C, that has the values of arraycollection A and 
arraycollection B paired up and then just bind to datagrid. If so, please help 
me how to fabricate arraycollection C.
   (Or)
Any other ideas, please comment.
 
Thanks in advance.
 
Best Regards,
Venkat. 

Re: [flexcoders] Adding up Arraycollections to Datagrid!

2011-08-25 Thread Venkat M
Hi Alex,

So I understand that bind array collection A to the data grid as data provider. 
and then bind array collection B to the label function of DatagridColoum.

I tried out its not working. Please Assist!
 
Best Regards,
Venkat Maddali. 
 
 




From: Alex Harui aha...@adobe.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Sent: Thursday, August 25, 2011 4:50 PM
Subject: Re: [flexcoders] Adding up Arraycollections to Datagrid!


  
You can just use A and use a second column with a label function that 
references B


On 8/25/11 3:11 PM, Venkat M venkat_...@yahoo.com wrote:



 
 
   

Hi Group,

I have a basic question on arraycollections. Please assist.
 
I have an array collection A populated with values {1,2,3,4,5,6,7,8,9,10}
Also I have an arraycollection B populated with values 
{one,two,three,four,five,six,seven,eight,nine,ten}
 
Given this data, How do I present this in a datagrid? Can I map at a column 
level to an array collection? 
(Or)
Can we make an arraycollection C, that has the values of arraycollection A 
and arraycollection B paired up and then just bind to datagrid. If so, please 
help me how to fabricate arraycollection C.
   (Or)
Any other ideas, please comment.
 
Thanks in advance.

Best Regards,
Venkat.



   



-- 
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui
 
 



Re: [flexcoders] Adding up Arraycollections to Datagrid!

2011-08-25 Thread Venkat M
Hi Bill,

I understood that make array collection A as an array ( I will just use to 
array(), and it will be done).
Similarly I will do for array collection B.

But how to add them in a pair order in to array collection C. Please Assist!

Would be great if u have an example or a pseudo snippet!! Thanks!!
 
 
Best Regards,
Venkat Maddali. 
 
 




From: Bill Brutzman bill.brutz...@scottynow.com
To: flexcoders@yahoogroups.com
Sent: Thursday, August 25, 2011 5:27 PM
Subject: RE: [flexcoders] Adding up Arraycollections to Datagrid!


  
Venkat:
 
Yes… of course this can be done.  The next question is how… and what is the 
best way to do it.
 
From another point of view… “A” could be thought of as an array… an object 
different from an Array Collection.
 
Likewise, “B” could be thought of as another array.
 
“C” then would be an Array Collection.
 
The best treatment of this subject that I have seen can be found in the recent 
book… “Effortless Flex 4 Development” by the outstanding author Larry Ullman.
 
Although the book is based on PHP, as a ColdFusion guy, I have found the book 
to be very helpful.
 
I have something like this in ColdFusion… two CFCs… a method CFC and a data 
structure CFC… that talk to each other and a Flex app… that have the added 
benefit of working ok with the Flex Data/Services wizard.
 
Regards,
 
--Bill
 
From:flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf 
Of Venkat M
Sent: Thursday, August 25, 2011 6:12 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Adding up Arraycollections to Datagrid!
 
  
Hi Group,
 
I have a basic question on arraycollections. Please assist.
 
I have an array collection A populated with values {1,2,3,4,5,6,7,8,9,10}
Also I have an arraycollection B populated with values 
{one,two,three,four,five,six,seven,eight,nine,ten}
 
Given this data, How do I present this in a datagrid? Can I map at a column 
level to an array collection? 
(Or)
Can we make an arraycollection C, that has the values of arraycollection A and 
arraycollection B paired up and then just bind to datagrid. If so, please help 
me how to fabricate arraycollection C.
   (Or)
Any other ideas, please comment.
 
Thanks in advance.
 
Best Regards,
Venkat. 
 
 
 



[flexcoders] BlazeDS having localhost:8080 hardcoded somewhere?

2011-08-23 Thread Venkat M
Hi,

I am a newbie working with BlazeDS. We developed an application that uses java 
backend and BlazeDs to connect to it. I tested several times on my machine and 
it is working just fine. But it is to be run at several location on different 
servers and not on a sigle stand alone or a single fixed server. Its basically 
for a sercver admin kinda stuff.

How do I configure blazeDs to work in this sceneriao. Also if I change the 
localhost in the adressbar to fully-qualified servername in the browser to 
access the application, it loads the swf and screen. but the calls fail. Error: 
Send Fail.

I also tried to put the stuff on a Liniux box and run, no luck. Same error. 

Any ideas comments or suggestion. Greatly appreciated. Thanks!!

Regards,
Venkat