Forum Moderators: open

Message Too Old, No Replies

Flash intro on a Mac

Works fine in FF, loops in Safari & IE

         

faltered

2:04 pm on Apr 5, 2005 (gmt 0)

10+ Year Member



I made a simple animation in flash and placed it on the index page of a site. It performs and looks fine in IE or FF on a Windows machine. When viewed on a Mac, it looks fine in FF, but loops nonstop in Safari and IE.

I tried researching on Google and this site, but can't come up with any way to change this.

Does anyone know how I can tweak my code so that it will only loop once in Safari? I'm not concerned about IE, although if it could display properly there it would be a bonus.

Here is the relevant HTML:
******
<div id="flashintro">
<object type="application/x-shockwave-flash" data="photos/signatureanimation.swf" name="SignatureAnimation" width="450" height="175" id="SignatureAnimation">
<param name="movie" value="photos/signatureanimation.swf">
<param name="quality" value="high"><param name="LOOP" value="false">
</object>
</div>

*****
And what little I did for it in CSS:
*****
#flashintro {
padding: 0px;
margin: 380px 0px 0px 230px;
width: 450px;
height: 175px;
position: absolute;
}

******
Any help would be greatly appreciated.

rocknbil

5:59 pm on Apr 5, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Can you program the stop() command right in Flash, in the last frame, rather than relying on an input parameter? Maybe Safari's not passing it correctly. Although Safari's supposed to be compliant and the embed tag is useless to it, you could try nesting the embed tag.

Also search around the tech files on macromedia.com, they are seldom more helpful than the internal help files but sometimes a gem floats to the top. :-D

faltered

6:17 pm on Apr 5, 2005 (gmt 0)

10+ Year Member



rocknbill:

Thanks for the tips. I'm not that gifted with flash, so I don't know how to embed the stop command right in flash. I'll have to look and see if I can find that somewhere.

And thanks for the tip on macromedia's site. I'll check that out too.

whoisgregg

6:35 pm on Apr 5, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



To embed a stop command:

Make a new layer. On the last frame of your movie in the new layer, insert a blank keyframe. In the "Actions" Panel, type:

stop();

Save and Publish your movie. :)

faltered

5:51 pm on Apr 6, 2005 (gmt 0)

10+ Year Member



whoisgregg: Thanks, that worked wonderfully.