Audio problems with panning image

Hello, I am a relatively new user of flash and had a few
questions. I am building a panning image within flash, then
exporting the swf file and creating a new swf file using a plugin.
The problem I am having is within my first created swf, I am
creating invisible buttons around the image for people to click on.
When they click on these "hotspots" they hear audio relating to
this area. However, the issue I am having is with audio overlap. If
they click the hotspot more than once, the audio will begin playing
and major overlap occurs, also if they click more than one hotspot
at a time, this overlap occurs as well. Right now, there is a audio
clip at the beginning and the only hotspot that is working is the
notebook under the person in the picture. Is there a way to include
in the action script coding something that will stop other audio
once one clip is clicked? I have included a link to the fla so you
can take a look.
Panning
Image with Hotspots
Any advice would be greatly appreciated!
Thanks

sorry dude I wouldnt be able to give example in actionscript
2.0 cos I'm currently playing with actionscript 3.0 and its got me
thinking about it all in a slightly different way.
I think in actionscript 2.0 you can buttons store the
actionscript in them, where as you cant do this in actionscript 3.0
you can't you have to have actions on a frame and then add
listeners to the buttons.
If you can do this in actionscript three you'll have
something similar to
var isPlaying : Boolean = false;
_root.notepade_btn.on(release)
if(isPlaying == false)
// *Add code to play noise* //
isPlaying = true;
else
// You can add code to re-start noise or just stop it or
anything you choose is best
I know this probably wont work but I hope it can't gives you
somewhere to aim towards
Gaunt

Similar Messages

  • Problem with Gif image

    Having a problem with gif image not showing up. It will show up in netscape6.2, but not in IE 5.0. Both are using the java 1.4 plugin. They are basic buttons (zoom in, zoom out, etc) and they actions work, just the icons aren't showing. Any help would be great! Below is a snip of code:
    JPanel toolBarsPanel = new JPanel();
    javax.swing.JToolBar toolbar = new javax.swing.JToolBar();
    JButton zoomin = new JButton(new ImageIcon("tut/zoomin.gif"));
    JButton fullext = new JButton(new ImageIcon("tut/fullextent.gif"));
    JButton identify = new JButton(new ImageIcon("tut/identify.gif"));
    JButton btn = new JButton(new ImageIcon("tut/addtheme.gif"));
    toolbar.add(zoomin);
    toolbar.add(fullext);
    toolbar.add(identify);
    toolbar.add(btn);
    add(toolbar, BorderLayout.NORTH);
    Thanks again for any help!

    I used to do a lot of work in this sort of thing. After a while we were able to convince our bosses to use generated HTML (JSPs, etc.), so the problem moved to porting JavaScript to different platforms! (Platforms in this context means the different browser/OS combinations, etc.).
    The only two things I can recommend are:
    - complete control over you code. You will have to fix it! (Tried you apps on a Mac yet?)
    - assume a minimal install. Don't assume users are going to have any fancy tools installed on their PC, unless you are developing an Intranet app, where you know the spec of the machines that are going to be using it.
    As regarding getting IE to use a relative address, I don't think you are going to have any luck their, I'm afraid! (Although I am curious. It has been some time, but I though it did use relative addresses. Are you absolutely sure about this, did you check this out with System.outs and that?
    HTH,
    Manuel Amago.

  • VGA problem with FiFA 2003 and Audio Problem with NHL2003

    i use onboard VGA
    800 x600for both games
    with no problem
    but for Fifa 2003
    the screen looks so dark...
    all players look like a black people(all  black color hair
    and black face))
    some audio problem with NHL 2003...

    Have you tried the following?
    Adjust monitor settings? i.e. contrast/brightness
    Video settings within the game? Some have gamma or brightness settings.
    Gamma correction in "Display Properties"?
    for starters anyway......

  • For the last 2 days whenever I try to upload photos from my iPhoto page to facebook I get an error message: Bad Image There was a problem with the image file.  I haven't knowingly changed any settings on iPhoto or facebook. Can anyone help, please ?

    I need help with uploading photos from iPhoto to facebook. I could do it till 2 days ago. Now any new photo I try to upload gives me an error message:
    Bad Image
    There was a problem with the image file. 
    Please help.

    Can you drag it to the Desktop?

  • I have a problem with vertical images burned on a cd

    I have a problem with vertical images burned on a cd either from a Mac or a stand alone burner. What happens is the images come from the card and are put on the cd. Also note the the camera has been set for the computer to automatically show images vertically when shot that way. The images look good on my Mac, but are horizontal on windows computers. Both XP and Vista. What can be done?
    John

    Hi, thank you for the response... not sure looks that the battery its ok, I'm not sure.
      Charge Information:
      Charge remaining (mAh):    4356
      Fully charged:    Yes
      Charging:    No
      Full charge capacity (mAh):    4356
      Health Information:
      Cycle count:    813
      Condition:    Normal
      Battery Installed:    Yes
      Amperage (mA):    0
      Voltage (mV):    12571

  • I have problems with uploading images to my printing company have the images have been manipulated through CS6 i have saved images as jpeg but the printer company tell me they are not j peg, they will not upload images save from a camera are fine

    I have problems with uploading images to my internet printing company when  the images have been manipulated through CS6 and  i have saved images as jpeg  the printer company tell me they are not j peg,
    but images saved from my phone or camera images that have not been manipulated upload fine, What am i doing wrong?

    Save/Export them as JPG. Photoshop defaults to PSD, so make sure you select JPG and not just rename the file to .jpg.
    There are two ways to save them as JPG: Regular Save as option or Save for Web & Devices
    Take your pick.

  • Firewire audio problems with OS X 10.5.6

    Hello,
    I’m experiencing audio problems with Firewire 400 on my Macbook running Mac OSX 10.5.6.
    I’ve got a 2.4Ghz IntelCore 2 Duo with 4 GB RAM and 59 GB available on the internal HD.
    It’s hooked up to a brand new Mackie D.4 mixer with 2 Firewire outputs. The problems occur on both Firewire outputs.
    I’ve installed automatically from the software update (which I will never do again) to 10.5.6. I never tried the D.4 with 10.5.5 so I can’t tell if the problems occur there also.
    The main problem is that after a couple of minutes of recording the sound starts to break up and get really distorted. After a while the sound comes back again.
    The second problem is that Soundtrack Pro or Audacity don’t get any audio input from the D.4, although audio input is clearly visible in System Preferences – Sound.
    The only sound program that works with all 14 Firewire channels is Ableton, but also in Ableton the distortion occurs.
    An example of the distortion can be checked here:
    http://media.kaalslag.com/firewire-distortion-problem-mackieD4+Macbook.mp3
    I’ve roamed several forums and sites to solve the problem and I tried these solutions:
    I updated again to 10.5.6. with the full combo download from the Apple site. Restarted. Problem still there.
    I shut Airport off, because lots of sites mentioned problems with Airport conflicting with audio/firewire. Didn’t work.
    I did the work around with shutting the Macbook off, disconnecting the D.4, restarting the Macbook, opening Audio/Midi Setup, connecting the D.4 again, toggling the format frequencies a couple of times. Again, no use.
    Right now I’m using my “old” Macbook again to record from vinyl. This one is still running on OSX 10.4.11. No problems so far.
    I’ve had the distortion problems occuring before with an USB interface. Hoped that the Mackie Firewire would solve the problem, but it seems now that there’s a serious audio Firewire problem which is still not solved in OSX 10.5.
    Any help, tips and/or a work around would be much appreciated. Thanks!

    You could try using another computer in Target Disk mode (as an "external HD"), or you can connect the firewire cable and disconnect all other network cables (turning off airport). Then on each computer go to the "Network" system preferences and select "Built-in Firewire" from the list of ports and choose "Manually" from the drop-down menu next to "Configure". Enter the following IP addresses and subnet masks, apply the changes.
    _Computer 1_
    IP Address: 192.168.1.1
    Subnet Mask: 255.255.255.0
    _Computer 2_
    IP Address: 192.168.1.2
    Subnet Mask: 255.255.255.0
    After those ip addresses are entered and you've clicked "Apply", ensure that for both computers you have file sharing enabled (done in the "Sharing" system preferences), and then check the Finder sidebar to see if the computers can see each other (their names should appear under "Shared" in the sidebar--if not, try restarting).
    If the computers dont appear (even after restarting), using the "Connect To" option that's available in the Finder's "Go" menu. In there, to connect to another computer enter it's IP address as follows:
    afp://IP_ADDRESS
    If you're on the computer with the ip address of 192.168.1.1, you would enter 192.168.1.2 as "IP_ADDRESS". The "afp" is the protocol (just like "http" for web), and stands for "Apple Filing Protocol"...Apple's file sharing protocol.

  • Problem with displaying image

    Hello!
    Sorry, I'm a beginner in APEX and have some problems with displaying images in my application. I have read the same topic but unfortunately didnt find the solution.
    So.. I have the interactive report
    table test (
    NAME NOT NULL VARCHAR2(4000)
    ID NUMBER
    BLOB_CONTENT BLOB
    MIME_TYPE VARCHAR2(4000))
    I need to display the column blob_content.
    Thnks a lot.

    1009316 wrote:
    Hello! Welcome to the forum: please read the FAQ and forum sticky threads (if you haven't done so already), and update your forum profile with a real handle instead of "1009316".
    When you have a problem you'll get a faster, more effective response by including as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)
    With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.
    Sorry, I'm a beginner in APEX and have some problems with displaying images in my application. I have read the same topic but unfortunately didnt find the solution.
    So.. I have the interactive report
    table test (
    NAME NOT NULL VARCHAR2(4000)
    ID NUMBER
    BLOB_CONTENT BLOB
    MIME_TYPE VARCHAR2(4000))
    I need to display the column blob_content.This is described in the documentation: About BLOB Support in Forms and Reports and Display Image. There's an OBE tutorial that followed the introduction of declarative BLOB support in 3.1 as well.

  • Problem with scramb image MULTI DISTORTION COLOR

    PROBLEM WITH IMAGE,  SOMETIMES ITS DISTORTIONATED, AND SLOW

    Are you writing of problems with the image displayed on your screen? Anyway that you can post a screenshot (to make a whole screenshot, hold down the Shift, Command and 3 keys at the same time). Upload your screenshot using the camera icon in the composition bar above.
    It would also help to know which model MacBook Pro you have - 15" late 2011, for example.
    Clinton

  • Problem with Atf, Image distortion

    I got a problem with image Distortion
    Here my atf in atf viewer: [IMG]http://i.imgur.com/d75aU.png[/IMG]
    Heres my atf in FLashPlayer using 11.4.402.287: [IMG]http://i.imgur.com/H2vEV.png[/IMG]
    notice the red pixel in the green part of the texture.
    Im using png2atf with no parameters.

    Are you writing of problems with the image displayed on your screen? Anyway that you can post a screenshot (to make a whole screenshot, hold down the Shift, Command and 3 keys at the same time). Upload your screenshot using the camera icon in the composition bar above.
    It would also help to know which model MacBook Pro you have - 15" late 2011, for example.
    Clinton

  • I am facing a Problem with reading images from database

    Hi everybody..
    any help will be most appreciated, I am facing problem with reading images from database. I am pasting my code... 
                    string connect = "datasource = localhost; port = 3306; username = root; password = ;"; 
                    MySqlConnection conn = new MySqlConnection(connect); // creating connecting string
                    MySqlCommand sda = new MySqlCommand(@"select * from management.add_products ", conn); //creating query
                    MySqlDataReader reader; 
                    try
                        conn.Open(); // Opening Connection
                        reader = sda.ExecuteReader(); // Executing my Query..
                        while (reader.Read())
                            byte[] imgg = (byte[])(reader["Picture"]);
                            if (imgg == null)
                                pc1.Image = null;
                            else
                                MemoryStream mstream = new MemoryStream(imgg);
                                pc1.Image = System.Drawing.Image.FromStream(mstream);
    It says Parameter not Valid... i am reading all the images from database

    I agree with Viorel. You are getting the error because the format of the data is incorrect probably because the data was modify. It may not be the reading of the database the is incorrect, but the application that wrote the data into the database. You need
    to compare the imgg array data with the data before it was written to the database to see if the data matches.  I usually start by comparing the number of bytes which is easier to check then compare the actual to isolate which function is changing the
    byte count.
    An image is binary data.  The standard VS methods for reading and writing data (usually stream classes) default to ASCII encoding which will corrupt binary data.  The solution usually is to use UTF8 encoding instead of the default ascii encoding. 
    Ascii encoding with stream often aligns the data and adds extra null bytes to the end of the data which can produce these type errors.
    jdweng

  • Problem with displaying images exported to PS

    This is slightly different than the post about TIFF files not displaying properly.
    In Aperture 1.2, when I exported an image to PS and did extensive work on it, and then saved back to Aperture, it would appear in Aperture just as it looked in PS when I saved it.
    However, in 1.5, that does not happen. After I save the image, and then go back to Aperture, all of the changes I made in PS don't appear! However, if I again open the image in PS a second time, it will change to the PS version even before the image gets to PS (I can see it change right when I click "open with external editor").
    Is this a difference with how 1.2 and 1.5 handle the files? I'm guessing it has something to do with image previews, because I chose not to have Aperture generate previews when I installed 1.5 due to the slow-down issues I saw reported here.
    I'm starting to wonder what the point of upgrading to 1.5 was for me... if I can't take advantage of previews (accessing my Aperture library from other apps like Keynote, etc) and if the PS files I work on don't display properly, I'd rather go back to 1.2. This is a major problem in my workflow, since I often spend a lot of time working on images in PS, and I need to be able to see them that way when I return to Aperture.
    I'm hoping there's some setting somewhere I can use to fix this. Is there?

    David,
    I really appreciate your offer to help. However, I have the problem with all images in my library in all projects, so I'm not sure how useful it would be for you to work with a single image I upload to a server.
    I'm having the same problem on my MacBook too, though for some unknown reason there are certain projects on my MacBook that the process works fine with. I cannot tell any difference between those projects (that work) and those that don't.
    What's even more strange... if I quit Aperture, and re-open it, and then go through the process (open a file in PS2, save, return to Aperture) - it works fine! But ONLY ONE TIME. If I try the same process again, on that same image, or any other image in my library, it will not work. It only works the FIRST TIME I do it after opening Aperture. I tested this several times and got the same result.
    I am completely stumped here. I've tried generating previews for a project and turning all of the preview options on, but that doesn't solve the problem either.
    Anyone out there have a clue what might be happening? This is more than a minor inconvenience... if my image management system can't display the image as it should appear, it's unusable.
    Chris

  • Problems with importing images into Lightroom cc

    Problems with importing images into Lightroom cc
    I have installed lightroom cc and having trouble imortera images from my Canon 1DX.
    Lightroom starting the capture, but then nothing happens more, if I turn off the camera, I get error message photo 100-200 could not be loaded.
    Now I have left lightroom 5 and where the input port works fine.
    What happened to the upgrade from Lightroom 5 to lightroom cc?
    The camera has the latest software.

    I've now tested in various ways.
    First, I have images on both memory cards in the camera.
    Test1) Selects Not all of the photos in the camera at the input port bearings, it seems to work fine.
    Test 2) selects all cards in the camera and then get the following, Lightroom starts inportera short but stops and nothing happens (Fig.1).
    I turn the camera off after a while and get the next meddelnade (picture 1)
    Which can be translated:
    "The following files were not imported because they could not read (351)
    Property 1-100
    etc. "
    Picture 1.
    Picture 2

  • Why do i have a problem with accessing images in adobe muse

    why do i have a problem with accessing images in adobe muse ??????!!!!!
    i need heeeeeelp ASAP
    pleeeeease

    I am on the begining stages with constructing the web so i do not have yet URL. The problem is i can not insert any image any way. Whether by fill a browser or by place image, i have the same issue. All the images with all image's format unable to be selected and it is turned off
    I really need help plz
    Is there any info i can supply that would help you figiring out the problem ??

  • I am getting problem with eps image coordite while rotating in AI Script

    I am getting problem with eps image coordite while rotating in AI Script

    "Problem"? Uh, *what* problem?
    "AI Script"? There is no such thing.
    I'm willing to interpret "cordite" as "coordinate" but you must provide more (a LOT more) information before anyone can volunteer to help you. You are not posting to an automated system that retrieves stock answers from a database. You are asking Real People to help you. (And this is a user-to-user forum, so it's all voluntary as well.)

Maybe you are looking for