My bad,

It is Flex 2.

I'll give it a go here.

Spike

On 10/25/05, Spike <[EMAIL PROTECTED]> wrote:
>
> Thanks Muzak,
>
> The problem I'm having is in Flex 2 with Flash player 8.5 and ActionScript
> 3.
>
> That example looks like ActionScript 2 to me.
>
> Spike
>
> On 10/25/05, Muzak <[EMAIL PROTECTED]> wrote:
> >
> > Works fine here.
> >
> > Example from the docs:
> >
> > Sender.mxml:
> >
> > <?xml version="1.0" encoding="utf-8"?>
> > <mx:Application xmlns:mx=" http://www.macromedia.com/2005/mxml";>
> >
> > <mx:Script>
> > public var lc:Object = new LocalConnection();
> > public function sendSymbol():Void {
> > public var symbol:String = ta1.text;
> > lc.send ("myConnection","showTickerSymbol",symbol);
> > }
> > </mx:Script>
> > <mx:TextArea id="ta1" text="ADBE"/>
> > <mx:Button label="Send Symbol" click="sendSymbol()"/>
> >
> > </mx:Application>
> >
> > Receiver.mxml:
> >
> > <?xml version="1.0" encoding="utf-8"?>
> > <mx:Application xmlns:mx="http://www.macromedia.com/2005/mxml "
> > creationComplete="initApp()">
> >
> > <mx:Script>
> > public var lc:LocalConnection = new LocalConnection();
> > public function showTickerSymbol(param:String):Void {
> > message.text = "received: " + param;
> > }
> > public function initApp():Void {
> > lc.showTickerSymbol = showTickerSymbol;
> > lc.connect("myConnection");
> > }
> > </mx:Script>
> > <mx:Label text = "Receive Symbol"/>
> > <mx:TextArea id="message" text=""/>
> >
> > </mx:Application>
> >
> > regards,
> > Muzak
> >
> > ----- Original Message -----
> > From: "Spike" < [EMAIL PROTECTED]>
> > To: "Flashcoders mailing list" <[email protected]>
> > Sent: Tuesday, October 25, 2005 2:54 PM
> > Subject: [Flashcoders] LocalConnection in Flex 2
> >
> >
> > Has anyone got this working reliably?
> >
> > I'm getting either security exceptions or silent failures.
> >
> > Spike
> >
> >
> >
> > _______________________________________________
> > Flashcoders mailing list
> > [email protected]
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
>
>
>
> --
> --------------------------------------------
> Stephen Milligan
> Do you do the Badger?
> http://www.yellowbadger.com
>
> Do you cfeclipse? http://www.cfeclipse.org
>
>


--
--------------------------------------------
Stephen Milligan
Do you do the Badger?
http://www.yellowbadger.com

Do you cfeclipse? http://www.cfeclipse.org
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to