Re: [Flashcoders] Problem with LocalConnection?
Thanks Johannes. Any thoughts on how 'dynamic' could've been removed from the class file? My client isn't someone who would've done that on their own. I wonder - is there a 3rd party LC object that he maybe downloaded? I just don't see how this could happen otherwise. Dave - www.blurredistinction.com www.macromedia.com/support/forums/team_macromedia/ ___ 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] Problem with LocalConnection?
i would imagine that the lc class would be declared dynamic, but maybe it ain't on his machine. anyway check if this solves your problem var receiving_lc:LocalConnection = new LocalConnection(); receiving_lc["showpic"] = function (goWhere:String) { gotoAndPlay(goWhere); }; On 2/23/06, Dave Mennenoh <[EMAIL PROTECTED]> wrote: > > I posted this question in macromedia.flash.actionscript but haven't gotten > a > response... I figure it most be something simple - I just don't know what > it > is... > > > I am using a LocalConnection object to communicate between two swf's on > the > same page. Works great. Sent .fla to client - he made a little change, but > gets an error when he tries to compile. > > Here's my LC code: > > var receiving_lc:LocalConnection = new LocalConnection(); > receiving_lc.showpic = function(goWhere:String) { > gotoAndPlay(goWhere); > }; > > He gets this error: > **Error** Scene=Scene 1, layer=script, frame=1:Line 2: There is no > property > with the name 'showpic'. > > receiving_lc.showpic = function(goWhere:String) { > > > I can't repro this on my end. We're both compiling with MX2004 Pro... > > I thought at first it was a class path issue, but I haven't been able to > confirm that. > > > > Dave - > www.blurredistinction.com > www.macromedia.com/support/forums/team_macromedia/ > > > ___ > 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 > -- j:pn ___ 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] Problem with LocalConnection?
I posted this question in macromedia.flash.actionscript but haven't gotten a response... I figure it most be something simple - I just don't know what it is... I am using a LocalConnection object to communicate between two swf's on the same page. Works great. Sent .fla to client - he made a little change, but gets an error when he tries to compile. Here's my LC code: var receiving_lc:LocalConnection = new LocalConnection(); receiving_lc.showpic = function(goWhere:String) { gotoAndPlay(goWhere); }; He gets this error: **Error** Scene=Scene 1, layer=script, frame=1:Line 2: There is no property with the name 'showpic'. receiving_lc.showpic = function(goWhere:String) { I can't repro this on my end. We're both compiling with MX2004 Pro... I thought at first it was a class path issue, but I haven't been able to confirm that. Dave - www.blurredistinction.com www.macromedia.com/support/forums/team_macromedia/ ___ 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