Re: [flexcoders] binding error - from Flex?

2005-05-19 Thread Will Sargent
michael keirnan wrote:
 also, if you run mxmlc or compc against your source tree the generated 
 files are placed right in your source tree. (perhaps obvious if one 
 thinks about it, but i did not think about it until it bit me). this can 
 lead to various problems during the typical development process: 
 edit-compile-test-curse-repeat.
 
/mgk
 
 Tom Fitzpatrick wrote:
 
Tracy - thanks. Deleting the generated files did the trick.

- Tom

At 12:19 PM 4/27/2005, you wrote:
  

The generated files I am talking about are under 
..[flex-root]\WEB-INF\flex\generated| folder in the Flex server. There
are several folders with generated names. It is safe to delete them.

If you get the 32k error on one server but not another, that really
sounds like a boundary condition.  Try running the one with the error
using the ?debug=true request parameter.  This causes debug code to get
generated into the app and has, in the past allowed us to continue.

It seems like compc and mxmlc are dependent on one another... but it's not 
clear what order they go in.  And where do regular actionscript classes go in 
this?  Is it possible to use compc to compile actionscript classes or packages 
into an SWC file?  And why the heck is a component manifest needed when it 
doesn't seem to add any extra information?

Will.


 
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/
 




Re: [flexcoders] binding error - from Flex?

2005-05-02 Thread michael keirnan






also, if you run mxmlc or compc against your source tree the generated
files are placed right in your source tree. (perhaps obvious if one
thinks about it, but i did not think about it until it bit me). this
can lead to various problems during the typical development process:
edit-compile-test-curse-repeat.

 /mgk

Tom Fitzpatrick wrote:

  Tracy - thanks. Deleting the generated files did the trick.

- Tom

At 12:19 PM 4/27/2005, you wrote:
  
  
The generated files I am talking about are under "
..[flex-root]\WEB-INF\flex\generated|" folder in the Flex server. There
are several folders with generated names. It is safe to delete them.

If you get the 32k error on one server but not another, that really
sounds like a boundary condition.  Try running the one with the error
using the ?debug=true request parameter.  This causes debug code to get
generated into the app and has, in the past allowed us to continue.

Tracy



-Original Message-
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On
Behalf Of Tom Fitzpatrick
Sent: Wednesday, April 27, 2005 6:26 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] binding error - from Flex?


Tracy - thanks for the suggestion. My problem is that I'm not really
changing anything, just making a copy of the whole app folder, renaming
it,
and trying to compile it again from the new folder - so I don't really
know
where to put the extra code.

I'm ready to try the file deletion suggestion, but need more info. I'm
running Flex locally using Tomcat, so I have generated files in my local

project folder and in my local server folder. Which ones do I delete?
Both?
Do I leave the libs folders alone? And - most important - is there any
danger in doing this or any precautions I should take?

- Tom

At 09:47 PM 4/25/2005, you wrote:


  Ignore the message, add some code, and run the app again.  I have also
hit a situation where this did not work until I had deleted the files
out of the ...web-inf\flex\generated folder, then compiled it again.
But usually, 10-15 more lines of code gets me over the hump.

If you believe you app is as refactored as is reasonable, give this a
try.
  







Yahoo! Groups Links











--
Yahoo! Groups Links
   * To visit your group on the web, go to:
   * 
http://groups.yahoo.com/group/flexcoders/http://groups.yahoo.com/group/flexcoders/ 

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

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

  
  





 
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/
 





  









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 the Yahoo! Terms of Service.














RE: [flexcoders] binding error - from Flex?

2005-04-27 Thread Tom Fitzpatrick

Tracy - thanks for the suggestion. My problem is that I'm not really 
changing anything, just making a copy of the whole app folder, renaming it, 
and trying to compile it again from the new folder - so I don't really know 
where to put the extra code.

I'm ready to try the file deletion suggestion, but need more info. I'm 
running Flex locally using Tomcat, so I have generated files in my local 
project folder and in my local server folder. Which ones do I delete? Both? 
Do I leave the libs folders alone? And - most important - is there any 
danger in doing this or any precautions I should take?

- Tom

At 09:47 PM 4/25/2005, you wrote:
Ignore the message, add some code, and run the app again.  I have also
hit a situation where this did not work until I had deleted the files
out of the ...web-inf\flex\generated folder, then compiled it again.
But usually, 10-15 more lines of code gets me over the hump.

If you believe you app is as refactored as is reasonable, give this a
try.






 
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/
 





RE: [flexcoders] binding error - from Flex?

2005-04-27 Thread Tracy Spratt

The generated files I am talking about are under 
..[flex-root]\WEB-INF\flex\generated| folder in the Flex server. There
are several folders with generated names. It is safe to delete them.

If you get the 32k error on one server but not another, that really
sounds like a boundary condition.  Try running the one with the error
using the ?debug=true request parameter.  This causes debug code to get
generated into the app and has, in the past allowed us to continue.

Tracy



-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Fitzpatrick
Sent: Wednesday, April 27, 2005 6:26 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] binding error - from Flex?


Tracy - thanks for the suggestion. My problem is that I'm not really 
changing anything, just making a copy of the whole app folder, renaming
it, 
and trying to compile it again from the new folder - so I don't really
know 
where to put the extra code.

I'm ready to try the file deletion suggestion, but need more info. I'm 
running Flex locally using Tomcat, so I have generated files in my local

project folder and in my local server folder. Which ones do I delete?
Both? 
Do I leave the libs folders alone? And - most important - is there any 
danger in doing this or any precautions I should take?

- Tom

At 09:47 PM 4/25/2005, you wrote:
Ignore the message, add some code, and run the app again.  I have also
hit a situation where this did not work until I had deleted the files
out of the ...web-inf\flex\generated folder, then compiled it again.
But usually, 10-15 more lines of code gets me over the hump.

If you believe you app is as refactored as is reasonable, give this a
try.






 
Yahoo! Groups Links



 







 
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/
 





RE: [flexcoders] binding error - from Flex?

2005-04-27 Thread Tom Fitzpatrick

Tracy - thanks. Deleting the generated files did the trick.

- Tom

At 12:19 PM 4/27/2005, you wrote:
The generated files I am talking about are under 
..[flex-root]\WEB-INF\flex\generated| folder in the Flex server. There
are several folders with generated names. It is safe to delete them.

If you get the 32k error on one server but not another, that really
sounds like a boundary condition.  Try running the one with the error
using the ?debug=true request parameter.  This causes debug code to get
generated into the app and has, in the past allowed us to continue.

Tracy



-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Fitzpatrick
Sent: Wednesday, April 27, 2005 6:26 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] binding error - from Flex?


Tracy - thanks for the suggestion. My problem is that I'm not really
changing anything, just making a copy of the whole app folder, renaming
it,
and trying to compile it again from the new folder - so I don't really
know
where to put the extra code.

I'm ready to try the file deletion suggestion, but need more info. I'm
running Flex locally using Tomcat, so I have generated files in my local

project folder and in my local server folder. Which ones do I delete?
Both?
Do I leave the libs folders alone? And - most important - is there any
danger in doing this or any precautions I should take?

- Tom

At 09:47 PM 4/25/2005, you wrote:
 Ignore the message, add some code, and run the app again.  I have also
 hit a situation where this did not work until I had deleted the files
 out of the ...web-inf\flex\generated folder, then compiled it again.
 But usually, 10-15 more lines of code gets me over the hump.
 
 If you believe you app is as refactored as is reasonable, give this a
 try.







Yahoo! Groups Links











--
Yahoo! Groups Links
* To visit your group on the web, go to:
* 
 http://groups.yahoo.com/group/flexcoders/http://groups.yahoo.com/group/flexcoders/
  

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

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






 
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/
 





[flexcoders] binding error - from Flex?

2005-04-25 Thread Tom Fitzpatrick

Working on a large application with lots of bindings, I suddenly got an 
error on startup, referring to:

_repeatablebindingSetup

Is this generated by Flex? What should I do?

- Tom






 
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/
 





Re: [flexcoders] binding error - from Flex?

2005-04-25 Thread Tom Fitzpatrick

Here's the full error message:


2 Errors found.

Error generated version of _repeatableBindingSetup:2
Branch between 6938 and 39708 around line 0 exceeds 32K span. If possible, 
please refactor this component.


Error
Branch between 6938 and 39708 around line 0 exceeds 32K span.

Thanks for any help.

- Tom

At 07:51 AM 4/25/2005, you wrote:
Working on a large application with lots of bindings, I suddenly got an
error on startup, referring to:

_repeatablebindingSetup

Is this generated by Flex? What should I do?

- Tom






--
Yahoo! Groups Links
* To visit your group on the web, go to:
* 
 http://groups.yahoo.com/group/flexcoders/http://groups.yahoo.com/group/flexcoders/
  

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

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






 
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/
 





RE: [flexcoders] binding error - from Flex?

2005-04-25 Thread Abdul Qabiz

Ok, in Flash Player, an if conditional or a single frame can not contain
more than 32 KB (or 64K ?) of code. 

Repeater is actually a if-else condition internally, and it seems you have
lots of things inside that.I am sure there would be a way to avoid this,
but what I think you need restructure your code...



if(condition)
{

//code more than 32K, would error
}



I leave it to experts here to share their experience and solutions to this
problem. I don't know a quick solution :)



-abdul
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 25, 2005 10:10 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] binding error - from Flex?


Here's the full error message:


2 Errors found.

Error generated version of _repeatableBindingSetup:2
Branch between 6938 and 39708 around line 0 exceeds 32K span. If possible, 
please refactor this component.


Error
Branch between 6938 and 39708 around line 0 exceeds 32K span.

Thanks for any help.

- Tom

At 07:51 AM 4/25/2005, you wrote:
Working on a large application with lots of bindings, I suddenly got an
error on startup, referring to:

_repeatablebindingSetup

Is this generated by Flex? What should I do?

- Tom






--
Yahoo! Groups Links
* To visit your group on the web, go to:
* 

http://groups.yahoo.com/group/flexcoders/http://groups.yahoo.com/group/fle
xcoders/ 

*
* To unsubscribe from this group, send an email to:
* 

mailto:[EMAIL PROTECTED]flexcoder
[EMAIL PROTECTED] 

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






 
Yahoo! Groups Links



 





 
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/
 





RE: [flexcoders] binding error - from Flex?

2005-04-25 Thread Matt Chotin










Search for 32K in the archives, plenty of
posts and the workaround is usually to see if you can break your MXML files up
more.



Matt











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 25, 2005 10:31
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] binding
error - from Flex?





Ok, in Flash Player, an if conditional or a single frame
can not contain
more than 32 KB (or 64K ?) of code. 

Repeater is actually a if-else
condition internally, and it seems you have
lots of things inside that.I am sure there
would be a way to avoid this,
but what I think you need restructure your code...



if(condition)
{

 //code more than
32K, would error
}



I leave it to experts here to share their
experience and solutions to this
problem. I don't know a quick solution :)



-abdul


-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] 
Sent: Monday, April 25, 2005 10:10 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] binding error - from
Flex?


Here's the full error message:


2 Errors found.

Error generated version of
_repeatableBindingSetup:2
Branch between 6938 and 39708 around line 0
exceeds 32K span. If possible, 
please refactor this component.


Error
Branch between 6938 and 39708 around line 0
exceeds 32K span.

Thanks for any help.

- Tom

At 07:51 AM 4/25/2005, you wrote:
Working on a large application with lots of
bindings, I suddenly got an
error on startup, referring to:

_repeatablebindingSetup

Is this generated by Flex? What should I do?

- Tom






--
Yahoo! Groups Links
 * To visit your group on
the web, go to:
 * 

http://groups.yahoo.com/group/flexcoders/http://groups.yahoo.com/group/fle
xcoders/ 

 *
 * To unsubscribe from this
group, send an email to:
 * 

mailto:[EMAIL PROTECTED]flexcoder
[EMAIL PROTECTED] 

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







Yahoo! Groups Links



















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 the Yahoo! Terms of Service.












RE: [flexcoders] binding error - from Flex?

2005-04-25 Thread Tracy Spratt










And dont forget to try the more
code solution. It just worked again for me the other day.

Tracy











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt Chotin
Sent: Monday, April 25, 2005 2:51
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] binding
error - from Flex?





Search for 32K in the archives, plenty of
posts and the workaround is usually to see if you can break your MXML files up
more.



Matt











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 25, 2005 10:31
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] binding
error - from Flex?





Ok, in Flash Player, an
if conditional or a single frame can not contain
more than 32 KB (or 64K ?) of code. 

Repeater is actually a if-else
condition internally, and it seems you have
lots of things inside that.I am sure there
would be a way to avoid this,
but what I think you need restructure your code...



if(condition)
{

 //code more than
32K, would error
}



I leave it to experts here to share their experience
and solutions to this
problem. I don't know a quick solution :)



-abdul


-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] 
Sent: Monday, April 25, 2005 10:10 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] binding error - from
Flex?


Here's the full error message:


2 Errors found.

Error generated version of
_repeatableBindingSetup:2
Branch between 6938 and 39708 around line 0
exceeds 32K span. If possible, 
please refactor this component.


Error
Branch between 6938 and 39708 around line 0
exceeds 32K span.

Thanks for any help.

- Tom

At 07:51 AM 4/25/2005, you wrote:
Working on a large application with lots of
bindings, I suddenly got an
error on startup, referring to:

_repeatablebindingSetup

Is this generated by Flex? What should I do?

- Tom






--
Yahoo! Groups Links
 * To visit your group on
the web, go to:
 * 

http://groups.yahoo.com/group/flexcoders/http://groups.yahoo.com/group/fle
xcoders/ 

 *
 * To unsubscribe from this
group, send an email to:
 * 

mailto:[EMAIL PROTECTED]flexcoder
[EMAIL PROTECTED] 

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







Yahoo! Groups Links





















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 the Yahoo! Terms of Service.












RE: [flexcoders] binding error - from Flex?

2005-04-25 Thread Tom Fitzpatrick

Tracy - what is that?

- Tom

At 07:41 PM 4/25/2005, you wrote:
And don't forget to try the more code solution.  It just worked again 
for me the other day.






 
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/
 





RE: [flexcoders] binding error - from Flex?

2005-04-25 Thread Tracy Spratt

Since the Flex compiler builds AS classes out of our mxml, it has to
make some decisions on where to break up the code.

Apparently there are boundary conditions where the compiler makes the
wrong decision.

We have found, and had it confirmed by others on this list, that if you
simply add more code, even if it is bogus, you can get over that
boundary and your app will compile an run again.

Ignore the message, add some code, and run the app again.  I have also
hit a situation where this did not work until I had deleted the files
out of the ...web-inf\flex\generated folder, then compiled it again.
But usually, 10-15 more lines of code gets me over the hump.

If you believe you app is as refactored as is reasonable, give this a
try.

Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Fitzpatrick
Sent: Monday, April 25, 2005 9:19 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] binding error - from Flex?


Tracy - what is that?

- Tom

At 07:41 PM 4/25/2005, you wrote:
And don't forget to try the more code solution.  It just worked again

for me the other day.






 
Yahoo! Groups Links



 







 
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/