Search code examples
flashactionscript-2

How do I get 2 Flash banners to wait until both are loaded?


I have two Flash banner ads, built in CS5.5, using AS2, that will be placed on a page together and appear to interact with each other when played at the same time. Similar to this: http://www.youtube.com/watch?v=X8YG6cL3ngY

The problem is that they might not load at the same time. How can I get each banner to check that the other has finished loading before playing?

I had read that LocalConnection was the way to do this, but I haven't been able to find anything that explains it well.


Solution

  • First hit on Google has some code examples - at least try it and post if you get stuck - http://test.adform.com/testpage/banner-specifications/rich-media-instructions/synchronized-banners/