Re: [flexcoders] focus manager questions

2010-09-05 Thread hamann . w
Hi Alex,

thanks for responding. I am probably just looking in the wrong direction, but a 
test
application as simple as

package
{
 import flash.display.MovieClip;

 public class test extends MovieClip
 {
public function test()
{
 trace(this.focusManager);
}
 }
}

does not compile in mxmlc.

Best regards
Wolfgang Hamann


 
 If you are using Flex applications, there shouldn=92t be a yellow rectangle=
 , and there should be a focusManager variable.
 
 
 On 9/4/10 1:38 AM, haman...@t-online.de haman...@t-online.de wrote:
 
 
 Hi,
 
 is there a simple way to
 a) get rid of the yellow rectangle (the object listens to focusin and focus=
 out event in order
 to display its focussed state)
 b) get a handle on the (application) focus manager (in order to use its set=
 Focus() method instead of
 setting stage.focus)
 
 Many thanks
 Wolfgang Hamann
 

package
{
 import flash.display.MovieClip;

 public class test extends MovieClip
 {
public function test()
{
 trace(this.focusManager);
}
 }
}






Re: [flexcoders] focus manager questions

2010-09-05 Thread Alex Harui
The Flex framework consists of the mx.*.* and spark.*.* packages.  Flash.*.* is 
a low-level Flash package.  The framework is a layer above.  If you used 
mx:Application or s:Application, you would find a focusManager and no yellow 
rectangle.


On 9/4/10 10:58 PM, haman...@t-online.de haman...@t-online.de wrote:






Hi Alex,

thanks for responding. I am probably just looking in the wrong direction, but a 
test
application as simple as

package
{
 import flash.display.MovieClip;

public class test extends MovieClip
 {
 public function test()
 {
 trace(this.focusManager);
 }
 }
}

does not compile in mxmlc.

Best regards
Wolfgang Hamann


 If you are using Flex applications, there shouldn=92t be a yellow rectangle=
 , and there should be a focusManager variable.


 On 9/4/10 1:38 AM, haman...@t-online.de mailto:hamann.w%40t-online.de  
 haman...@t-online.de mailto:hamann.w%40t-online.de  wrote:


 Hi,

 is there a simple way to
 a) get rid of the yellow rectangle (the object listens to focusin and focus=
 out event in order
 to display its focussed state)
 b) get a handle on the (application) focus manager (in order to use its set=
 Focus() method instead of
 setting stage.focus)

 Many thanks
 Wolfgang Hamann


package
{
 import flash.display.MovieClip;

public class test extends MovieClip
 {
 public function test()
 {
 trace(this.focusManager);
 }
 }
}






--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui


[flexcoders] focus manager questions

2010-09-04 Thread hamann . w


Hi,

is there a simple way to
a) get rid of the yellow rectangle (the object listens to focusin and focusout 
event in order
to display its focussed state)
b) get a handle on the (application) focus manager (in order to use its 
setFocus() method instead of
setting stage.focus)

Many thanks
Wolfgang Hamann 



Re: [flexcoders] focus manager questions

2010-09-04 Thread Alex Harui
If you are using Flex applications, there shouldn’t be a yellow rectangle, and 
there should be a focusManager variable.


On 9/4/10 1:38 AM, haman...@t-online.de haman...@t-online.de wrote:








Hi,

is there a simple way to
a) get rid of the yellow rectangle (the object listens to focusin and focusout 
event in order
to display its focussed state)
b) get a handle on the (application) focus manager (in order to use its 
setFocus() method instead of
setting stage.focus)

Many thanks
Wolfgang Hamann






--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui