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