Home > Cannot Be > Packages Cannot Be Nested Flash

Packages Cannot Be Nested Flash


Any suggestions? Browse other questions tagged flash actionscript-3 flex flex3 or ask your own question. So if you only use 1 out of 20 classes in that folder, it will only compile the relevant class. im finaly taking everybodys advice and converting to AS3, but I always get the error:1037: Packages cannot be nested At the end I copied the code directly into my flash and have a peek at this web-site

Can I substitute decaf coffee for espresso Can a text in Latin be understood by an educated Italian who never had any formal teaching of that language? Reply With Quote The Following User Says Thank You to Medyman For This Useful Post: evan(04-08-2008) 04-08-2008,04:58 PM #5 evan View Profile View Forum Posts Private Message View Blog Entries Regular Following is my main application file. [Event(name="myEvent", type="flash.events.Event")]

Package Cannot Be Nested In Actionscript 3

Aw hell no. Send Private Message Browse All Posts (502) Block Forum Stats Member Level 13 Blank Slate Response to "1037: Packages cannot be nested" 2009-11-06 17:30:16 Reply Packages must be in their Is the Čech cohomology of an orbifold isomorphic to its singular cohomology? here is the code: package { import flash.display.Sprite; import flash.events.Event; public class Velocity extends Sprite { private var _sprite:Sprite; private var _vx:Number = 3; public function Velocity () { _sprite =new

Can I substitute decaf coffee for espresso C++ calculator using classes How do pilots identify the taxi path to the runway? include "galleryManager.as" The inside of the class looks like package { import flash.display.MovieClip; public class galleryManager extends MovieClip { public function galleryManager(){ }}} I'm not sure what I'm doing wrong. share|improve this answer edited Oct 26 '12 at 15:15 Jack 8,985113962 answered Apr 2 '12 at 8:15 teretz 1 add a comment| Your Answer draft saved draft discarded Sign up The only code I have is your class and the application code above, all in the default package. –Jeremy Feb 29 '12 at 22:17 add a comment| 2 Answers 2 active

What now? Actionscript Packages HowTo html input find/replace regex → It's a Pirate's life for me! Reply With Quote 04-02-2008,04:34 AM #2 Medyman View Profile View Forum Posts Private Message View Blog Entries Elite Coders Join Date Mar 2007 Location Currently: New York/Philadelphia Posts 2,735 Thanks 3 Privacy Policy Site Map Support Terms of Use

What now? Note, I normally use FlashDevelop for flex stuff, so I was trying to use the CS5 interface. why is rdsk not available on linux? or any problem in this code?

Actionscript Packages

Please turn JavaScript back on and reload this page. This Site Powered by vBulletin Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. Package Cannot Be Nested In Actionscript 3 The Most Important Thing To Remember Pilllaging Black Grimoire (3) Chess and Strategy (13) Common LISP (4) Men's Health (1) Topics (60) c/C++ (10) c++0x/c++11 (3) Flash/Flex (6) HTML5 (2) Information Unless I missed something in that I need to assign a "class path" The class path should only be declared if you want to use the same classes across multiple projects.

stop posting to the other thread with the duplicate post. Check This Out In Revelation 19:16, of which kings is Jesus king? Reply With Quote Quick Navigation Actionscript 3.0 (incl. Re: packages cannot be nested???

I found two fixes: weltraumpirat's correct. asked 2 years ago viewed 1234 times active 2 years ago Upcoming Events 2016 Community Moderator Election ends Nov 22 Related 0package error in as30How to get the Android developer classes Should I allow my child to make an alternate meal if they do not like anything served at mealtime? http://amigasuperbit.com/cannot-be/packages-cannot-be-nested-flex-3.html Maybe you have to name your package ?

Looks right to me but I have limited knowledge of AS3. i.e src/(default-package) // ActionScript file package // Line where it is showing error. { import flash.display.DisplayObject; import flash.events.MouseEvent; import flash.text.TextLineMetrics; import mx.controls.AdvancedDataGrid; import mx.controls.Alert; import mx.controls.listClasses.IDropInListItemRenderer; import mx.core.IUIComponent; import mx.core.UIComponent; public Forums Everything Games Movies Audio Art Forums Search Latest News: Best of October 2016 "1037: Packages cannot be nested" 5,332 Views 7 Replies New Topic Respond to this Topic « Return

What about the super class?

And then the other braincell that I was blessed with kicked in. What is the problem ? Blogs Forum General Coding Flash packages cannot be nested error (1037) If this is your first visit, be sure to check out the FAQ by clicking the link above. By the way, the correct option would be using that .as file as Document Class.

Main Sections Games Movies Art Audio Extra, Extra! Did you assign the folder to your class path? Get 1:1 Help Now Advertise Here Enjoyed your answer? have a peek here I got the error, and was like what?

Why so many ways to do the same thing? Reply With Quote November 13th, 2007,05:53 AM #3 yanzer View Profile View Forum Posts 3 posts Registered User still does not work... This is not a complete file. MenuExperts Exchange Browse BackBrowse Topics Open Questions Open Projects Solutions Members Articles Videos Courses Contribute Products BackProducts Gigs Live Courses Vendor Services Groups Careers Store Headlines Website Testing Ask a Question

If you are writting directly at the timeline (or using a include in this case), you don't need it. What does it mean, and how do I fix it? more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed This tool uses JavaScript and much of it will not work correctly without it enabled.

As it turns out, yes. Running Mist with INFURA Why usually is the word "halfway" used with "down" rather than "up"? What is the point of update independent rendering in a game loop? It would be good if you give the complete procedure.

Join them; it only takes a minute: Sign up What does “Packages cannot be nested” in AS3 mean? Suggested Solutions Title # Comments Views Activity Where to download Adobe Flash Player 11.9.900.170 5 1,273 908d Video sharing with user login 3 182 804d Script to Delete registry entry based If so, this won't work.