Re: [flexcoders] Re: Flex Builder no longer compiles

2007-01-17 Thread Webdevotion

I use the stand alone player to debug.
I've changed the debug paths to *-debug.swf in my
debug settings.  You can do this by clicking on the little
arrow next to the "bug" button in Flex Builder and then go to "debug".

Another method for fixing this can be using > project > clean.


[flexcoders] Re: Flex Builder no longer compiles

2007-01-17 Thread Paul Whitelock
I occasionally have a similar problem in that I'll make changes to
code but when I run or debug the application in Firefox from Flex
Builder it's the same version as the one before the changes were made.

It turns out that for reasons unknown Firefox caches the SWF and
doesn't recognize that it's been changed. If I clear the browser cache
(using the Firefox Web Developer Toolbar plug-in) and run again
everything is fine. It took me a while to figure out what was going
on, but it's now quite easy to solve this problem when it occurs.

Browser caching might not be what is causing your problem, but try
clearing the cache next time you see this problem and see if it helps.

Paul

---
Paul Whitelock
Denver, Colorado


--- In flexcoders@yahoogroups.com, "dustyjewett" <[EMAIL PROTECTED]> wrote:
>
> I made a variable of a class private instead of public, then attempted
> to sort an ArrayCollection based on this variable. Now, no matter what
> changes I make to the code, I get the same output in the console, and
> the same error!
> 
> 
> First I changed the variable to public, got the same error, I started
> adding trace statements to figure out what was wrong, but they stopped
> tracing.  I then commented out the sort/refresh lines and anything
> referring to the cursor... The debugger still points at a commented
line.
> 
> Finally, I deleted the lines from the file completely, the debugger
> points at the same line number with the same error, which is now a
> completely different line.
> 
> 
> I've delete the bin directory, I've "Clean..."ed up. I've even
> attempted to run the code on my laptop (which unfortunately already
> had the buggy code on it, thanks to Version Control)... 
> 
> I've uninstalled FB, installed Eclipse with the FB Plugin, uninstalled
> the SDK... I've done everything I can think of, but I can't get the
> files to compile.
> 
> 
> Has anyone had this problem? What can I do other than try to build the
> app from the ground up?
>




Re: [flexcoders] Re: Flex Builder no longer compiles

2007-01-16 Thread Webdevotion

Dusty, can you check if you get the following error in the
error log in the Plug In Development perspective of Eclipse 3.2 ?

Uncaught exception in compiler

According to this
page,
this error should be fixed ...

MXML Compiler and compc:
178814 Uncaught exception in compiler

This is what is causing our headaches ; )


Re: [flexcoders] Re: Flex Builder no longer compiles

2007-01-16 Thread Webdevotion

I also ran into these types of errors.
Only thing that works for me is create a new main class
and copy paste the code from the previous main class.

Then I set the latest main class to the default application.
This forces Flex Builder to recreate the swf files and it
gets rid of the errors you described.

Very annoying !


[flexcoders] Re: Flex Builder no longer compiles

2007-01-14 Thread dustyjewett
--- In flexcoders@yahoogroups.com, "Clint Modien" <[EMAIL PROTECTED]> wrote:
>
> What's the error?
> 
> On 1/11/07, dustyjewett <[EMAIL PROTECTED]> wrote:
> >
> >   I made a variable of a class private instead of public, then
attempted
> > to sort an ArrayCollection based on this variable. Now, no matter what
> > changes I make to the code, I get the same output in the console, and
> > the same error!
> >
> > First I changed the variable to public, got the same error, I started
> > adding trace statements to figure out what was wrong, but they stopped
> > tracing. I then commented out the sort/refresh lines and anything
> > referring to the cursor... The debugger still points at a
commented line.
> >
> > Finally, I deleted the lines from the file completely, the debugger
> > points at the same line number with the same error, which is now a
> > completely different line.
> >
> > I've delete the bin directory, I've "Clean..."ed up. I've even
> > attempted to run the code on my laptop (which unfortunately already
> > had the buggy code on it, thanks to Version Control)...
> >
> > I've uninstalled FB, installed Eclipse with the FB Plugin, uninstalled
> > the SDK... I've done everything I can think of, but I can't get the
> > files to compile.
> >
> > Has anyone had this problem? What can I do other than try to build the
> > app from the ground up?
> >
> >  
> >
>

I did a complete uninstall of everything, deleted all
project/workspace files, fixed the problem in the Version
Control(Cannot sort on a private variable), re-installed everything,
and re-imported from version control.  It works now!