Even though you probably don't want to be using _level##, you can create a
global reference.

_global.flashsql = _root.flashsql;

!k

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Laurent
CUCHET
Sent: Wednesday, October 18, 2006 2:32 AM
To: Flashcoders mailing list
Subject: [Flashcoders] >> Flashsql component

Hello

I use flashsql component a component to manage database

I meet a bug with it and impossible to make it works at another level than
_level0

If you are at _level0 its ok with :

on (release) {
    flashsql.Execute("SELECT * FROM client", "pros", "", "", "",
"myComboBox");
}

If you lad the swf at _level40 it doesnt work ...

I try this without success :

on (release) {
    _level40.flashsql.Execute("SELECT * FROM client", "pros", "", "", "",
"_level40.myComboBox");
}

Yhanks for your reply
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to