Latest beta will imports protected functions for you :P
<mx:HBox
xmlns:mx="http://www.adobe.com/2006/mxml" >
<mx:Script>
<![CDATA[
import mx.core.Container.commitProperties;
override protected function commitProperties():void { }
]]>
</mx:Script>
</mx:HBox>
On 14/01/2008, at 4:10 PM, Doug McCune wrote:
I also remember seeing this, but I don't think it has happened since
the latest beta. If I remember correctly the issue seems to occur
when organize imports would get run (possibly automatically) before
I had edited the file (ie if it was just opened). I think I noticed
that if I just hit ctrl-Z to undo it would put all the imports back,
then if I edited the file and did an organize imports it would
organize them correctly. I also remember seeing other weird things
with organize imports, like the imports for things like getTimer
would get lost, but again I think that was all with a previous beta.
So if you're not running the latest beta definitely try that.
Doug
On 1/13/08, Douglas Knudsen < [EMAIL PROTECTED]> wrote:
Patrick, I have noticed this behavior. I have not noticed since I
upgraded to the latest beta 3 though, so far.
DK
On Jan 12, 2008 5:20 PM, Dealy, Brian < [EMAIL PROTECTED]> wrote:
Patrick
this may be obvious to most, but sometimes I don't realize that
flexbuilder collapses the imports
and represents that by putting a plus next to the first one
indicating it can be expanded by
clicking on plus sign next to the first import…
sometimes the little things can elude us.
Brian
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
] On Behalf Of djhatrick
Sent: Saturday, January 12, 2008 12:15 PM
To: [email protected]
Subject: [flexcoders] Imports being lost
I have noticed several times throughout my AS3 project in Flexbuilder,
with linked libraries, that sometimes a few of imports at the top of
the files, all of a sudden go missing? It's a weird bug. Anybody
notice this?
Thanks,
Patrick
--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?