LocalServiceConnection (FlashLCS) demo

Friday, March 6th, 2009 | examples

This post from John G.: http://rockonflash.wordpress.com/2009/03/05/new-localconnection-api-rocks-and-its-os/
Lead me here: http://labs.blitzagency.com/?p=650
And then here: http://code.google.com/p/flashlcs/

So I thought I’d put a little demo together of this new stuff in action. You’ll notice dragging the cube around in either swf will update the position of the cube in the other. This is mainly just a test to see it working for me before trying external panels/tools for updating content. You’ll see the little circle indicators showing if the two swfs are connected or not. I didn’t really put in any connection checking code, so if it’s not working just close the page and open it again.

Get Adobe Flash player

download top source

Get Adobe Flash player

download bottom source

Tags: ,

  • kind of broken link alert.
    http://dl.getdropbox.com/u/132579/sites/pv3d.or...

    is not linked to the top source link, common sense brought me to the correct addy.
    just an FYI, now lets see if i can make it work
    :)
  • Joe
    yep it does not work well on safari 4.
  • I swear you are my guardian angel. You post this stuff right when I need it. Amazing.
  • bojan
    It's not working good in Opera. I guess it's their problem, but I thought that you may want to know that.
  • John Lindquist
    "Local" means two swfs open at the same time on the same computer.
  • Its still cool though! How about LAN's?
  • Monkey
    Ah - yeh my bad! lol
  • TK
    Lol, it's called a LocalConnection. Usually that implies that it would be local.

    Try Red5 on for size: http://code.google.com/p/red5
  • Monkey
    Totaly Bad Ass! i cannot wait to start playing with this as the posibilitys are endless - could this work between two users in seperate locations? Online Gaming etc? - another great post! thankz.
blog comments powered by Disqus

Search

Recommended Books

Speaking at FITC Toronto

Recent Comments

 

March 2009
M T W T F S S
« Feb   Apr »
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Preferred Video Tutorial Resolution

  • 1024x768 (53%, 85 Votes)
  • 1280x1024 (15%, 24 Votes)
  • 1920x1080 (15%, 24 Votes)
  • 800x600 (13%, 20 Votes)
  • 480x320 (4%, 6 Votes)
  • 640x480 (0%, 2 Votes)

Total Voters: 160

Loading ... Loading ...