Sorry I don't really understand...

How can you add a ComboBox dynamically from a class and get it to work?


On 21 Oct 2005, at 04:21, Mick Gow wrote:

There are issues with components if you load them into a target movieclip if you are doing that (try loading it not into a MC and view in your browser).
MM has a technote on the topic if this is your problem.

On 10/20/05, Peter O'Brien <[EMAIL PROTECTED]> wrote:


hi guys and gals, i haven't all the much experience working with
components so I might be missing something very obvious (I hope!)

my combo box drops down fine in the IDE, but not in the browser
(safari & firefox tested), it just shows the first item and refuses
to drop...?

i've tried waiting a frame, but still no joy... can anyone advise?
thanks

code snippet:

cb_mc.onEnterFrame=function(){
var cbDp=[{data:1,label:"London"},{data:2,label:"Essex"},{data:
3,label:"South West"},{data:4,label:"Luton"}];
var cb=this.createClassObject(mx.controls.ComboBox,'contactWho',1,
{_x:150/*,_width:150*/});
cb.dataProvider=cbDp;
delete this.onEnterFrame;
};
_______________________________________________
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