SunQuest
           Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 29th, 2003, 02:56 PM
paulosilva paulosilva is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 2 paulosilva User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
delay at frame

Hi,

Is it possible to make the movieclip delay (lets say stop for 1 second..) in one frame using actionscript instead of including more equal frames?

Thanks

Paulo

Reply With Quote
  #2  
Old June 29th, 2003, 07:57 PM
snapple snapple is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 12 snapple User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
This link, has a function written:

http://proto.layer51.com/d.aspx?f=825

All you have to do is:

PHP Code:
 movieClipInstance.pauseMovie(1000); 


and you'll get a 1000 mill sec pause

Thanks to sxdesign for that one !

snapple

Reply With Quote
  #3  
Old June 30th, 2003, 11:25 AM
paulosilva paulosilva is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 2 paulosilva User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi Snapple

Thanks for your help, but as i am a begginer, i couldnīt make it work...

I went to the link you mentioned and copied the code into my movie, but what do i have to change? just the instance name of my movieclip when calling the function? or something inside the function?

Do you have anything that would work for the main timeline?

Thanks again

Paulo

Reply With Quote
  #4  
Old September 10th, 2003, 02:56 AM
hoagnes's Avatar
hoagnes hoagnes is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 61 hoagnes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 h 55 m 10 sec
Reputation Power: 5
I found there's an easy way here:
http://www.macromedia.com/support/f...s/f5_pauser.htm (for flash 5 or above)

Reply With Quote
  #5  
Old September 11th, 2003, 02:49 PM
mushie mushie is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 58 mushie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
or an even easier way
PHP Code:
 stop();
//set a value for the delay
time 200;
//need to give the delay an ID so we can clear it later
delay setInterval(proceedtime);
function 
proceed() {
    
//clear the interval
    
clearInterval(delay);
    
//go next frame - or whatever you want to happen here
    
nextFrame();



although ive just looked at the first code and i cant see what problem you could be having
cest la vie
__________________
beware of geeks bearing animated gifs.

Last edited by mushie : September 11th, 2003 at 02:55 PM.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > delay at frame


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway