Make it stop |
Make it stop |
Dec 23 2008, 01:41 PM
Post
#1
|
|
![]() Mel Blanc was allergic to carrots. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 6,371 Joined: Aug 2008 Member No: 676,291 |
Can someone please tell me how I can make my .swf file to stop at a certain place? Like I don't want it to loop, just play once. I have 426 frames if that helps. I know it has to do with a function in javascript but it isn't working really well for me.
|
|
|
|
![]() |
Dec 23 2008, 01:51 PM
Post
#2
|
|
|
Adobe Addict ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 1,237 Joined: Mar 2005 Member No: 113,043 |
Preview your Movie (Control > Test Movie) or [Alt+Enter+]
When it pops up, Control > De-select "Loop" That's CS4, at least. |
|
|
|
Dec 23 2008, 01:53 PM
Post
#3
|
|
![]() Mel Blanc was allergic to carrots. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 6,371 Joined: Aug 2008 Member No: 676,291 |
^I know how to that, I want it to not loop because I'm using it on a site I'm making and I need like a code or something to make it stop looping.
|
|
|
|
Dec 23 2008, 02:02 PM
Post
#4
|
|
![]() We are the cure. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 4,936 Joined: Jan 2004 Member No: 1,456 |
Easy! On the last frame of your movie, go into the ActionScript and type:
CODE stop(); That's it! |
|
|
|
Dec 23 2008, 02:09 PM
Post
#5
|
|
|
Adobe Addict ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 1,237 Joined: Mar 2005 Member No: 113,043 |
I assumed that Macromedia fix would work for my CS4 program and didn't follow through all of the steps. My bad...
Here's your answer. File > Publish Settings > HTML tab De-select the loop. Edit: Or you could do what waccoon did. |
|
|
|
Dec 23 2008, 04:27 PM
Post
#6
|
|
![]() /人◕‿‿◕人\ ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 8,283 Joined: Dec 2007 Member No: 602,927 |
Can someone please tell me how I can make my .swf file to stop at a certain place? Like I don't want it to loop, just play once. I have 426 frames if that helps. I know it has to do with a function in javascript but it isn't working really well for me. It's called ActionScript, not javascript. Also, waccoon got it right. |
|
|
|
Dec 23 2008, 04:29 PM
Post
#7
|
|
![]() Mel Blanc was allergic to carrots. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 6,371 Joined: Aug 2008 Member No: 676,291 |
|
|
|
|
Dec 23 2008, 07:17 PM
Post
#8
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Administrator Posts: 8,629 Joined: Jan 2007 Member No: 498,468 |
So topic closed?
|
|
|
|
Dec 23 2008, 11:37 PM
Post
#9
|
|
|
Adobe Addict ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 1,237 Joined: Mar 2005 Member No: 113,043 |
yeah I think we're good
|
|
|
|
Dec 23 2008, 11:48 PM
Post
#10
|
|
![]() Mel Blanc was allergic to carrots. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 6,371 Joined: Aug 2008 Member No: 676,291 |
yep, we're good. go ahead and close.
|
|
|
|
Dec 24 2008, 12:22 AM
Post
#11
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Administrator Posts: 8,629 Joined: Jan 2007 Member No: 498,468 |
Topic Closed & Moved
|
|
|
|
![]() ![]() |