473,394 Members | 1,813 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,394 software developers and data experts.

Two flash in same page with sound

119 100+
Hi All,

I have two flash file in the same page call as flash1 and flash2. both flash have sound on it.
What i want to do is when i click in the first flash file sound will start playing, at the same time if i click in the second flash file sound will start in the second flash file also.

i want to stop sound in flash1 if i click flash2 and visa versa. can anyone help me in this how to solve this problem..

Thanks in advance,

Regards,
Magesh
Aug 5 '09 #1
5 2061
gits
5,390 Expert Mod 4TB
i think this would be a more flash-related problem ... because javascript doesn't have a real flash-api and i guess that you cannot really do it with javascript ... because it might depend on how the sound is embedded in the swf or similar pitfalls? ... so i would suggest to ask in the flash-forum ... or in case you want to i could move this thread to that forum?

kind regards
Aug 6 '09 #2
Markus
6,050 Expert 4TB
I know Youtube has a javascript -> flash API, not quite sure how they developed it, though.

Mark (going to research).
Aug 6 '09 #3
gits
5,390 Expert Mod 4TB
yes ... there are some out there like this one ... but i don't know whether such things would work in this case, because i'm not familiar with that ... i always avoid to use flash :)

kind regards
Aug 6 '09 #4
Markus
6,050 Expert 4TB
You would make use of the ExternalInterface library. :)
Aug 14 '09 #5
gopan
41
@Markus
Ya... you are absolutely right mark... Thats the way

ExternalInterface
Aug 15 '09 #6

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

Similar topics

9
by: Keith Rowe | last post by:
Hello, I am trying to reference a Shockwave Flash Object on a vb code behind page in an ASP.NET project and I receive the following error: Guid should contain 32 digits with 4 dashes...
5
by: Trapulo | last post by:
Hi, I've a big trouble with an asp.net page. Basically, the page has an swf that starts and downloads some data from an other asp.net page. The application works well on my testing IIS 6, but...
0
by: fblake | last post by:
Active Flash V1.0 http://www.activeup.com/products/components/activeflash Price - $295 Evaluation - http://dl.filekicker.com/send/file/184524-5045/ActiveFlash1.zip
1
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...
2
by: hayz | last post by:
Flash sound file looping problems hello there I'm definitely a newb so please bare some patience. I have a flash sound file on the index page of a site i'm working on. First off i need the...
2
by: Anees | last post by:
Hi, i need to invoke a javascript function while clicking a button that is in a flash movie. i hav used geturl() to redirect the page to some other page. but is it possible to call a javascript...
0
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...
2
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...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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...

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.