Re: [flexcoders] Strange Error on compiling Flex-2 project

2006-02-25 Thread Jignesh Dodiya



makeObjectsBindable property is use with remoteObject or HTTPService or WebService.but there is no any remoteObject in my code


I m simply using following code as AMFPHP-remoting

var gatewayURL:String = http://localhost/jignesh/superStore/gateway.php;var gateway_conn:* = new NetConnectionSub;gateway_conn.objectEncoding = 
ObjectEncoding.AMF0;gateway_conn.connect(gatewayURL); var my_responder:Responder = new Responder(_onResult, _onFault);gateway_conn.call(superStore_php.retriveRecord, my_responder);


how can i place a remoteObject property--makeObjectsBindable here within this code..I have no Idea..

Any other option there

regards,

Jignesh


On 2/24/06, Matt Chotin [EMAIL PROTECTED] wrote:


On your remote object try setting makeObjectsBindable=false. Maybe it's one of our known bugs? Otherwise this doesn't make sense without seeing it in action.






From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Jignesh DodiyaSent: Thursday, February 23, 2006 2:57 AM 
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Strange Error on compiling Flex-2 project




Matt,



Yes, the value my_cb.selectedIndex is a integer value 
and is not -1 , its sure...coz this value gives me the auto increament ID value from themysql database table...and accordingly i store this value to other database, and i get the perfect result. 




Infact thethere is no effect of this runtime error dialog box, either i cleak DismissAll or do click Continue
,my program working perfect ok, justi want is to eliminate the runtime error dialog box, and for that i am not getting the sollution 



thanks,

jignesh



On 2/23/06, Matt Chotin 
[EMAIL PROTECTED] wrote: 

Are you sure that my_cb.selectedIndex is returning a value that is not -1? 





From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Jignesh DodiyaSent: Wednesday, February 22, 2006 1:38 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Strange Error on compiling Flex-2 project



Thanx, for clarifying my fundas regarding runtime Error..



Matt,



I m trying to retrive the data from the mySQL database in Flex through AMFPHP...some part of code is as below...



function onResult(event:Object):void{

var array_id:Array = []; var array_cat_name:Array = []; var a:Array = event.serverInfo.initialData;  var len:int = 
a.length;for(var i:int=0; ilen; i++){ var o:Object = {};  var item:Array = a[i];  
o.id = item[0];  o.cat_name = item[1];array_id.push( o.id);array_cat_name.push( 
o.cat_name); }var ac_id:ArrayCollection = new ArrayCollection(array_id);
bb = ac_id[my_cb.selectedIndex]; 

}



i got that the codes in Bold is creating the runtime error .but i m using the variable bb 
to somewhere else in codes just out of this function



Is there other alternatiove to eliminate runtime error? i can't got the fault ?



regards,



jignesh



On 2/22/06, Matt Chotin 
 [EMAIL PROTECTED] wrote:


What is your onResult function trying to do? This is considered a
 runtime error by the way, not compilation. This error looks like you have an ArrayCollection or XMLListCollection and tried to read a
 property off of it like myCollection[someBadValue].Matt 

-Original Message-From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] OnBehalf Of Jignesh M. Dodiya 
Sent: Tuesday, February 21, 2006 3:32 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Strange Error on compiling Flex-2 project
Hi,when I am compiling the codes in mxml,i found the Error as below..ActionScript Error has occured::Error: Unknown property -1 at mx.collections::ListCollectionView/
 http://www.macromedia.com/2005/actionscript/flash/proxy::getProperty() at states/states::onResult() 
Strange thing is that when I click on button like CONTINUE...the swf file works fine and when click on button DISMISS ALL..instead of stopping the functionality of swfit still works fine as 
normal..Confused.Is anybody has idea of how to eliminate that error,regards,Jignesh--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links


--
 Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.com 

SPONSORED LINKS
 





Web site design development 


Computer software development 


Software design and development 



Macromedia flex 


Software development best practice 







YAHOO! GROUPS LINKS
 


Visit your group flexcoders 
 on the web. 
To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the 
Yahoo! Terms of Service. 





-- jignesh dodiya 
--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files

Re: [flexcoders] Strange Error on compiling Flex-2 project

2006-02-23 Thread Jignesh Dodiya



Matt,

Yes, the value my_cb.selectedIndex is a integer value and is not -1 , its sure...coz this value gives me the auto increament ID value from themysql database table...and accordingly i store this value to other database, and i get the perfect result.


Infact thethere is no effect of this runtime error dialog box, either i cleak DismissAll or do click Continue,my program working perfect ok, justi want is to eliminate the runtime error dialog box, and for that i am not getting the sollution


thanks,
jignesh

On 2/23/06, Matt Chotin [EMAIL PROTECTED] wrote:


Are you sure that my_cb.selectedIndex is returning a value that is not -1? 





From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Jignesh DodiyaSent: Wednesday, February 22, 2006 1:38 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Strange Error on compiling Flex-2 project



Thanx, for clarifying my fundas regarding runtime Error..



Matt,



I m trying to retrive the data from the mySQL database in Flex through AMFPHP...some part of code is as below...



function onResult(event:Object):void{

var array_id:Array = []; var array_cat_name:Array = []; var a:Array = event.serverInfo.initialData;  var len:int = 
a.length;for(var i:int=0; ilen; i++){ var o:Object = {};  var item:Array = a[i];  
o.id = item[0];  o.cat_name = item[1];array_id.push( o.id);array_cat_name.push(
o.cat_name); }var ac_id:ArrayCollection = new ArrayCollection(array_id);
bb = ac_id[my_cb.selectedIndex]; 

}



i got that the codes in Bold is creating the runtime error .but i m using the variable bb 
to somewhere else in codes just out of this function



Is there other alternatiove to eliminate runtime error? i can't got the fault ?



regards,



jignesh



On 2/22/06, Matt Chotin 
[EMAIL PROTECTED] wrote:


What is your onResult function trying to do? This is considered a
runtime error by the way, not compilation. This error looks like you have an ArrayCollection or XMLListCollection and tried to read a
property off of it like myCollection[someBadValue].Matt 

-Original Message-From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] OnBehalf Of Jignesh M. Dodiya
Sent: Tuesday, February 21, 2006 3:32 PM To: flexcoders@yahoogroups.com
Subject: [flexcoders] Strange Error on compiling Flex-2 projectHi,when I am compiling the codes in mxml,i found the Error as below..
ActionScript Error has occured::Error: Unknown property -1 at mx.collections::ListCollectionView/ 
http://www.macromedia.com/2005/actionscript/flash/proxy::getProperty() at states/states::onResult() Strange thing is that when I click on button like CONTINUE...the 
swf file works fine and when click on button DISMISS ALL..instead of stopping the functionality of swfit still works fine as normal..Confused.
Is anybody has idea of how to eliminate that error,regards,Jignesh--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com
 
Yahoo! Groups Links


--
Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.com 

SPONSORED LINKS
 





Web site design development 


Computer software development 


Software design and development 



Macromedia flex 


Software development best practice 






YAHOO! GROUPS LINKS
 


Visit your group flexcoders
 on the web. 
To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the 
Yahoo! Terms of Service. 




-- jignesh dodiya --Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
SPONSORED LINKS 




Web site design development 

Computer software development 

Software design and development 


Macromedia flex 

Software development best practice 


YAHOO! GROUPS LINKS 

Visit your group flexcoders on the web. 
To unsubscribe from this group, send an email to:
[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 




-- jignesh dodiya 






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit

RE: [flexcoders] Strange Error on compiling Flex-2 project

2006-02-23 Thread Matt Chotin










On your remote object try setting
makeObjectsBindable=false. Maybe its one of our known bugs? Otherwise this
doesnt make sense without seeing it in action.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jignesh Dodiya
Sent: Thursday, February 23, 2006
2:57 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Strange
Error on compiling Flex-2 project







Matt,











Yes, the value my_cb.selectedIndex
is a integer value and is not -1
, its sure...coz this value gives me the auto increament ID value from
themysql database table...and accordingly i store this value to other
database, and i get the perfect result. 











Infact thethere is no
effect of this runtime error dialog box, either i cleak DismissAll or do
click Continue,my program working perfect ok,
justi want is to eliminate the runtime error dialog box, and for that i
am not getting the sollution 











thanks,





jignesh













On 2/23/06, Matt Chotin [EMAIL PROTECTED] wrote:




Are you sure that my_cb.selectedIndex is returning a value
that is not -1? 











From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Jignesh Dodiya
Sent: Wednesday, February 22, 2006
1:38 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Strange
Error on compiling Flex-2 project









Thanx,
for clarifying my fundas regarding runtime Error..











Matt,











I m
trying to retrive the data from the mySQL database in Flex through
AMFPHP...some part of code is as below...











function
onResult(event:Object):void{





var
array_id:Array = []; 
var array_cat_name:Array = [];

 var a:Array
= event.serverInfo.initialData; 
 var len:int
= a.length;
for(var i:int=0; ilen; i++)
{

var o:Object = {}; 

var item:Array = a[i]; 

o.id = item[0]; 

o.cat_name = item[1];

array_id.push( o.id);
array_cat_name.push( o.cat_name);
 }

var
ac_id:ArrayCollection = new ArrayCollection(array_id);
bb =
ac_id[my_cb.selectedIndex]; 





}











i got
that the codes in Bold is creating the runtime error .but i m using the
variable bb to
somewhere else in codes just out of this function











Is there
other alternatiove to eliminate runtime error? i can't got the fault ?











regards,











jignesh












On 2/22/06, Matt
 Chotin  [EMAIL PROTECTED] wrote:





What is
your onResult function trying to do? This is considered a

runtime error by the way, not compilation.
This error looks like you 
have an ArrayCollection or XMLListCollection and
tried to read a 
property off of it like
myCollection[someBadValue].

Matt 





-Original Message-
From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On
Behalf Of Jignesh M. Dodiya 
Sent: Tuesday, February 21, 2006 3:32 PM 
To: flexcoders@yahoogroups.com

Subject: [flexcoders] Strange Error on compiling Flex-2 project

Hi,
when I am compiling the codes in mxml,
i found the Error as below..

ActionScript Error has occured::

Error: Unknown property -1
 at 
mx.collections::ListCollectionView/ http://www.macromedia.com/2005/actio
nscript/flash/proxy::getProperty()
 at states/states::onResult() 


Strange thing is that when I click on button like CONTINUE...the 
swf file works fine and when click on button DISMISS ALL..instead 
of stopping the functionality of swfit still works fine as 
normal..Confused.

Is anybody has idea of how to eliminate that error,

regards,

Jignesh







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 



Yahoo! Groups Links










--

Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com






SPONSORED LINKS 




 
  
  Web site design development 
  
  
  Computer software development 
  
  
  Software design and development 
  
 
 
  
  Macromedia flex 
  
  
  Software development best practice 
  
  
  
  
 














YAHOO! GROUPS
LINKS 




 Visit your group
 flexcoders
  on the web.
  
 To unsubscribe
 from this group, send an email to:
  [EMAIL PROTECTED]
  
 Your use of
 Yahoo! Groups is subject to the Yahoo! Terms of Service. 





















-- 
jignesh dodiya 


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com







SPONSORED
LINKS 




 
  
  Web site design development 
  
  
  Computer software development 
  
  
  Software design and development 
  
 
 
  
  Macromedia flex 
  
  
  Software development best practice 
  
  
  
  
 










YAHOO!
GROUPS LINKS





 Visit your group
 flexcoders
 on the web.
 
 To unsubscribe

RE: [flexcoders] Strange Error on compiling Flex-2 project

2006-02-22 Thread Matt Chotin










Are you sure that my_cb.selectedIndex is
returning a value that is not -1? 











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Jignesh Dodiya
Sent: Wednesday, February 22, 2006
1:38 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Strange
Error on compiling Flex-2 project







Thanx, for clarifying my fundas regarding runtime Error..











Matt,











I m trying to retrive the data from the mySQL database in Flex through
AMFPHP...some part of code is as below...











function onResult(event:Object):void{





var array_id:Array = []; 
var array_cat_name:Array = [];

 var a:Array
= event.serverInfo.initialData; 
 var len:int
= a.length;
for(var i:int=0; ilen; i++)
{

var o:Object = {}; 

var item:Array = a[i]; 

o.id = item[0]; 

o.cat_name = item[1];

array_id.push( o.id);
array_cat_name.push(o.cat_name);
 }

var
ac_id:ArrayCollection = new ArrayCollection(array_id);
bb =
ac_id[my_cb.selectedIndex]; 





}











i got that the codes in Bold is creating the runtime error .but
i m using the variable bb to
somewhere else in codes just out of this function











Is there other alternatiove to eliminate runtime error? i can't got the
fault ?











regards,











jignesh












On 2/22/06, Matt
Chotin [EMAIL PROTECTED]
wrote:





What is your onResult function trying to do? This is considered a
runtime error by the way, not compilation.
This error looks like you 
have an ArrayCollection or XMLListCollection and
tried to read a
property off of it like
myCollection[someBadValue].

Matt 





-Original Message-
From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On
Behalf Of Jignesh M. Dodiya
Sent: Tuesday, February 21, 2006 3:32 PM 
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Strange Error on compiling Flex-2 project

Hi,
when I am compiling the codes in mxml,
i found the Error as below..

ActionScript Error has occured::

Error: Unknown property -1
 at 
mx.collections::ListCollectionView/ http://www.macromedia.com/2005/actio
nscript/flash/proxy::getProperty()
 at states/states::onResult() 


Strange thing is that when I click on button like
CONTINUE...the 
swf file works fine and when click on button DISMISS
ALL..instead 
of stopping the functionality of swfit still works fine as 
normal..Confused.

Is anybody has idea of how to eliminate that error,

regards,

Jignesh







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 







Yahoo! Groups Links











--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 






SPONSORED
LINKS 




 
  
  Web site design development 
  
  
  Computer software development 
  
  
  Software design and development 
  
 
 
  
  Macromedia flex 
  
  
  Software development best practice 
  
  
  
  
 










YAHOO!
GROUPS LINKS





 Visit your group
 flexcoders
 on the web.
 
 To unsubscribe
 from this group, send an email to:
  [EMAIL PROTECTED]
 
 Your use of
 Yahoo! Groups is subject to the Yahoo! Terms of Service.

















-- 
jignesh dodiya 







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] Strange Error on compiling Flex-2 project

2006-02-21 Thread Matt Chotin
What is your onResult function trying to do?  This is considered a
runtime error by the way, not compilation.  This error looks like you
have an ArrayCollection or XMLListCollection and tried to read a
property off of it like myCollection[someBadValue].

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jignesh M. Dodiya
Sent: Tuesday, February 21, 2006 3:32 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Strange Error on compiling Flex-2 project

Hi,
when I am compiling the codes in mxml,
i found the Error as below..

ActionScript Error has occured::

Error: Unknown property -1
at 
mx.collections::ListCollectionView/http://www.macromedia.com/2005/actio
nscript/flash/proxy::getProperty()
at states/states::onResult()


Strange thing is that when I click on button like CONTINUE...the 
swf file works fine and when click on button DISMISS ALL..instead 
of stopping the functionality of swfit still works fine as 
normal..Confused.

Is anybody has idea of how to eliminate that error,

regards,

Jignesh







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/