RE: [Flashcoders] Regain stage focus

2010-05-30 Thread Cor
At any given moment:
  stage.focus = stage;

or

  stage.focus = yourInputField;

HTH

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kerry
Thompson
Sent: zaterdag 29 mei 2010 20:06
To: Flash Coders List
Subject: Re: [Flashcoders] Regain stage focus

Karina Steffens wrote:

 You mean rains, right? :P

Darn! My e-mail program drops keystrokes. Don't know why--I'm using
the GMail Web interface. I just type too fast.


 So, there's no way to regain (or at least to rain...) focus without
clicking
 at all? Not even by using a mouseover event or a timer inside flash?

No, not as far as I know. You can set the focus on an input field, of
course, but that won't take effect until the user gives your .swf
focus. You understand the security issues, so I won't belabor them.

I've run into the same problem. I'm writing a math game where the
user's response time is important. If they have to click on the
browser window before typing the answer, that skews the results. We
got around it by having the user log in, so the browser window should
have focus when the problem is presented. If the user switches to
another program--say, during the intoduction--we have no way of
getting focus back until the user clicks on the browser. I'm working
with a couple of the best in the business--Mark Jonkman and Raman
Pfaf--and they both tell me the same.

 And more rain on my parade: After uploading the flash movie to the server,
 some of the links in the dropdown menu have stopped working - clicking on
 the doesn't do anything, while others seem to be ok. And it's arbitrary
per
 click... And this appears to be cross browser, while locally it's fine.
Any
 ideas what I should be looking for here?

Not much. I assume you've checked the usual culprits--the URL is
formed correctly, your .swf isn't busy in a loop, no security issues
involved, etc. I'd use the debug Flash player and FlashDevelop to
trace out what happens when the button is clicked.

Cordially,

Kerry Thompson
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Geen virus gevonden in het binnenkomende-bericht.
Gecontroleerd door AVG - www.avg.com 
Versie: 9.0.819 / Virusdatabase: 271.1.1/2904 - datum van uitgifte: 05/29/10
20:25:00

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] AS2 ComboBox only showing 2 rows when embedded in Adobe Connect

2010-05-30 Thread Hans Wichman

Hi Andrew,

yes exactly. Your class will extend the already loaded classes, that why 
you should try to copy the sources for the superclass into the subclass. 
This won't make a difference when you run your content standalone, but 
when running it in connect, you will override the already loaded class 
by your own class, if you get what I mean. My english is not up to par 
this morning hehehe. Again this is a pretty awkward hack I think, but it 
would be good to know if a class incompatibility is indeed the cause.


Another option of course might be to use an entirely different combobox 
implementation and leave the v2 components shi. for what it is;)


regards
JC

Andrew Sinning wrote:

Thanks Hans.

So, the problem might be that the ComboBox class that in my movie is 
never getting loaded because a same-named version is already present 
in the parent (Adobe Connect).  I've seen this before.


Question:  If I have my own version of the ComboBox, say CB2 and it 
extends all the usual chain of classes, but those extended classes are 
already present in the parent, when CB2 gets loaded will it be 
extending the already loaded classes, or will it bring with it its own 
chain of classes?


Hans Wichman wrote:

Hi Andrew,

this is a wild guess, but I once had a similar issue, though it's 
long ago
and can't quite remember. The thing was that there was a difference 
in the
ComboBox implementation between Flash MX2004 and Flash 8 I think, 
although

it wasn't documented.

You would first have to pinpoint of course if that is indeed the 
issue. It
might also be the issue that some v2 components need to be present in 
the

parent swf in order to be used succesfully in child swf's.

If the class difference is the problem, you could try copy and 
pasting your
flash versions combobox.as (with which your application does work) 
into a

combobox class of your own, extending the old one for polymorphism and
overriding everything, and then set yourCombo.__proto__ to
YourComboBoxClass.prototype. Just a hack to see if that is where the 
problem

lies :).

regards,
JC




On Fri, May 28, 2010 at 3:36 PM, Andrew Sinning 
and...@learningware.comwrote:


 
We've built an AS2 application that can be embedded into various 
LMSs, etc.


Curiously, when embedded in Adobe Connect (also written in AS2), the
ComboBoxes aren't rendered correctly.  Rather than dropping down, 
the menus
are displaying above the widget, even though there is plenty of room 
below.
 Even worse, only the first two rows are displayed, so to select any 
other

rows you have to use the arrow keys.

My guess is that the ComboBox is trying to determine how much room 
it has

to render its menus, and that this is going awry.

_lockRoot is set to true

I think this might be handled by the PopUpManager, perhaps by its 
setSize
function, but I can't figure out where this is defined.  It's simply 
listed

as a property:
var setSize:Function;


Any ideas?  Thanks!
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

  


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Regain stage focus

2010-05-30 Thread Henrik Andersson

Cor wrote:

At any given moment:
   stage.focus = stage;

or

   stage.focus = yourInputField;


Wrong focus, I am certain that the issue is not about the focus internal 
to the player, but the focus in the full webbrowser. The full flash 
player is lacking the focus.


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Regain stage focus

2010-05-30 Thread Cor
OK, is this in a particular browser or multiple??

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Henrik
Andersson
Sent: zondag 30 mei 2010 10:17
To: Flash Coders List
Subject: Re: [Flashcoders] Regain stage focus

Cor wrote:
 At any given moment:
stage.focus = stage;

 or

stage.focus = yourInputField;

Wrong focus, I am certain that the issue is not about the focus internal 
to the player, but the focus in the full webbrowser. The full flash 
player is lacking the focus.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Geen virus gevonden in het binnenkomende-bericht.
Gecontroleerd door AVG - www.avg.com 
Versie: 9.0.819 / Virusdatabase: 271.1.1/2904 - datum van uitgifte: 05/29/10
20:25:00

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Regain stage focus

2010-05-30 Thread Cor
Is Javascript like this:

body onLoad=document.yourElementName.focus()

a solution for you?


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Henrik
Andersson
Sent: zondag 30 mei 2010 10:17
To: Flash Coders List
Subject: Re: [Flashcoders] Regain stage focus

Cor wrote:
 At any given moment:
stage.focus = stage;

 or

stage.focus = yourInputField;

Wrong focus, I am certain that the issue is not about the focus internal 
to the player, but the focus in the full webbrowser. The full flash 
player is lacking the focus.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Geen virus gevonden in het binnenkomende-bericht.
Gecontroleerd door AVG - www.avg.com 
Versie: 9.0.819 / Virusdatabase: 271.1.1/2904 - datum van uitgifte: 05/29/10
20:25:00

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Regain stage focus

2010-05-30 Thread Cor
Here is a discussion which is about the focus issue:

http://www.actionscript.org/forums/archive/index.php3/t-120307.html

HTH
Cor

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Henrik
Andersson
Sent: zondag 30 mei 2010 10:17
To: Flash Coders List
Subject: Re: [Flashcoders] Regain stage focus

Cor wrote:
 At any given moment:
stage.focus = stage;

 or

stage.focus = yourInputField;

Wrong focus, I am certain that the issue is not about the focus internal 
to the player, but the focus in the full webbrowser. The full flash 
player is lacking the focus.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Geen virus gevonden in het binnenkomende-bericht.
Gecontroleerd door AVG - www.avg.com 
Versie: 9.0.819 / Virusdatabase: 271.1.1/2904 - datum van uitgifte: 05/29/10
20:25:00

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Dylan responds to e-mails at 12pm and 4pm. (Auto-Response)

2010-05-30 Thread dylan
Hello Friends and Colleagues, 

In order to continuously focus my attention on the large projects I am working 
on,  I am currently checking and responding to e-mail twice daily, at 12pm PST 
and 4pm PST. 

If you require immediate assistance (please ensure it is urgent and it cannot 
wait until either 12pm or 4pm) please contact me via phone at 323-963-3307.

Thank you for understanding this move to a more productive work flow.

Dylan Fergus

o 323 963 3307

dy...@ontheriverent.com

www.ontheriverent.com

www.flooredandlifted.com

www.dylanfergus.com

This message and any attached documents contain information that may be 
confidential and/or privileged. If you are not the intended recipient, you may 
not read, copy, distribute, or use this information. If you have received this 
transmission in error, please notify the sender immediately by reply e-mail and 
then delete this message.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] FLVPlayback and NetStream

2010-05-30 Thread ktt
Hello,

I can't get NetStream to work with FLVPlayback component.
The error:
1061: Call to a possibly undefined method attachNetStream through a reference 
with static type fl.video:FLVPlayback.

Is it possible to use FLVPlayback component with NetStream at all?

Regards,
Ktt


  
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Dylan responds to e-mails at 12pm and 4pm. (Auto-Response)

2010-05-30 Thread Glen Pike
Gee, that's a pity Dylan because I really needed an answer before 5pm 
GMT, oh well.  ;)


dy...@ontheriverent.com wrote:
Hello Friends and Colleagues, 

In order to continuously focus my attention on the large projects I am working on,  I am currently checking and responding to e-mail twice daily, at 12pm PST and 4pm PST. 


If you require immediate assistance (please ensure it is urgent and it cannot 
wait until either 12pm or 4pm) please contact me via phone at 323-963-3307.

Thank you for understanding this move to a more productive work flow.

Dylan Fergus

o 323 963 3307

dy...@ontheriverent.com

www.ontheriverent.com

www.flooredandlifted.com

www.dylanfergus.com

This message and any attached documents contain information that may be 
confidential and/or privileged. If you are not the intended recipient, you may 
not read, copy, distribute, or use this information. If you have received this 
transmission in error, please notify the sender immediately by reply e-mail and 
then delete this message.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

  

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Dylan responds to e-mails at 12pm and 4pm. (Auto-Response)

2010-05-30 Thread Juan Pablo Califano
Dylan refers to himself in the third person and has turned on this annoying
feature in his email client that spams this list with auto-responses
containing information that none of its recipients give a hoot about. Two
good reasons to black-list him until he desists from inflicting at least one
of the aforementioned offenses.

2010/5/30 Glen Pike postmas...@glenpike.co.uk

 Gee, that's a pity Dylan because I really needed an answer before 5pm GMT,
 oh well.  ;)


 dy...@ontheriverent.com wrote:

 Hello Friends and Colleagues,
 In order to continuously focus my attention on the large projects I am
 working on,  I am currently checking and responding to e-mail twice daily,
 at 12pm PST and 4pm PST.
 If you require immediate assistance (please ensure it is urgent and it
 cannot wait until either 12pm or 4pm) please contact me via phone at
 323-963-3307.

 Thank you for understanding this move to a more productive work flow.

 Dylan Fergus

 o 323 963 3307

 dy...@ontheriverent.com

 www.ontheriverent.com

 www.flooredandlifted.com

 www.dylanfergus.com

 This message and any attached documents contain information that may be
 confidential and/or privileged. If you are not the intended recipient, you
 may not read, copy, distribute, or use this information. If you have
 received this transmission in error, please notify the sender immediately by
 reply e-mail and then delete this message.

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Regain stage focus

2010-05-30 Thread Sumeet Kumar

Hello :)


In the object tag  try making wmode = window. 


Thanks
Sumeet Kumar



- Original Message - 
From: Henrik Andersson he...@henke37.cjb.net

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Sunday, May 30, 2010 1:47 PM
Subject: Re: [Flashcoders] Regain stage focus


Cor wrote:

At any given moment:
   stage.focus = stage;

or

   stage.focus = yourInputField;


Wrong focus, I am certain that the issue is not about the focus internal 
to the player, but the focus in the full webbrowser. The full flash 
player is lacking the focus.


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders