;) http://www.jeffryhouser.com/index.cfm/2007/10/4/Upgrade-AIR-from-Beta-1-to-Beta-2
"Keep Imports Organized went from off to on. This caused problems as I was trying to debug some code, and Flex Builder automatically started removing imported classes that were listed in the import list. As I uncommented code to isolate a bug, I got errors because the class imports were missing. You can turn this off by windows--> Properties --> Flex --> Editors --> ActionScript Code --> Keep imports organized." Sheriff wrote: > > > if you dont use a class when you compile flex gets rid of it, so save > import mx.controls.label but u never use the label as in var l:Label = > new Label(), then compile --> Import for label gone. so when you do > mx_internal just make sure you state it somewhere so if ur using a > function then do mx_internal public function etc.. > > ----- Original Message ---- > From: reflexactions <[EMAIL PROTECTED]> > To: [email protected] > Sent: Saturday, October 13, 2007 2:47:20 AM > Subject: [flexcoders] Import Statement keeps disappearing > > FB3 Beta2. > > I have a class where I need to use the mx_internal namespace. > > So I import mx.core.mx_internal and declare use namespace mx_internal. > > OK fine so far and it compiles and runs.. > > BUT about every 4 or 5 compiles I get an error telling me the > namespace is unknown and lo and behold the import statement has gone. > I put it back in and off I go until the next time it occurs. In > between occurences the class files have never been closed, its just > open in my editor and I am working on it and the import only vanishes > during the compile process. > > This only happens with mx_internal but it does happen with every > class that uses mx_internal. > > Has anyone seen this issue and if so what is the way to stop it > happening. > > Tks. > > > > ------------------------------------------------------------------------ > Tonight's top picks. What will you watch tonight? Preview the hottest > shows > <http://us.rd.yahoo.com/tv/mail/tagline/tonightspicks/evt=48220/*http://tv.yahoo.com/ > > > on Yahoo! TV. > -- Jeffry Houser, Technical Entrepreneur, Software Developer, Author, Recording Engineer AIM: Reboog711 | Phone: 1-203-379-0773 -- My Company: <http://www.dot-com-it.com> My Podcast: <http://www.theflexshow.com> My Blog: <http://www.jeffryhouser.com>

