Web Hosting Forum - Hosting Reviews, Web Hosting Discussion ForumCalendarContact Us

Welcome to the Web Hosting Forum - Hosting Reviews, Web Hosting Discussion Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content etc.

By registering you have access to many other special features, Like personal blogs, your own personal forum, extended profiles, posting of your resume, free links, photo galleries, auctions etc. We are Web 2.0 Compliant .

We also reward our posters and referals with free hosting, domains, prizes etc. Even earn points for reading posts. We offer contests, and events that are sure to please anyone in the hosting industry, web developer or SEO at heart.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   Web Hosting Forum - Hosting Reviews, Web Hosting Discussion Forum > The Lanquages > Macromedia Software > Macromedia Flash - Actionscript

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 01-07-2007, 01:22 PM
tay shk
 
Posts: n/a
Pause and play

I have one swf , wich contain lots of movie with animation . i want to keep
pause play button for it, i know how to stop all the movie when clicked on
pause button, but i want to play those movie only wich is playing priviously.

means, suppose there is two movie 'a' and 'b' , here 'a' is stop and 'b' is
playing . and after clicking on pause i stop all the movies, but after clicking
play i have to play only those wich are playing priviously like 'b' and not to
play 'a' so how can i check it.

Reply With Quote
  #2 (permalink)  
Old 01-07-2007, 01:22 PM
panell
 
Posts: n/a
Re: Pause and play

CODE:

PlayMovieA = true //set this value to true each time you play movie A
PlayMovieB = false

PlayMovies = function(){
if(PlayMovieA) //if PlayMovieA = true
{
MovieA.play()
}
if(PlayMovieB) //if PlayMovieA = true
{
MovieB.play()
}

Reply With Quote
  #3 (permalink)  
Old 01-07-2007, 01:23 PM
tay shk
 
Posts: n/a
Re: Pause and play

Thanks for your replay

but in my case i dont have two movies only , here i have one base file wich
hase pause-play button, in wich other swf will load and each swf has diff no of
movie clips, and i have to do pause - play for loaded swf from base file, so it
is not possible to assign variables to each movie clip , i want to detect
whether movie is playing or not through code ,

so is there any method to do this.

Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Points Per Thread View:
Points Per Thread:
Points Per Reply:

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Pause button to stop all movie clips DigitalMaverick Macromedia Flash - Actionscript 0 01-07-2007 01:08 PM
Making stop and play functions fool-proof tim_lti Macromedia Flash - Actionscript 5 01-07-2007 12:59 PM
Controlling Movie Clips with Play, Stop, FF, RR stardustworld Macromedia Flash - Actionscript 0 01-07-2007 10:13 AM
Laptop Play, Pause, Stop and Skip dedicated disk control buttons Sachio Suse 0 01-05-2007 02:25 AM
portable MP3/WAV Player with adjustable pause between play. thepacket@gmail.com Audio Hardware 0 01-02-2007 07:03 PM


All times are GMT -5. The time now is 04:48 PM.


International Visitors Translate Hostingforum.ca here

Dedicated Hosting


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0 Copyright 2008 Net Industries, LLC.