# Hanging preloader

**URL:** <https://forum.kirupa.com/t/hanging-preloader/273417>\
**Category:** flash\
**Created:** [October 15, 2008, 11:31am UTC](https://forum.kirupa.com/t/hanging-preloader/273417 "2008-10-15T11:31:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chroma](https://avatars.discourse-cdn.com/v4/letter/c/b38774/32.png) [@chroma](https://forum.kirupa.com/u/chroma)\
**Post date:** [October 15, 2008, 11:31am UTC](https://forum.kirupa.com/t/hanging-preloader/273417/1 "2008-10-15T11:31:29Z")

</div>

Hey. I’ve having trouble with a preloader in my swf.  
It hangs up, so it doesn’t play frame 5, just playing the preload animation forever.

Frame 1:

```auto
ifFrameLoaded(5){
	gotoAndPlay(5);
} 

```

Frame 2:

```auto
gotoAndPlay(1);

```

In frame 5 I have some MCs. So Frame 5 is the last one in the file.

I’ve never experienced trouble with this code before, so I suspect that it is something with the CMS I’ve used to insert it in.

```auto

<OBJECT contentEditable=false style="WIDTH: 600px; HEIGHT: 270px" codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0 classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000><PARAM NAME="_cx" VALUE="15875"><PARAM NAME="_cy" VALUE="7144"><PARAM NAME="FlashVars" VALUE=""><PARAM NAME="Movie" VALUE="(URL TO THE MOVIE)"><PARAM NAME="Src" VALUE="(URL TO THE MOVIE)"><PARAM NAME="WMode" VALUE="Transparent"><PARAM NAME="Play" VALUE="0"><PARAM NAME="Loop" VALUE="-1"><PARAM NAME="Quality" VALUE="High"><PARAM NAME="SAlign" VALUE=""><PARAM NAME="Menu" VALUE="-1"><PARAM NAME="Base" VALUE=""><PARAM NAME="AllowScriptAccess" VALUE=""><PARAM NAME="Scale" VALUE="ShowAll"><PARAM NAME="DeviceFont" VALUE="0"><PARAM NAME="EmbedMovie" VALUE="0"><PARAM NAME="BGColor" VALUE=""><PARAM NAME="SWRemote" VALUE=""><PARAM NAME="MovieData" VALUE=""><PARAM NAME="SeamlessTabbing" VALUE="1"><PARAM NAME="Profile" VALUE="0"><PARAM NAME="ProfileAddress" VALUE=""><PARAM NAME="ProfilePort" VALUE="0"><PARAM NAME="AllowNetworking" VALUE="all"><PARAM NAME="AllowFullScreen" VALUE="false">
<embed src="(URL TO THE MOVIE)" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" style="WIDTH: 600; HEIGHT: 270px" wmode="transparent" AllowScriptAccess="always"></embed></OBJECT>

```

Any clues? I’m stuck!  
Thanks in advance!
