Adobe Connect User Community
Menu

#1 2009-09-03 15:30:00

**_szurawik_**

SWF loops

My SWF intro file loops and it shouldn't, why is this happening? I have a stop in it at the end. But when I upload it to Adobe Connect it loops.

Offline

#2 2009-09-04 03:31:42

**_vaha130_**

Re: SWF loops

I'm having similar problem. Somehow, it doesn't detect the script.


-----------------
reductil

Last edited by **_vaha130_** (2009-09-21 10:39:49)

Offline

#3 2009-09-04 09:54:17

**_Jorma_at_RealEyes_**

Re: SWF loops

Be sure to double check that you are building the SWF according to the Sync SWF doc: http://help.adobe.com/en_US/Connect/6.0/SDK/help.pdf

Offline

#4 2009-09-08 12:39:54

alistairlee

Re: SWF loops

To clarify - you don't need to use the SDK to load SWF content into a Connect Pro room.

To Jorma's point though, you do have to follow some 'rules' since Connect Pro is itself a flash application. 

For example:
- ActionScript 3 is not supported (since Connect Pro only requires Flash Player 8), you must use ActionScript 2
- Using absolute path names (i.e.  _root) will cause errors.  Use relative path names like '_parent) instead.
- Global variables could also cause errors

The SDK is used when you want to synchronize your flash content across all instances in a Connect Pro room. I've created a short presentation that explains it here:
http://www.connectusers.com/tutorials/2 … /index.php

Offline

#5 2009-09-08 13:55:35

**_szurawik_**

Re: SWF loops

I am using ActionScript 2.0. Here is the code that in in the flash.

stop();

But Connect is not noticing it and it loops back and replays. It should stop.

Offline

#6 2009-09-09 10:08:30

**_tlogan_**

Re: SWF loops

Double check the version of Flash you are publishing, ie: version 6, 7, 8, 9 just to be sure.

Offline

#7 2009-10-06 10:28:31

**_robva65_**

Re: SWF loops

Actually folks, there's a reason for looping anims in Connect.

stop(); actions on the first frame of the Flash timeline will be totally ignored in Connect, and I've seen the same problem occur when using swf files in Presenter content too.

Fortunately the solution is easy: rather than having your animation along the main timeline, what you need to do is nest everything in a movie clip symbol.  The result is an independant object which is technically separate from the main timeline in Flash.  A stop(); action on frame one of a nested movie clip will not be ignored, BUT a caveat of this approach is that you may loose the ability to control this updated flash swf file using Presenter's "Control by Playbar" command.

The good news, however, is that by modifying the Flash file (using a nested movie clip structure), your swf won't loop.

Rob

http://www.robrode.com/yabb/

Offline

Board footer