473,395 Members | 1,915 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Play And Exit

16
HI EVERYONE
I want to ask about two things:
1- how can i make an exit button in flash that causes the player to exit when clicked.
2- how can i make a play button that plays a song once i don't want the song to start unless play is clicked and i don't want it to loop.

i'd be grateful if anyone helped me
i need it asap
thanks
May 14 '07 #1
3 3441
kestrel
1,071 Expert 1GB
have you searched google for these things?
May 14 '07 #2
Motoma
3,237 Expert 2GB
I am not sure if 1 is possible.

Do you have a music file loaded already? If so, set up a button that calls play().

HI EVERYONE
I want to ask about two things:
1- how can i make an exit button in flash that causes the player to exit when clicked.
2- how can i make a play button that plays a song once i don't want the song to start unless play is clicked and i don't want it to loop.

i'd be grateful if anyone helped me
i need it asap
thanks
May 15 '07 #3
kestrel
1,071 Expert 1GB
for #1, you can use javascript
Expand|Select|Wrap|Line Numbers
  1. javascript:window.close()
  2.  
but that only works if the window that the flash is embeded in, is a popup called from a main page.
May 15 '07 #4

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

Similar topics

7
by: Anil Gupte | last post by:
Hi! this may be a trivial question, and may not even involve asp, but let me try.... I want people to click on a .wmv file on a website and download it. Currently, when they do that it simply...
3
by: Anil Gupte | last post by:
My original question had to do with forcing a download instead of play for a known mime type. I got some useful pointers, but, I failed. Can someone tell me what is going wrong in this code? ...
1
by: Ron Provost | last post by:
Hello, I'm developing a piece of software to assist illiteraate adults to learn to read. I'm trying to figure out how, if possible, to make audio playback asynchrnous but still controllable. ...
22
by: MLH | last post by:
I have some audio help files that play fine from within Access 97 and Access 2.0. Both are running on a Windows XP box. But I do not know what program plays the files. If I click Start, Run and...
1
by: Lam | last post by:
how can I play sound file in a .aspx page written in C#? I try to use the code like the following. But whenI call the play function play("sound.wav", this.SND_ASYNC) my computer give out "be"...
10
ADezii
by: ADezii | last post by:
Most Access Users fail to realize that they can significantly enhance their applications by introducing various sounds (*.WAVs) in response to specific events. The only intrinsic sound that Access...
7
by: Lemune | last post by:
Hi.. I am developing an application that connect to database on the other side of the net. And each time i want to connect to database and run some sql command, i want my user to know that there...
26
by: Jake Barnes | last post by:
I did a search on the newsgroup comp.lang.javascript. I was searching for "how to play a sound with Javascript". I'm somewhat suprised that the majority of entries are from the 1990s, and there are...
0
by: premMS143 | last post by:
Hi Everyone, Wish u a Happy new year. I'm new to Flash. However know it lightly. I've 10 SWF files which was converted from powerpoint using 3rd party software. Now I want to create a Main...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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...
0
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,...

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.