Re: 1046: Type was not found or was not a compile-time constant: [flash.events]::IEventDispatcher

2016-07-25 Thread Alex Harui
I just tried it on my MacBook Pro with Flex 4.15 and FP22. The following test case compiles just fine: --- Flash22Test.as --- package { import flash.display.IBitmapDrawable; import flash.display.Sprite; import flash.events.IEventDispatcher; public class Flash22Test extends Sprite {

Re: 1046: Type was not found or was not a compile-time constant: [flash.events]::IEventDispatcher

2016-07-24 Thread jbmetrics
Okay, I noticed on my MacBook Pro it worked (but was running on Flex 4.15 for Flash Player 20). I reinstalled Apache Flex on my iMac 27" for Flash Player 20 and the 1046 errors went away. So it is definitely an issue running Apache Flex 4.15 for Flash Player 22. I might try it later for Flash P

Re: 1046: Type was not found or was not a compile-time constant: [flash.events]::IEventDispatcher

2016-07-24 Thread Alex Harui
On 7/23/16, 11:03 PM, "jbmetrics" wrote: >The playerglobal.swc (for ver 22) is showing as 467,721 byte (471KB) and >(for >ver 20) is showing 388,430 (389KB). So that seems fine. > What is a small code sample that doesn't compile? -Alex

Re: 1046: Type was not found or was not a compile-time constant: [flash.events]::IEventDispatcher

2016-07-23 Thread jbmetrics
The playerglobal.swc (for ver 22) is showing as 467,721 byte (471KB) and (for ver 20) is showing 388,430 (389KB). So that seems fine. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/1046-Type-was-not-found-or-was-not-a-compile-time-constant-flash-events-I

Re: 1046: Type was not found or was not a compile-time constant: [flash.events]::IEventDispatcher

2016-07-23 Thread Alex Harui
Is the file size for 22.0/playerglobal.swc comparable (but not equal to) 20.0/playerglobal.swc. It is possible you are getting a bogus copy somehow. -Alex On 7/23/16, 10:49 PM, "jbmetrics" wrote: >I thought that might be the case, so I checked and the ~users/Apache Flex >4.15/frameworks/libs/p

Re: 1046: Type was not found or was not a compile-time constant: [flash.events]::IEventDispatcher

2016-07-23 Thread jbmetrics
I thought that might be the case, so I checked and the ~users/Apache Flex 4.15/frameworks/libs/player/22.0/playerglobal.swc is there. I even did a clean reinstall. My laptop doesn't have a problem and ~users/Documents/Apache Flex 4.15/frameworks/libs/player/20.0/playerglobal.swc works. So I was

Re: 1046: Type was not found or was not a compile-time constant: [flash.events]::IEventDispatcher

2016-07-23 Thread Alex Harui
Do any flash.*.* references compile? If not, maybe the playerglobal.swc is corrupted or missing or the wrong version. -Alex On 7/23/16, 10:00 PM, "jbmetrics" wrote: >Hi, > >I have just done a clean install of Apache Flex 4.15 (running Flash ver. >22) >on my new iMac (running Mac OS X El Capita

1046: Type was not found or was not a compile-time constant: [flash.events]::IEventDispatcher

2016-07-23 Thread jbmetrics
Hi, I have just done a clean install of Apache Flex 4.15 (running Flash ver. 22) on my new iMac (running Mac OS X El Capitan). I am using IntelliJ IDEA 2016.2 and get the following errors on all flash.event::IEventDispatcher and for one flash.display::IBitmapDrawable. I didn't get these errors on