  | |  | Components: how do you share a XMLConnector in a Shared Library? | Components: how do you share a XMLConnector in a Shared Library?
2004-02-13 - By Carl-Alexandre Malartre
Back Hi
If I mix an XMLConnector that is in the fla 's library and a Button that is
in a Shared Library, I see a black square and none of the components shows
up, only the square around them. Ha.
If I put both components in a shared Library, here is what it complains:
**Erreur** Séquence = Séquence 1, calque = Calque 1, image = 1 :Ligne 6 :
Impossible de charger la classe 'mx.data.components.XMLConnector '.
var XMLConnector1:XMLConnector;
Total des erreurs ActionScript : 1 Erreurs signalées : 1
Ok this is in french, it state that it canot find the XMLConnector1 that I
have on the stage.
I also tried to put the DataBindingClasses with em. Not working.
Here is the code in the Fla:
----
import mx.data.components.XMLConnector;
import mx.controls.Button;
var btnOk:Button;
var XMLConnector1:XMLConnector;
----
I doesn’t complain about the button, only about the XMLConnector. What 's so
special about these data components!?
When I have both controls directly in the library, it works like a charm.
Anybody else is struggling with this problem?
Thank You
Carl-Alexandre Malartre
Rich Internet Applications Developer
NetMaths.net
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki:
http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104142
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)
|
|
 |