Hi John, unfortunately, the length of package names is indeed limited in Flash MX 2004 and Flash 8. As far as I know, there's nothing you can do about it except shortening the name - or compiling with mtasc only.
In case you're interested: The reason for this limitation is that the Flash compiler caches compiled classes in individual files (on windows) usually located in the folder c:\Documents And Settings\[username]\local settings\application data\macromedia\[name of flash version\[language]\configuration\classes\aso\[full package path as nested folders]\[full package path and classname seperated by dots].aso As you can see, this path is quite long and gets longer the more you nest your packages. Unfortunately, path names are limited to 256 characters under windows (well, not really, but most file APIs make you think they are), causing the actual limitation for the package name length to be: 256 - [length of cache path up to "classes\aso\"] - [length of package name] / 2 - 4 (for the .aso extension) In my case, this leaves a measly 65 characters as the maximum length :( cheers, till On 4/12/07, John Hauf <[EMAIL PROTECTED]> wrote: > Hello list, > > I have some troubles with long package names when compiling a swf in the > FlashMX 2004 IDE. When I try to compile the same class into the swf with > mtasc everything works right. > When I try to use the class: > "de.xxxxxxxxxxxx.components.checkbox_radiobutton.renderer.BasicChoiceButtonRenderer" > the macromedia-compiler tells me, that it could not load a class with > that name. When I trim the classname to > "de.xxxxxxxxxxxx.components.checkbox_radiobutton.renderer.BasicChoiceBut" > the swf compiles without an error. > Is there a limit of package-/classname-length in FlashMX2004? > > Thank you! > John > > _______________________________________________ > osflash mailing list > [EMAIL PROTECTED] > http://osflash.org/mailman/listinfo/osflash_osflash.org > _______________________________________________ osflash mailing list [EMAIL PROTECTED] http://osflash.org/mailman/listinfo/osflash_osflash.org
