Mailing List
Home
Flash Pro
Extending Flash
Flash Macromedia Developer
Subjects
Firework Effect
setInterval bug identified and fixed
setInterval bug identified and fixed
ScrollPane component doesn 't auto update
Help: MX 2004 How to script a print button to print the entire sli
Event Dispatcher between classes
memory management removeMovieClip /
MX2004 Dataset itemClassName
Order of events per frame
XML to Object help
Textfield prototype question
Flash and QuickTime VR
Reading and displaying RSS feeds in Flash MX
Flash MX 2004 Sucks
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash Interface with 10mb xml file
Web Service Results
Listener Object 's best practice
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
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)