Thanks H.  While you were writing that, I seemed to have fixed it, and
part of the solution related to some of your suggestions. One thing I
didn't mention (because I didn't think it was relevant) was that the
.fla, .as doc class are inside a Flex project folder. For some reason,
even though the doc class was right next to the .fla, it was conflicting
with other Flex classes when Flash CS3 compiled.  I don't entirely know
why, it still doesn't make sense to me, but the solution was to move the
.fla and doc class out of the flex project folder entirely before
compiling the .swf.  The .swf is part of the Flex project, but I didn't
think it would be any harm having the .fla and fla's doc class in a
subfolder of the Flex project (I'm using the Flex 3 SDK and
FlashDevelop).  

So I got it fixed, but it's still perplexing.  I mean, it's a large
project, we do use Webservices and such in it,  but I wouldn't think
Flash CS3 would get messed up compilinng the doc class when it's right
next to the fla, no matter what other files are around it.  Very odd.
Anyone have any insights?  I found a person or two on Google who had the
same conflict, but never posted a resolution.

Jason Merrill 
Bank of America 
Enterprise Technology & Global Risk L&LD 
Instructional Technology & Media

Join the Bank of America Flash Platform Developer Community 

Are you a Bank of America associate interested in innovative learning
ideas and technologies?
Check out our internal  Innovative Learning Blog & subscribe. 

 

>>-----Original Message-----
>>From: [EMAIL PROTECTED] 
>>[mailto:[EMAIL PROTECTED] On Behalf Of H
>>Sent: Friday, August 15, 2008 4:56 PM
>>To: Flash Coders List
>>Subject: Re: [Flashcoders] Odd compiler errors in CS3
>>
>>Have any swc components in the library that could be causing 
>>it? Are there any other classes in your class path?
>>
>>If it's as simple as you've described, maybe you should 
>>create a new fla and move code and timelines over little by 
>>little - when the new fla begins throwing the errors, you 
>>will know what it is.
>>Another way to debug it would be to comment out all document 
>>class code and make layers guides. If it compiles then 
>>re-enable parts of the fla slowly to find the issue.
>>
>>H
>>
>>On Fri, Aug 15, 2008 at 3:11 PM, Merrill, Jason < 
>>[EMAIL PROTECTED]> wrote:
>>
>>> I am getting odd compiler errors in my .fla.  I'm not using any 
>>> Webservices, RemoteObject classes, or HTTPServices at all.  I don't 
>>> know why the compiler would complain:
>>>
>>> 1046: Type was not found or was not a compile-time 
>>constant: WebService.
>>> 1046: Type was not found or was not a compile-time 
>>constant: RemoteObject.
>>> 1046: Type was not found or was not a compile-time 
>>constant: HTTPService.
>>>
>>> Only the description shows and it doesn't say where the error 
>>> originates from.  I have not used any of these objects in 
>>the history of this .fla.
>>>  The .fla is a simple animation on the root timeline of some movie 
>>> clips. I have deleted ASO files but still no luck. The 
>>document class 
>>> looks like
>>> this:
>>>
>>> package com.venice.view.network.atom
>>> {
>>>        import flash.display.MovieClip;
>>>        import flash.events.MouseEvent;
>>>
>>>        /**
>>>        * ...
>>>        * @author Jason Merrill
>>>        */
>>>        public class AtomMenu extends MovieClip
>>>        {
>>>                public var viewProfileButton:MovieClip;
>>>                public var viewNetworkButton:MovieClip;
>>>                public var peekNetworkButton:MovieClip;
>>>
>>>                public function AtomMenu()
>>>                {
>>>                        stop();
>>>                        createListeners();
>>>                }
>>>
>>>                private function createListeners():void
>>>                {
>>>
>>>  viewProfileButton.addEventListener(MouseEvent.MOUSE_DOWN,
>>> onViewProfileMouseDown);
>>>
>>>  viewNetworkButton.addEventListener(MouseEvent.MOUSE_DOWN,
>>> onViewNetworkMouseDown);
>>>
>>>  peekNetworkButton.addEventListener(MouseEvent.MOUSE_DOWN, 
>>onPeekMouseDown);
>>>                }
>>>
>>>                private function
>>> onViewProfileMouseDown(event:MouseEvent):void
>>>                {
>>>                        gotoAndPlay("transitionOut");
>>>                }
>>>
>>>                private function
>>> onViewNetworkMouseDown(event:MouseEvent):void
>>>                {
>>>                        gotoAndPlay("transitionOut");
>>>                }
>>>
>>>                private function 
>>onPeekMouseDown(event:MouseEvent):void
>>>                {
>>>                        gotoAndPlay("transitionOut");
>>>                }
>>>
>>>        }
>>>
>>> }
>>>
>>> ??? Any ideas?
>>>
>>>
>>> Jason Merrill
>>> Bank of America
>>> Enterprise Technology & Global Risk L&LD Instructional Technology & 
>>> Media
>>>
>>> Join the Bank of America Flash Platform Developer Community 
>> <blocked::
>>> http://sharepoint.bankofamerica.com/sites/tlc/flash/default.aspx>
>>>
>>> Are you a Bank of America associate interested in 
>>innovative learning 
>>> ideas and technologies?
>>> Check out our internal  Innovative Learning Blog <blocked::
>>> 
>>http://sharepoint.bankofamerica.com/sites/ddc/rd/blog/default.
>>aspx>  & 
>>> subscribe <blocked::
>>> 
>>http://sharepoint.bankofamerica.com/sites/ddc/rd/blog/_layouts/SubNew.
>>> 
>>aspx?List=\{41BD3FC9-BB07-4763-B3AB-A6C7C99C5B8D\}&Source=http://share
>>> 
>>point.bankofamerica.com/sites/ddc/rd/blog/Lists/Posts/Archive.aspx<htt
>>> 
>>p://sharepoint.bankofamerica.com/sites/ddc/rd/blog/_layouts/SubNew.asp
>>> 
>>x?List=%5C%7B41BD3FC9-BB07-4763-B3AB-A6C7C99C5B8D%5C%7D&Source=http://
>>> 
>>sharepoint.bankofamerica.com/sites/ddc/rd/blog/Lists/Posts/Archive.asp
>>> x>>
>>> .
>>>
>>>
>>> _______________________________________________
>>> 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
>>
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to