473,657 Members | 2,419 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to control a flash animation with Play and Pause buttons ?

2 New Member
Hi Friends !

Please view this ANIMATION .

I want to control this animation with a play and pause button .
when clicked on play button , the animation should start playing . and
when clicked on pause button , the animation should stop on the frame on which pause button has been clicked .

Please help friends .

Thanks !
Nov 28 '07 #1
2 14962
p0p
1 New Member
Use

Stop

on (press) {
MovieClip.stop( );
}

Play

on (press) {
MovieClip.play( );
}
Nov 29 '07 #2
keeplearning
2 New Member
Use

Stop

on (press) {
MovieClip.stop( );
}

Play

on (press) {
MovieClip.play( );
}
Thanks for this help !
Dec 1 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

4
2785
by: petermichaux | last post by:
Hi, Is there any way to make DOM scripted animation smoother? Flash is far superior in this area. Any one here know what makes Flash so smooth by comparison? I don't like the fact that the standards based world is so far behind the Flash based stuff in some areas (animation and server push in particular)
0
1299
by: Volkan Senguel | last post by:
Hi, im trying to create a Flash Movie with a embedded MPEG Movie inside like this ones at youtube.com. But i have not found any tips on the internet...(!?) My Goal is to define a Flash (.swf) file with the buttons to play, pause and stop the movie. On the Content Management Software (ASP.Net) is a Upload Page fpr the MPEG Movies. Now the code creates the Flash Movie with this Template and saves this on
1
3343
by: mailpitches | last post by:
I've noticed a subtle yet cool feature in Safari and I'm wondering how they did it. If you go to YouTube and open one of the videos in a new tab (Command-click), the page will load in the new tab but the video won't start loading or playing. Then if you click on the tab, the video will start playing and loading. If you immediately click back to another tab, the video will continue loading but will stop playing. It seems pretty clear how...
1
1764
by: daveyand | last post by:
Hey guys, have searced within this group and havent found an answer to what i want to do. Here is the problem I have the a hovering div, within that div i have settings that people can change, but for some reason there needs to be a smal flash animation with a continual sound clip. When a user clicks close the hovering div should be removed from the domtree thus removing the div and the flash movie.
3
2150
by: VMI | last post by:
What are the advantages/disadvantages of using the Flash component on my screensaver application? The basic animation that the screensaver will include can be done either with Flash or by writing code. But with the Flash control, I can easily add much more fancy animation. But I don't know what disadvantages (in terms of user installation, PC requirements during installation, etc) may arise from using this Flash component. Any help is...
0
1627
by: deadliam | last post by:
Hi im trying to make a mp3 player in flash 8. I have got the player working with buttons etc just I want to make it autoplay... I will post my actionscript below, thanks Liam. For the play button I use on ({ sound.start(cue); } For the pause button I use
5
16271
by: mukeshrasm | last post by:
Hi I want to play/pause a movie clip when I click a button and the value of button should changed to play when it is paused and pause when it is playing. I am new to flash so how can I do it.
0
908
by: aradhanathawait | last post by:
Hi I m using microsoft multimedia control ver.6.0 in my windows application. I have used 3 buttons to play pause and stop a video. It is working .But I have 2 minor problems. 1) The position of multimedia control changes at each play. 2) Clicking on pause and stop button minimizes the control. Please help me .. Regards, Aradhana
2
8069
dream party
by: dream party | last post by:
Inserting a Flash (SWF, FLV) file into HTML web page is already an old and familiar thing to all of us. It is a rather non-flexible thing that just to edit some options in the template. However, I did not understand some parameters totally in the HTML tag. These days when I was surfing the Internet I have found some comprehensive introduction to these two tags. I read it and conclude it with my own words; I think it will be useful to us, so I...
0
8734
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8508
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8608
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7341
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6172
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5633
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4164
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
1962
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1627
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.