all groups > macromedia flash flashcom > august 2005 >
You're in the

macromedia flash flashcom

group:

Targetting AVPresence inside a movieclip


Targetting AVPresence inside a movieclip ewok781
8/18/2005 1:04:26 PM
macromedia flash flashcom:
Connecting an AVPresence instance which is at the _root with the following code
works fine

slot1.connect(nc);
slot1.setUsername(userName);

But i need to hold all my AVPresence's within a movieclip thats within another
movieclip.
The reason being is that i need multiple rows filled with instances of the
AVPresence, which will be scrollable.

So i tried to use the following code

_root.classSeats.scrollableAV.slot1.connect(nc);
_root.classSeats.scrollableAV.slot1.setUsername(userName);

This connects the AVPresense, but the username doesn't show. I also tried
(_global.userName) but nothing.

Does anyone have any suggestions? Thanks
Re: Targetting AVPresence inside a movieclip Eweb7
9/13/2005 6:30:29 PM
Try this, usually works for me.


slot1.connect(_root.nc);
slot1.setUsername(_root.username);

Hope it helps, but this topic is kind of old, maybe you already fixed it.
AddThis Social Bookmark Button