This content has been marked as final. Show 5 replies
This is an error that is produced in Flex 1.5 in order to alert you that
your code needs refactoring in order to decrease the number of visually
rendered mxml tags in a single file. There is more information in the FAQ
here, including how exactly to refactor your code:
"isml" <firstname.lastname@example.org> wrote in message
>I am using Flex Builder 1.5, today when i compile a mxml file , i received
> following error:
> [exec] Error: Branch between 7684 and 41198 around line 0 exceeds 32K
> If possible, please refactor this component.
> What should i do?
> thanks in advance.
And if you think your app is already correctly structured, try the "more-code" trick in that faq article.
That trick has been working for us for two years.
I appreciate your help very much.
And i have a question about "more-code" trick.I wonder if i can use the "more-code" trick only when i can compile the app with ?debug="true" in the URL. Now i can not even complie the file with "debug="true"".Does it mean that i must modify the structure?
You can use the "more-code" trick without the debug option.
How is the application structured? As I said in the faq, files containing both mxml tags and actionscript the near 2000 lines are in danger of hitting the limit. If a file is this large, the trick won't work, and you must actually refactor the file.
Note that including a file with a script tag will not help, it counts in the total line size.