flashdiculous
- Started
- Last post
- 6 Responses
- mikotondria3
Dagnabbit, what an infuriating day I am having....
In Flash CS3, I have 2 .flas, and each has a class defining .as file.
When I try to compile one of them, it seems to be referring to the other one's as file... and generating errors...
"Gallery.as 1046: Type was not found or was not a compile-time constant: preloadT."So effing what ? Im not trying to compile this swf using Gallery.as, Im trying to use MainCont.as.
When I have MainCont.as open in the IDE, it's Target is specified as MainCont.fla.
MainCont.fla has MainCont.as specified as the DocumentClass..
WTF ?
- vaxorcist0
I've had similar issues and feel your pain..
possibly useful (maybe you've seen this already)
http://curtismorley.com/2007/06/…you've probably done this,.... but you might want to try clearing your ASO cache (Control > Delete ASO Files) and then testing your movie.
- robbenjamin0
Users always like to bitch and moan about the tools they use. I find it hard to do in this case. Flash is the best software around at the moment. It's the only far-reaching product out there that makes the internet look and feel interesting. It's the tops.
- tgqt0
You are bashing someone for using a tool that in your words makes the internet look and feel interesting. Seems like you should offer something a bit more positive.
- mikotondria30
My only complaint is that this marvellous software is not doing what it claims it will, when I perform the actions of asking it to complete a task that is compliant with its advertised and documented capabilities, in the proscribed manner.
Sir.
- cuke4260
@mikotondria3 somewhere in your as files there's a reference to Gallery.as; either there's a reference that's typed to Gallery like var _gal:Gallery or something.
go through each typed reference and 'duck type' them, i.e. var _gal:* until the error disappears.
or just comment out all references to other classes, and add them back one by one
either of those might be a pain if your project is huge.
or use eclipse/fdt it has realtime error checking
- mikotondria30
Honestly, I would totally agree with you in other circumstances...
But the MainCont.as file has no references to gallery.as, only to its owner, Gallery.swf, and even then, it's not including it at runtime, merely setting up an event to load it when needed..
There is no rhyme or reason to why it would be looking for Gallery.as.Actually, I just now renamed Gallery.as within my folder, so that it can't possibly compile against it, and it seemed to actually compile fine, so I'm a little further along :)..