RE: [Flashcoders] >> Flashsql component
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
Re: [Flashcoders] >> Flashsql component
hate to be offtopic here but I have to say this. are you sure you want to have your sql selects in flash ? one quick decompile and the whole database structure is exposed. Laurent CUCHET <[EMAIL PROTECTED]> wrote: 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 - Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2ยข/min or less. ___ 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