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 <[email protected]>wrote:

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
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to