Adobe Flash Error 1046
just opened up a few more dev tickets to our hack day next week. Civic data expert spots are still available too: http://t… 02:28:10 PM June 10, 2013 from web ReplyRetweetFavorite@TamaraMP Not that that would be a good thing :P 12:48:43 AM June 10, 2013 from web in reply to anselmbradford ReplyRetweetFavorite@TamaraMP As someone said... the contractor that figures out a whistleblower screener algorithm is going to make a killing 12:40:53 AM June 10, 2013 from web in reply to TamaraMP ReplyRetweetFavorite@TamaraMP @mwichary Computer History Museum is well worth a visit by the way, awesome you got to spend more time than most there. 12:32:52 AM June 10, 2013 from web in reply to TamaraMP ReplyRetweetFavorite@mwichary @TamaraMP I was too, but I opted to get up early and join the line at 3:30am ;) (by which time it was two blocks long). 12:32:06 AM June 10, 2013 from web in reply to mwichary ReplyRetweetFavorite@anselmbradford Recent Posts Speaking Trees - visualizing written text June 2011 Auckland Web Meetup Incorrect value in Microsoft Excel LOOKUP function Barcamp Auckland 4 Recap CHINZ 2010 Recent Commentsan0maly on Object-Oriented JavaScript Tip: Creating static methods, instance methodsFrank Hellwig on Object-Oriented JavaScript Tip: Creating static methods, instance methodsmatt on 2 invaluable Drupal development tips: list all available variables and backtrace a pageDavid on Object-Oriented JavaScript Tip: Implementing the Singleton PatternDavid on Object-Oriented JavaScript Tip: Implementing the Singleton PatternCategories Commentary (5) CSS (3) Drupal (2) Flash Platform (29) AS2 (1) AS3 (19) Flash (10) Flash Builder (2) Flex (13) Inspiration (4) JavaScript (4) JQuery (1) Mobile (1) News (35) Conference (2) Workshop (1) OS X (1) Programming (11) Data Structures (2) Math (2) Tips (18) Tools (8) Tutorial (3) Unix (1) Archives June 2011(2) November 2010(1) July 2010(4) June 2010(1) April 2010(2) March 2010(1) February 2010(1) October 2009(1) September 2009(2) August 2009(4) July 2009(1) June 2009(1) May 2009(2) April 2009(4) March 2009(5) February 2009(8) January 2009(5) December 2008(6) November 2008(2) October 2008(7) September 2008(4) August 2008(2) June 2008(3) May 2008(6) Save $50 with discount code SUPADUPA on all hosting plans Feedjit Live Blog Stats Feedjit Live Blog Stats
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack http://blog.anselmbradford.com/2009/03/25/common-flash-compiler-errors-1046/ Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Adobe Flash CS5 (AS3.0): “Error 1046: Type wasn't found or was not a compile-time constant: MouseEvent.” up vote 0 down vote favorite I'm creating http://stackoverflow.com/questions/9653187/adobe-flash-cs5-as3-0-error-1046-type-wasnt-found-or-was-not-a-compile-tim on Flash CS5 an animation of navigation buttons. On AS3 I have this code: stop(); fotos_btn.addEventListener(MouseEvent.CLICK, goFotos); videos_btn.addEventListener(MouseEvent.CLICK, goVideos); textos_btn.addEventListener(MouseEvent.CLICK, goTextos); function goFotos(e:MouseEvent):void{gotoAndStop('fotos');} function goVideos(e:MouseEvent):void{gotoAndStop('videos');} function goTextos(e:MouseEvent):void{gotoAndStop('textos');} When compiling there are 3 error messages which say the same: "Error 1046: Type wasn't found or was not a compile-time constant: MouseEvent." (Look out, it refers to those where are written on the 'function' part. Not to the 'addEventListener' ones) I tried out with AS2.0 but it's impossible to be read. Now in the first line you can read "stop();" , this is an instruction to stop the animation (slide) of the navigation buttons once appeared on Stage. My teacher has the same code (and the same version of Flash CS5 as mine) and it can run with no problems. Supposedly this is a basic code which can be compiled very well. This is not my case, though. Is there somet
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company http://stackoverflow.com/questions/20165833/1046-type-was-not-found-or-was-not-a-compile-time-constant-tile-movieclip Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up 1046: Type was not found or was not a compile-time constant: tile_movieclip up vote 0 down vote favorite I'm following the book adobe flash "Flash Game Development By Example", and I'm currently on the Chapter Two, on the Minesweeper game. The problem I'm having is after I start inputting the code to make the tile displaying and I got the following errors: 1046: Type was not found or was not a compile-time constant: tile_movieclip. and 1180: Call to a possibly undefined method tile_movieclip.. The lines where they've appeared are, respectively: private var tile:tile_movieclip; and tile = new tile_movieclip(); adobe flash error I have no clue about why it isn't working. The book doesn't mentions anything about the error, and I've already tried copy/pasting the code from the book, but it haven't worked either. I'm currently using Adobe Flash CS4. The current source code is here: http://pastebin.com/spUzPGBx. It might have other errors, since I was still debugging it when I found this error. actionscript-3 flash movieclip flash-cs4 share|improve this question asked Nov 23 '13 at 17:57 Gus 892411 add a comment| 2 Answers 2 active oldest votes up vote 2 down vote accepted In order for that code to work, you need 1 of 2 possible things : 1 - A class named tile_movieclip 2 - A library symbol that is named tile_movieclip and has linkage set on it's properties panel, which will automatically create a class named tile_movieclip when compiled. I am going to guess that the book you are using has a .fla file that goes along with that example. UPDATE - I just downloaded the .pdf of that book and on page 22 it describes creating this symbol in your library and setting linkage. So.... I think we can consider this mystery solved. share|improve this answer edited Nov 23 '13 at 22:55 answered Nov 23 '13 at 22:49 prototypical 5,82521529 Sorry for the late reply, but thanks! Alt