Copy link to clipboard
Copied
Using Flash CS4 and Actionscript 3, I created a countdown timer to be used in a share pod. It's fairly simple - click the settings button to specify the time limit, then click start. A traffic light displays red, yellow, or green to help keep the presenter on track. The timer works as intended when viewed from my desktop, but when uploaded to Connect and opened from a share pod, it breaks. Badly.
The .swf has a black background, but when uploaded, the background color is white. Because the display text is white, it can't be seen. When you click the button to start the timer, the .swf actually separates on the screen. In other words, the background for the .swf stays in the share pod, but the movie clip that displays the lights is displayed outside of any pods. Once this happens, the only way to stop it from displaying is to end the meeting and close the browser window. It goes without saying that this is not the desired effect.
I've tried publishing for both Flash Player versions 9 and 10 using Actionscript 3. The main Flash timeline consists of a single frame with two layers. The traffic light is a movie clip, and the settings interface is another movie clip. The settings interface movie clip stays within the share pod, but the traffic light share pod does not.
Anybody seen this behavior before, and more importantly, does anybody know what I'm doing wrong?
Copy link to clipboard
Copied
Did you follow the guidelines of the Collaboration Builder SDK? That documentation can be found here: http://www.adobe.com/devnet/adobeconnect.html
Copy link to clipboard
Copied
I didn't use Collaboration Builder, but I have realized my mistakes and corrected them. Seems I was loading the movie clip to the stage. So I changed my code from stage.addChild(childName) to this.addChild(childName).
As for the background color, it was a similar issue. I had the stage color set to black, and apparently in Connect that won't work. I just added a black rectangle under everything else and the problem was solved. Everything works as it should now.