[Flashcoders] class conflicts
Hi List Nobody answered me yesterday but I need to konw what happens please... When I generate my movie, I sometimes get a class name conflict error... but there are 3 problems in this error: - if I wait 2 or 3 minutes wihtout using flash before compiling, I don't have this error anymore and my project works perfectly... so it doesn't seem to come from my coding - It's a very little project with 5 classes, and only one level in the package, I can't see how it can be possible to be in conflict... no way - I've read in the help that a conflict is between a classpath that contains a compiled class name or path, so an A.B.C class creates a conflict with the A.B compiled class, but I don't have any compiled class, and the error message says 2 times the same name A.B.C and A.B.C, so I have a conflict between a class and itself ?!!??! I can had that the package is a part of my main classpath, with all other projects I've made, and wich work well. I've tried everythings, changing name of the class, of the path, etc... but the only way to avoid this error each time is to let all .as files in the same directory as the fla one... not very nice... Does anyone have an idea on what happens please?? PR ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] class conflicts
You tried the delete ASO files and test movie option? Might be a screwed aso cache... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of PR Durand Sent: 06 January 2006 15:15 To: Flashcoders mailing list Subject: [Flashcoders] class conflicts Hi List Nobody answered me yesterday but I need to konw what happens please... When I generate my movie, I sometimes get a class name conflict error... but there are 3 problems in this error: - if I wait 2 or 3 minutes wihtout using flash before compiling, I don't have this error anymore and my project works perfectly... so it doesn't seem to come from my coding - It's a very little project with 5 classes, and only one level in the package, I can't see how it can be possible to be in conflict... no way - I've read in the help that a conflict is between a classpath that contains a compiled class name or path, so an A.B.C class creates a conflict with the A.B compiled class, but I don't have any compiled class, and the error message says 2 times the same name A.B.C and A.B.C, so I have a conflict between a class and itself ?!!??! I can had that the package is a part of my main classpath, with all other projects I've made, and wich work well. I've tried everythings, changing name of the class, of the path, etc... but the only way to avoid this error each time is to let all .as files in the same directory as the fla one... not very nice... Does anyone have an idea on what happens please?? PR ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] class conflicts
Can you tell us your package and code structure. It might be that you're importing the same thing twice and Flash doesn't like it. Although I would have thought that importing the same package many times wouldn't be a problem. Ade -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of PR Durand Sent: 06 January 2006 15:15 To: Flashcoders mailing list Subject: [Flashcoders] class conflicts Hi List Nobody answered me yesterday but I need to konw what happens please... When I generate my movie, I sometimes get a class name conflict error... but there are 3 problems in this error: - if I wait 2 or 3 minutes wihtout using flash before compiling, I don't have this error anymore and my project works perfectly... so it doesn't seem to come from my coding - It's a very little project with 5 classes, and only one level in the package, I can't see how it can be possible to be in conflict... no way - I've read in the help that a conflict is between a classpath that contains a compiled class name or path, so an A.B.C class creates a conflict with the A.B compiled class, but I don't have any compiled class, and the error message says 2 times the same name A.B.C and A.B.C, so I have a conflict between a class and itself ?!!??! I can had that the package is a part of my main classpath, with all other projects I've made, and wich work well. I've tried everythings, changing name of the class, of the path, etc... but the only way to avoid this error each time is to let all .as files in the same directory as the fla one... not very nice... Does anyone have an idea on what happens please?? PR ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] class conflicts
PR Durand schrieb: Hi List Nobody answered me yesterday but I need to konw what happens please... When I generate my movie, I sometimes get a class name conflict error... but there are 3 problems in this error: - if I wait 2 or 3 minutes wihtout using flash before compiling, I don't have this error anymore and my project works perfectly... so it doesn't seem to come from my coding So I assume you store your class files (*.as) on another machine, and the time settings differ some minutes, so Flash has to wait until the time difference has passed. To prevent this problem, it's best to snychronize the time on both machines using some public ntp server. The other workaround is to install the ASO Commands available via the Macromedia (Adobe?) Flash-Website, and then before you compile your movie you simply invoce Commands - Clear ASO cache and then compile. We had the same phenomenon here. Regards, Roman. -- --- gosub communications gmbh | fredersdorfer str. 10 | 10243 berlin t [030] 29 66 88 81 | f [030] 29 66 88 84 | http://www.gosub.de --- ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] class conflicts
The other workaround is to install the ASO Commands available via the Macromedia (Adobe?) Flash-Website If you have Flash 8, Delete ASO Files is also an option built into the Control drop-down menu. Jason Merrill | E-Learning Solutions | icfconsulting.com NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is prohibited. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] class conflicts
Thanks a lot all of you to have given an answer. I thought about server problems, class cache, etc but and I didn't knew this delete ASO and all things about synchronising times, etc... And for the server problems, flash never like to work on server files, I always encounter problems... but I think we'll soon use that softwares usefull for making versions, work with a local copy of a file, etc... Thanks a lot once more ! PR Merrill, Jason a écrit : The other workaround is to install the ASO Commands available via the Macromedia (Adobe?) Flash-Website If you have Flash 8, Delete ASO Files is also an option built into the Control drop-down menu. Jason Merrill | E-Learning Solutions | icfconsulting.com NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is prohibited. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders