Loading a different sound on each frame

At present I have sound that loads when I click a button.
Inside the button I have this code
on(release){
gotoAndStop(2)
mySound_sound.loadSound("02.mp3",true);
How can I make the sound change to a different sound upon
reaching a certain frame automatically without clicking on the
button.
How can make it possible for the song to load automatically
when the movie reaches a frame without clicking the button.

umr wrote:
> At present I have sound that loads when I click a
button.
> Inside the button I have this code
> on(release){
> gotoAndStop(2)
> mySound_sound.loadSound("02.mp3",true);
> }
>
> How can I make the sound change to a different sound
upon reaching a certain
> frame automatically without clicking on the button.
please read reply to your duplicate post titled "sound" and
try not to post multiple threads
on same subject. It generally take more than few hours if not
days to get reply, so just post and
chill till someone find the time to read it through :)
Best Regards
Urami
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami>

Similar Messages

  • HT201320 Need different sound for each email account

    How can I setup a different sound for each email account incoming emails?

    Tell Apple you'd like to see this feature...you're not the first:
    http://www.apple.com/feedback/iphone.html

  • Any way possible to have different New Eamil alret sounds for each account

    I have 4 different email accounts on my iPhone. Is there a way to have a different New Email Alert sound for each account. Most of the times I am only interested in emails I get in one or two of the accounts and if I had a different Alert for them I would know right away rather than having to go through each account inbox to find out which one got a new email.

    Not at this time.

  • 3 same buttons & 3 different frames, but each frame must have it's own actionscript?

    Here is my issue. I have 3 frames and 3 buttons. Each button takes you to their respected frame. However, I noticed that I cannot have 1 key frame of actionsript read the same on those 3 frames. Why? because if I jump from frame 1 to frame 2 or 3, then I cannot jump back. Instead, each frame has to have it's own actionscript. The only thing that would change is the method name. I find it tedious. Is that how  it is? This almost felt seem like it would be less tedious but even for 3 frames, I have to change each method name as I build more frames to navigate to. Check my example below:
    Old Actionscript (1 keyframe for 3 frames did not work to jump back any frame)
    frame1_btn.addEventListener(MouseEvent.CLICK, handlerFrame1);
    frame2_btn.addEventListener(MouseEvent.CLICK, handlerFrame2);
    frame3_btn.addEventListener(MouseEvent.CLICK, handlerFrame3);
    function handlerFrame1(event:MouseEvent):void {
    gotoAndStop("frame1");
    function handlerFrame2(event:MouseEvent):void {
    gotoAndStop("frame2");
    function handlerFrame3(event:MouseEvent):void {
    gotoAndStop("frame3");
    New Actionscript (3 keyframes and this works):
    Frame 1
    frame1_btn.addEventListener(MouseEvent.CLICK, handlerFrame1);
    frame2_btn.addEventListener(MouseEvent.CLICK, handlerFrame2);
    frame3_btn.addEventListener(MouseEvent.CLICK, handlerFrame3);
    function handlerFrame1(event:MouseEvent):void {
    gotoAndStop("frame1");
    function handlerFrame2(event:MouseEvent):void {
    gotoAndStop("frame2");
    function handlerFrame3(event:MouseEvent):void {
    gotoAndStop("frame3");
    Frame 2
    frame1_btn.addEventListener(MouseEvent.CLICK, handlerFrame4);
    frame2_btn.addEventListener(MouseEvent.CLICK, handlerFrame5);
    frame3_btn.addEventListener(MouseEvent.CLICK, handlerFrame6);
    function handlerFrame4(event:MouseEvent):void {
    gotoAndStop("frame1");
    function handlerFrame5(event:MouseEvent):void {
    gotoAndStop("frame2");
    function handlerFrame6(event:MouseEvent):void {
    gotoAndStop("frame3");
    Frame 3
    frame1_btn.addEventListener(MouseEvent.CLICK, handlerFrame7);
    frame2_btn.addEventListener(MouseEvent.CLICK, handlerFrame8);
    frame3_btn.addEventListener(MouseEvent.CLICK, handlerFrame9);
    function handlerFrame7(event:MouseEvent):void {
    gotoAndStop("frame1");
    function handlerFrame8(event:MouseEvent):void {
    gotoAndStop("frame2");
    function handlerFrame9(event:MouseEvent):void {
    gotoAndStop("frame3");

    You should not need to have code in all three frames.  The first bit of code you show should suffice under normal circumstances.  If you have the code on a layer that has only one keyframe and the buttons on a layer that only has one keyframe, then the buttons will remain working.  It is only when you create new instances (keyframes) of the buttons that you need to assign new event listeners for them, but even then the same event handler functions can be shared for all of them as long as that actions layer extends the length needed for all the buttons.

  • Can you tell when a loaded SWF has reached its final frame?

    I used loadMovie to load an external SWF into the bottom-half
    of a main "shell" swf. When that loaded SWF finishes playing (it's
    just an animation), I need to populate a text field with the word
    "DONE" . The text field resides on the _root, so I need some way to
    know when the loaded SWF has reached its last frame...
    This would obviously be easy if I had the .FLA of the loaded
    SWF because I could just write the actionscript on the last frame
    of that SWF to populate the _root textfield. Alas, I do not have
    the source FLA of that loaded SWF, so I need some way to have the
    main "shell" SWF/FLA know when that loaded SWF has reached its end.
    Is this possible???
    Thanks!!!

    DIY_Lobotomy,
    > The reality of my situation is that there's a "menu" of
    sorts that
    > gets loaded into "contentClip". This "menu" has a bunch
    of links.
    So far, so good.
    > When clicked, each link loads a DIFFERENT swf into
    "contentClip".
    > It is THOSE swfs that I need to note the end of.
    That's still okay.
    > So, there's actually more than one, and they're not
    exactly being
    > loaded directly from my main movie, since they're
    actually loaded
    > based on a link being clicked in the movie that is
    currently loaded
    > into "containerClip"
    The concept is still the same, no matter what. No matter how
    deep the
    one-clip-loads-another chain goes, you have to keep taps on
    each chain link.
    When the final link has loaded, you'll be able to make your
    object reference
    to that movie clip. That movie clip -- because it's an
    instance of the
    MovieClip class -- will have the _currentframe and
    _totalframes properties.
    You'll just be checking *that* cliip's properties instead of
    the one named
    contentClip in my own example.
    You can loop using onEnterFrame or, if you prefer, with
    setInterva().
    That doesn't much matter either, so long as you repeatedly
    poll the deepest
    clip to test its current frame against its last frame (this
    all assumes that
    the clip being tested is a linear animation whose end
    corresponds to its
    last frame; otherwise, you could check _currentframe against
    any arbitrary
    frame number).
    > I hope that wasn't too confusing! Do you still have a
    solution???
    Not too confusing to understand, but it might be confusing
    to route
    through in practice. Not confusing, actually, but meticulous
    ... you'll
    have to be careful with your pathing. Nested movie clips are
    very much like
    nested folders on your hard drive. Their instance names
    relate to the
    folder names.
    Now, if that menu doesn't have an instance name you provided
    -- or if
    any fork along the path has an instance name you can't
    control -- you can
    still reference the nested movie clips. If you test your file
    in the
    Debugger panel, you'll see all the instances laid out in
    hierarchical order.
    You'll see that automatic instance names are provided
    (something like
    "instance1", "instance2", etc.).
    David Stiller
    Contributor, How to Cheat in Flash CS3
    http://tinyurl.com/2cp6na
    "Luck is the residue of good design."

  • Just one button, but it loads 3 different flv's - possible?

    hello all,
    I have one button on stage [ btn_01 ] and I have three flv
    videos I'd like it to play. [ vid_01, vid_02, and vid_03 ].
    (I"d prefer to use the FLVPlayBack component, but if I must
    use the NetStream route, I can do that.)
    i want to make that button play those -in order- so a
    different .flv for each click, all from the same button. Possible?
    With the things I'm asking the button to do, makes me think
    of an array... but looking the ActionScript help, under
    video...would I be "showing, then hiding" the videos?
    attachVideo (Video.attachVideo method)
    //to load one, then:
    clear (Video.clear method)
    //to clear it?
    but then I'd still need some type of array (I think) to move
    from one flv to the next...
    if you've any ideas, I'd appreciate it.
    best,
    pow

    Thank you kglad.
    I appreciate all your help.
    here is my site (one small bug yet) but it's almost complete.
    You should recognize some functionality features, cause you helped
    me with them. >smile.
    the one bug I've yet to fix is a handler issue I believe. If
    you have a chance I'd very much appreciate your thoughts/help.
    if you go to my site:
    www.jimsbook.com
    >near left of three windows on home page is nav.
    >click flash
    >on this page, if I click on one of the four buttons
    (bottom right hand of page) they gotoAndPlay a swf at a specific
    place on the timeline. works.
    if I click the next button, it works. but if I repeatedly
    click on btns 1-3, the go nowhere on the second click, but on the
    third, they play correctly. so they alternate, play, then nothing,
    then play again. btn 4 goes to next scene on second click.
    I've stops on frame labels above each of the four swf
    sections on the timeline, and am not understanding why the button
    does not behave the same way every click. I'm sending it to a
    specific label. shouldn't it repeat that whether I press it twice
    or twenty times?
    if you notice any reason as to why that'd be happening...I'd
    appreciate your thoughts.
    and thanks for your past help, wouldn't have been able to
    make this without yours and other's help.
    (now maybe if I can get a job...>smile)
    button name: "btn_04"
    label name: "ggcStart"
    empty movie clip to display swf: "swfHolder_ggc"
    swf: "ggc_creature"
    <code
    btn_04.onRelease = function(){
    this._parent.gotoAndPlay("ggcStart");
    this._alpha = 45;
    var container:MovieClip =
    createEmptyMovieClip("swfHolder_ggc",
    getNextHighestDepth());
    var mcLoader:MovieClipLoader = new MovieClipLoader();
    mcLoader.addListener(this);
    mcLoader.loadClip("siteAssets/flash/ggc_creature.swf",
    container);
    function onLoadInit(mc:MovieClip) {
    trace("onLoadInit: " + mc);
    /code>

  • Flash 9 button sound bug? Sound in Over frame plays again when clicked

    I've been using Flash for years and I've only just noticed this problem, I guess because I haven't had much call for noisy buttons for a while. In the olden days (FlashMX and earlier) I swear that I could make a button, put a keyframe on the Over frame and attach an Event sound to it, put a keyframe on the Down frame and attach a different Event sound to it and the first sound would ONLY play when the button was rolled over and the second sound would ONLY play when the button was clicked. I just tried doing the same in Flash 9 and when I click on the button, not only does the Down sound play, but the Over sound also plays simultaneously. They're both in the same layer, but the "Over" sound only has its keyframe and the very next keyframe under "Down" is the Down sound.
    Switching the sync to Start makes no difference. Synching with Stop on the "Down" frame for the "Over" sound sort of works if there is no Down sound, but there's still a brief snippet of the sound. If I add the Down sound back on new layer, the original problem returns. Of course Streaming doesn't work at all.
    This is incredibly maddening, especially since I found this old tutorial on Kirupa that shows exactly what I want, and what I can no longer get in Flash 9, apparently:
    http://www.kirupa.com/developer/flash5/buttonsound.htm
    I've attached a demo .swf.
    Thanks in advance

    maijakg,
         You've stumbled onto a good one!  If memory serves me right, the Kirupa article indeed shows how this used to work (Kirupa is always top notch), but this behavior changed in one of the recent versions of Flash Flayer.  Not sure now if it was 8, 9, or what.  It should be easy enough to pinpoint with one of the legacy Flash Players at http://www.adobe.com/go/tn_14266.
         This issue is easy enough to address with ActionScript, which may not be what you want to hear.  Still, it's an option.    I'll go into that in just a minute.  If you want to stick with the button timeline ... well, I'm finding that this proves to be a challenge (and it really shouldn't be).  I notice, for example, that I can create an empty movie clip symbol, put my Over sound in frame 1 of that symbol (Event sound), and then drag that symbol into the Over frame of the button.
         That does keep the audio from repeating when I actually click the button -- that is, when I enter the Down frame -- so that does work.  You can put your Down audio directly into the button's Down frame, but ... using this approach, you'll hear the Over sound when you release the mouse, even if the mouse hasn't left the button.  That's because the movie-clip–with-audio in the Over frame is summoned again when the mouse lifts, and that naturally causes the movie clip in that frame to play its audio again.
         Here's how you can do exactly what you want using ActionScript.
    // ActionScript 2.0
    var overSound:Sound = new Sound();
    overSound.attachSound("sndOver");
    var downSound:Sound = new Sound();
    downSound.attachSound("sndDown");
    btn.onRollOver = overHandler;
    btn.onPress = pressHandler;
    function overHandler():Void {
        overSound.start();
    function pressHandler():Void {
        downSound.start();
         Here's what's going on.  In the first two lines, I've declared a variable -- arbitrarily named overSound -- and set it to an instance of the Sound class.  At this point, the variable overSound contains all the rights and priviledges of a sound object, because that's exactly what it is.  If you look in the Sound class entry of the ActionScript 2.0 Language Reference, you'll see that it has an attachSound() method (methods are things an object can do; they're basically verbs).  So in the second line, you'll see that I'm attaching an audio file from the library.  In ActionScript 2.0, this happens by way of a linkage identifier, which you can get to by right-clicking a sound and selecting Properties.  In the dialog box that opens, you'll see an "Export for ActionScript" checkbox.  Select that, and you can type in your identifier, which is just a unique label.  In this case, I used the same name as the variable (sndDown) -- only, the linkage identifier is referenced with quotes.
         In the second pair of lines, the same thing happens, but with a different sound.
         In the third pair of lines, I'm referencing the button symbol by way of an instance name.  To give a button an instance name, select it in the timeline and then look at the Property inspector.  You'll see an "instance name" input field.  Here, my instance name is btn, but you could choose whatever makes sense for that button's purpose.  In these two lines, I'm simply associating the Button.onRollOver event with one custom function (overHandler) and the Button.onPress event with another custom function (pressHandler).  Events are something an object can react to, and you'll see events listed in class entries too.  Because we're dealing with a button simple, the class in question is the Button class.  When a rollover or press occurs ... I want these custom fuctions to be triggered.
         Finally, the last few lines are the definitions for the custom functions.  One, overHandler(), invokes the Sound.start() method on the overSound instance of the Sound class.  The other, downHandler(), does the same for the downSound instance.
         The mechanics of the AS3 version are slightly different, but the principles are the same.  Instead of linkage identifers, AS3 has linkage classes.  When you select that "Export for ActionScript" checkbox in an AS3 document, the identifier input field will be disabled.  You'll enter an identifier-like value into the Class field, and the Base Class field will be filled in for you automatically with flash.media.Sound (just go with the default).  After that, the code goes like this:
    // AS3
    var overSound:sndOver = new sndOver();
    var downSound:Sound = new sndDown();
    btn.addEventListener(MouseEvent.MOUSE_OVER, overHandler);
    btn.addEventListener(MouseEvent.MOUSE_DOWN, pressHandler);
    function overHandler(evt:MouseEvent):void {
        overSound.play();
    function pressHandler(evt:MouseEvent):void {
        downSound.play();
         In this case, you don't need the attachSound() method anymore, because you're invoking the constructor function of each library sound itself (these are linkage classes, remember, and classes create objects directly).  The events are managed the same in princple.  Once again, each mouse event is associated with its corresponding custom function.  In AS3, this happens via the addEventListener() method.
         Finally, the custom functions invoke the Sound.play() method on each Sound instance.  Remember, these are instances of the Sound class, even though their linkage classes are actually sndOver and sndDown:  each of those inherits its functionality from the base class, which is Sound in both cases.  Note that in AS3, the method that starts audio is play(), instead of start().  Just minor differences in syntax.
         Granted, that's a lot to do -- in either version of the language -- just to associate a couple sounds with a button, but off the top of my head, it looks like scripting is the way it has to be done.  If I'm wrong, I'd love to hear about it.  Maybe there's a simpler workaround!
    David Stiller
    Contributor, How to Cheat in Adobe Flash CS4
    http://tinyurl.com/dpsCheatFlashCS4
    "Luck is the residue of good design."

  • I have tried loading 3 different cds that I just bought into Itunes and I click the import cd button and it goes through the motions of importing the cds, but when I go to my library none of these cds is there.  Help, please!

    I have tried loading 3 different cds that I recently purchased into Itunes.  I click the import cd button and Itunes goes through the motion of copying and importing the cds, but the songs are not in my music library.  I have searched everywhere to find where these cds might be, but to no avail.  Could really use some help here.  Never used to have this problem.

    Are they in the relevant artist & album folders when you look via Windows Explorer. If so something may have gone wrong with the index of the Music playlist. Download the current iTunes Free Single of the Week. I know it sounds odd, but it should fix the problem.
    If that doesn't work close iTunes and delete the hidden file sentinel from inside the main iTunes folder, then start iTunes again. It should run a consistency check when it starts up.
    tt2

  • I have two cell phone, different numbers.  Each has their own apple id.  How can i merge them so apps on one show on the other but keep their emails addresses separate on their own phone?

    Have two cell phones, different numbers.  Each has their own apple id.  How can I merge them so apps purchased on one phone show on the other.  But.as each has their own email address, I want to keep these email addresses separate on their own phone?  Thanks.

    We do this in my family now.  We have one account for purchases, so it is used to share music and apps (I think that is in Settings/iTunes & App Stores).  Each iDevice has this configured.
    Then, each of us has our own iCloud account that is configured under Settings/iCloud.  That then allows us to have our own Mail/Contacts/Calendars/Reminders/Safari Bookmarks/Notes/Passbook/Photo Stream/Documents & Data/Find My iPhone/and Backup.  That Backup piece is pretty sweet and comes in handly if you replace your iDevice.  You can just restore from it.
    So we all share the Apple Store account but we all have our own iCloud accounts to keep the rest seperate or things like you mentioned are a nightmare.
    In answer to what iCloud does for you: http://www.apple.com/icloud/features/
    Think of it as an internet based ("cloud") area for all of those items listed in my response.  What you need to remember is photo stream only maintans the last 1000 pictures so don't count it as a complete backup solution for your pictures.  Even though I rarely sync with a computer these days, I do still try to sync my phone with iPhoto (I have an iMac) so that I have copies of all of my pictures.  1000 may not stretch as far as it sounds.
    Message was edited by: Michael Pardee

  • Is there a way to get multiple email accounts on the front page of my Iphone?  Also I would like to have different sounds when I receive mail in the different accounts. Is this possible?

    Is there a way to get multiple email accounts on the front page of my iphone instead of just the generic mail icon?  Also is there a way to get a different alert sound for each email?

    No.
    You need to review this (WYSISWG):
    http://manuals.info.apple.com/en_US/iPhone_iOS4_User_Guide.pdf

  • Can i load two different itunes on the same computer for two different ipods?

    Can I load two different itunes on my computer for two different ipods?  Or how can I get it so that when I click on itunes, only my songs come up and not my wifes?  And the same for her.

    Yes.  The simplest way is to have separate Windows accounts for each user.  When either user runs iTunes, he/she will have a separate library with distinct content, playlists, etc., and can sync individual iDevices as needed.

  • How to configure different listener for each database in 11gR2 RAC

    Hi Friends,
    Current Prod Setup :
    11gR2 (11.2..0.2) RAC on RHEL 5.5 with 3 SCAN Listeners on default 1521 port.
    Having 4 databases which are using SCAN-IP and listening on default port only.
    As per policy, we have to create separate listeners (on different port) for each database.
    like,
    DB1 - 1522
    DB2 - 1523
    DB3 - 1524
    DB4 - 1525
    Even If I configure 4 listeners using NETCA, how my failover & load balancing will happen using SCAN & Newly Created Listeners ???
    Thanks in advance..
    Regards,
    Manish

    Hi,
    I tried on 11gR2 TEST RAC Server to have different listener with different port (1529) for SCAN & Node Listener & tested failover, load-balancing which was successful.
    [oracle@ravish5 admin]$ cat listener.ora
    LISTENER_A=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_A)))) # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_A=ON # line added by Agent
    [oracle@ravish5 admin]$ ps -ef | grep lsnr
    oracle 1985 1 0 00:46 ? 00:00:00 /11g_crs/11.2.0.2/product/home/bin/tnslsnr LISTENER -inherit
    oracle 1988 1 0 00:46 ? 00:00:00 /11g_database/11.2.0.2/product/home_1/bin/tnslsnr LISTENER_A -inherit
    oracle 2928 1 0 01:00 ? 00:00:00 /11g_crs/11.2.0.2/product/home/bin/tnslsnr LISTENER_SCAN1 -inherit
    [oracle@ravish5 admin]$ lsnrctl status LISTENER_A
    LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 02-MAY-2012 03:19:35
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_A)))
    STATUS of the LISTENER
    Alias LISTENER_A
    Version TNSLSNR for Linux: Version 11.2.0.2.0 - Production
    Start Date 02-MAY-2012 00:46:42
    Uptime 0 days 2 hr. 32 min. 54 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /11g_database/11.2.0.2/product/home_1/network/admin/listener.ora
    Listener Log File /11g_database/11.2.0.2/diag/tnslsnr/ravish5/listener_a/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_A)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.3.5)(PORT=1529)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.3.16)(PORT=1529)))
    Services Summary...
    Service "TEST" has 1 instance(s).
    Instance "TEST2", status READY, has 1 handler(s) for this service...
    Service "TESTXDB" has 1 instance(s).
    Instance "TEST2", status READY, has 1 handler(s) for this service...
    Service "srvc_test.clover.com" has 1 instance(s).
    Instance "TEST2", status READY, has 1 handler(s) for this service...
    The command completed successfully
    SQL> show parameter listen
    NAME TYPE VALUE
    listener_networks string
    local_listener string (DESCRIPTION=(ADDRESS_LIST=(AD
    DRESS=(PROTOCOL=TCP)(HOST=192.
    168.3.16)(PORT=1529))))
    remote_listener string ravish-scan:1529
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Testing options
    [oracle@ravish5 admin]$ srvctl config scan_listener
    SCAN Listener LISTENER_SCAN1 exists. Port: TCP:1521,1529
    [oracle@ravish5 admin]$ srvctl config scan
    SCAN name: ravish-scan, Network: 1/192.168.3.0/255.255.255.0/eth0
    SCAN VIP name: scan1, IP: /ravish-scan.clover.com/192.168.3.22
    [oracle@ravish5 admin]$ srvctl config listener
    Name: LISTENER
    Network: 1, Owner: oracle
    Home: <CRS home>
    End points: TCP:1521
    Name: LISTENER_A
    Network: 1, Owner: oracle
    Home: /11g_database/11.2.0.2/product/home_1
    End points: TCP:1529
    [oracle@ravish5 admin]$ srvctl config service -d TEST -s srvc_test.clover.com
    Service name: srvc_test.clover.com
    Service is enabled
    Server pool: TEST_srvc_test.clover.com
    Cardinality: 2
    Disconnect: false
    Service role: PRIMARY
    Management policy: AUTOMATIC
    DTP transaction: false
    AQ HA notifications: true
    Failover type: SELECT
    Failover method: BASIC
    TAF failover retries: 0
    TAF failover delay: 0
    Connection Load Balancing Goal: LONG
    Runtime Load Balancing Goal: NONE
    TAF policy specification: BASIC
    Edition:
    Preferred instances: TEST1,TEST2
    Available instances:
    TEST_NEW =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ravish-scan.clover.com)(PORT = 1529))
    (LOAD_BALANCE = yes)
    (FAILOVER = ON)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = srvc_test.clover.com)
    (FAILOVER_MODE =
    (TYPE = SELECT)
    (METHOD = BASIC)
    Actually different ports for different databases are required to have separation of duties. Once Firewall enabled betwen Client & DB Server only privileged users would have access to particular database.
    Regards,
    Manish

  • AHH!  FLOATING AUDIO METER FAILS TO REGISTER EACH FRAME'S LEVEL!

    I have a problem regarding the floating audio meter - ie, the small 2 track meter that usually sits next to the tools strip in the standard window setup. For some reason, when I scroll along clips in my timeline (using the left/right arrow keys) it doesnt show the levels of each individual frame, nor does it produce the sound that should be heard from that specific frame. This is a huge problem for me, as I am trying hard to sync up clips to music, and I am now stuck with just guessing where I should cut it based on intuition. Also, along with the floating audio meter, the actual audio mixer doesn't register the levels either when trying to move frame by frame. I must make it clear that when in preview(play) mode, the audio does register and can be seen moving along with the sounds produced, but when i press space(stop) it(the level of audio) simply stays put, and does NOT change from the time that I last stopped playing the sequence.
    If I am being to confusing, I am trying to be able to (while moving frame by frame with the arrow keys) see and literally hear each individual frame in efforts to make synchronizing a **** of a lot easier and more practical.
    This has never been a problem before, and has just recently burdened me. I have tried restarting the settings/preferences, starting new projects, looking in the manual, etc. No dice. Can someone please help me restore FCP's ability to hear each frames audible material, as well as witness each specific decibel level of the individual frames as I arrow across?

    Well...
    if you make sure scrubbing is on, that would help.
    You can also turn on the waveforms in the timeline tracks.
    That should help too.

  • Drop Down List in a table - different options for each row

    How can i have a drop down list in a table with different options for each row?
    My requirement is this.. I want to display, say employee dtails in a table, and one column is employee hobbies, whcih can have multiple values and each employee may have a different list of hobbies. So how can we populate the drop down for each row, with different options?

    Hey. Uh, this probably isn't the answer you were looking for, but it sounds like you've got a problem with your database design there. Generally speaking, your tables shouldn't have multi-valued fields, in the relational model anyway (sql). Instead, you should look at adding a separate table like EMPLOYEE_HOBBIES. Then you have a foreign key using the employees primary key as the foreign key in the employee_hobbies table, see what I mean? I might have misunderstood your explanation though, I'm not sure.
    Alternatively, you could just have hobbies as a big freeform varchar field, and don't bother to make people separate their hobbies into different fields (you'd have to abandon the drop-down listbox idea in this case). If there's no really important reason to make the distinction, then it's probably easier just to not do it.

  • How to parse RSS Feed - Different URL for each button

    I'm making an app with AS3 and I want to be able to load a different RSS Feed when the user clicks on each button. This is the code I have so far, has anyone any idea how I can modify my code to do this?
    here's my code so far:
    //IMPORT CLASSES
    import fl.controls.List;
    import flash.net.URLLoader;
    import flash.events.Event;
    import flash.net.URLRequest;
    cGOSSIP.addEventListener(MouseEvent.CLICK, doClick);
    function doClick (e:MouseEvent):void
    cGOSSIP.gotoAndStop ("GOSSIP"); 
    wNEWS.addEventListener(MouseEvent.CLICK, doClick2);
    function doClick2 (e: MouseEvent):void
              wNEWS.gotoAndStop ("WORLD NEWS");
    eNEWS.addEventListener(MouseEvent.CLICK, doClick3);
    function doClick3 (e: MouseEvent):void
              eNEWS.gotoAndStop ("ENT NEWS");
    fbNEWS.addEventListener(MouseEvent.CLICK, doClick4);
    function doClick4 (e: MouseEvent):void
              fbNEWS.gotoAndStop ("FB NEWS");
    //NEWSLIST FORMATTING
    var newsListTf:TextFormat = new TextFormat();
    newsListTf.font = "Verdana";
    newsListTf.color = 0xFFFFFF;
    newsListTf.size = 18;
    newsListTf.align = "left";
    newsList.setRendererStyle("textFormat", newsListTf);
    newsList.rowHeight = 100;
    newsList.allowMultipleSelection = false;
    //newsList.wordWrap = true;
    //NEWSDISPLAY TEXT AREA FORMATTING
    var rssStoryTf:TextFormat = new TextFormat();
    rssStoryTf.font = "Verdana";
    rssStoryTf.color = 0x6699CC;
    rssStoryTf.size = 22;
    rssStoryTf.align = "left";
    rssStory.setStyle("textFormat", rssStoryTf);
    //READMORE BUTTON FORMATTING
    var buttonTf:TextFormat = new TextFormat();
    buttonTf.font = "Verdana";
    buttonTf.color = 0xFFFFFF;
    buttonTf.size = 22;
    btn_ReadMore.setStyle("textFormat", buttonTf);
    //RSS FEED
    var rssLoader:URLLoader = new URLLoader();
    var rssURL:URLRequest = new URLRequest
    ("http://rssfeeds.tv.adobe.com/adobe-higher-education-solutions.xml");
    rssLoader.addEventListener(Event.COMPLETE, rssLoaded);
    newsList.addEventListener(Event.CHANGE, selectRssStory);
    btn_ReadMore.addEventListener(MouseEvent.CLICK, goToURL);
    rssLoader.load(rssURL);
    var newsXML:XML = new XML();
    var currentStoryURL:URLRequest = new URLRequest();
    newsXML.ignoreWhitespace = true;
    function rssLoaded(evt:Event):void
    newsXML = new XML(rssLoader.data);
    //trace(newsXML);
    for(var item:String in newsXML.channel.item) {
    //newsList.addItem({label: newsXML.channel.item[item].pubDate.substr(0, 16)
    //+": " + newsXML.channel.item[item].title } );
    newsList.addItem({label: newsXML.channel.item[item].title.substr(0, 40)
    +" ..." } );
    newsList.selectedIndex = 0;
    //FIRST LOAD
    currentStoryURL = new URLRequest(newsXML.channel.item[0].link);
    rssStory.htmlText = newsXML.channel.item[0].description;
    function selectRssStory(evt:Event):void
    rssStory.htmlText = newsXML.channel.item[evt.target.selectedIndex ].description;
    currentStoryURL = new URLRequest(newsXML.channel.item[evt.target.selectedIndex
    ].link);
    function goToURL(event:MouseEvent):void
    navigateToURL(currentStoryURL);

    I copied the wrong code, it works and loads the feed but I have a number of buttons in the main menu and I want to be able to load a different rss feed for each button?
    Here's the code.
    btn_Home.addEventListener(MouseEvent.CLICK, clickHome);
    function clickHome(e:MouseEvent):void
              gotoAndStop ("START");
    //NEWSLIST FORMATTING
    var newsListTf:TextFormat = new TextFormat();
    newsListTf.font = "Verdana";
    newsListTf.color = 339999;
    newsListTf.size = 18;
    newsListTf.align = "left";
    newsList.setRendererStyle("textFormat", newsListTf);
    newsList.rowHeight = 100;
    newsList.allowMultipleSelection = false;
    //newsList.wordWrap = true;
    //NEWSDISPLAY TEXT AREA FORMATTING
    var rssStoryTf:TextFormat = new TextFormat();
    rssStoryTf.font = "Verdana";
    rssStoryTf.color = 0x6699CC;
    rssStoryTf.size = 22;
    rssStoryTf.align = "left";
    rssStory.setStyle("textFormat", rssStoryTf);
    //READMORE BUTTON FORMATTING
    var buttonTf:TextFormat = new TextFormat();
    buttonTf.font = "Verdana";
    buttonTf.color = 0xFFFFFF;
    buttonTf.size = 22
    btn_ReadMore.setStyle("textFormat", buttonTf);
    //RSS FEED
    var rssLoader:URLLoader = new URLLoader();
    var rssURL:URLRequest = new URLRequest
    ("http://www.tmz.com/rss.xml");
    rssLoader.addEventListener(Event.COMPLETE, rssLoaded);
    newsList.addEventListener(Event.CHANGE, selectRssStory);
    btn_ReadMore.addEventListener(MouseEvent.CLICK, goToURL);
    rssLoader.load(rssURL);
    var newsXML:XML = new XML();
    var currentStoryURL:URLRequest = new URLRequest();
    newsXML.ignoreWhitespace = true;
    function rssLoaded(evt:Event):void
    newsXML = new XML(rssLoader.data);
    //trace(newsXML);
    for(var item:String in newsXML.channel.item) {
    //newsList.addItem({label: newsXML.channel.item[item].pubDate.substr(0, 16)
    //+": " + newsXML.channel.item[item].title } );
    newsList.addItem({label: newsXML.channel.item[item].title.substr(0, 40)
    +" ..." } );
    newsList.selectedIndex = 0;
    //FIRST LOAD
    currentStoryURL = new URLRequest(newsXML.channel.item[0].link);
    rssStory.htmlText = newsXML.channel.item[0].description;
    function selectRssStory(evt:Event):void
    rssStory.htmlText = newsXML.channel.item[evt.target.selectedIndex ].description;
    currentStoryURL = new URLRequest(newsXML.channel.item[evt.target.selectedIndex
    ].link);
    function goToURL(event:MouseEvent):void
    navigateToURL(currentStoryURL);

Maybe you are looking for

  • S.M.A.R.T.--is it?

    I've been noticing the "S.M.A.R.T. capable but disabled" go by when my system boots up, so I looked it up in the manual.   So now I know what it is, but what I want to know is: is anyone using this?

  • Jdeveloper shutting down when opening GUI...

    I've just began to test the tutorials and encountered this nasty problem : making the project, everything is Ok, but after some steps (arbitrary : the problem never occurs at the same moment), when I try to open the design of my form (tutorials : Bui

  • How to include excluded function from Responsibility

    Hi we are using oracle11i(11.5.10.2) on windows i want to include function from a responsibility which has been excluded . Thanks With Regards OH

  • Can't open new version of Photoshop

    I have installed Photoshop CS5.1.  When I try to open it, I get the message "You can't open the application "Adobe Photoshop CS5.1" because it is not supported on this architecture."  I have Mac OS X, Version 10.5.8, Processor 2.66 GHz Intel Core 2 D

  • About production cost

    Hi guys Now I want to calculate the cost of the production cost. So i got the material cost, activity cost ,overhead cost from coep. But are these cost the actual cost or plan cost ? AND where can i get the variance cost between plann cost and actual