How to control the volume of all sounds in the movie (even if they were in the time line (no instance name)

Hi,
I need to control the volume of all sounds in the movie even
if they were in the timeline so they do not have an instance name,
by AS3.0 code?
thanks a lot.

:
var st:SoundTransform=SoundMixer.soundTransform;
st.volume=whatever;
SoundMixer.soundTransform=st;

Similar Messages

  • How to extend the time line for the premiere on mac pro mavericks

    how to extend the time line for the premiere on mac pro mavericks

    Wrong place.
    Try the Adobe Premiere forum.
    http://forums.adobe.com/community/premiere
    Good luck,
    x

  • How to control the time.

    I 'am a Java beginner but already know OOP.
    I would develop an alarm which helps me to remember my appointment of the day, i.e. I schedule at the 17:00 the dentist appointment, so my application alrm me.
    I need a class that monitors the clock fo my PC and when it 's 17:00 my application start.
    I thought to use the class Timer (in particular the scheduler method).
    Thank you in advance.

    You can use the Timer or TimerTask and schedule a task every 1 minute.
    In the task, you have to
    1. Use getHours() to get the current hour.
    2. Compare it with the alarm time.
    If equal, set off the alarm..

  • Require help controlling the time line of movie with AS 2.0

    I am trying to control a movie clip via action script through a button.
    My Flash File has a master movie clip "masterMC" that contains all of
    the movie clips for the flash movie.  It is essentially a calendar that
    when the user clicks on a date a small box pops up with the event(s)
    scheduled for that day.
    Inside "masterMC" there is a movie clip "calendar" and a movie clip
    "events" both with similar instance names.  Inside the "calendar" movie
    clip are calendar graphics of different months (oddly enough) where the
    dates on which an event falls is a button symbol.  I have a layer in the
    "masterMC" that holds the action script for the buttons.  I am trying
    to, when a button I pressed, trigger a specific frame to play in the
    "events" movie clip that brings up the box with the events.  One of my
    button's code looks like:
    Oct18_btn.onRelease = function (){
        eventsMC.gotoAndPlay("oct18");
    I have verified all instance names, frame names, letter case etc... And
    cannot figure out why when I test the movie nothing happens when I click
    the button.  Is there a problem in the code or could it be something
    else?  Thank you.

    I apologize for harping on about this, I have been away for a couple weeks and just saw this.  I think this is the case.  The "eventsMC" and "calMC" are in the "masterMC" however the button is inside of another movie clip called "octMC" within the "calMC" therefore I cannot seem to manipulate the action script correctly to achieve the result I want.  I have tried everything that has been posted as a possible solution and have gotten nowwhere.  I tried putting the script directly on the button as:
    on(release){
         eventsMC.gotoAndPlay ("oct11");
    and all varients using "_root." etc... and have gotten nothing.  I attached the .fla file if anyone is willing to take a look and help me; the only button I have been working is the one for OCT 11.  I simply want to repeat the same process each time an event falls within a day of the month.  Thank you.

  • How to make the Time Line in Vertical ?

    Hi All
    I have created a Schedule Board using the Schedule Viewer but
    including the Flexlib in my project .
    Now the thing is that the Timeline which us to come on the
    top of the
    ScheduleViewer I need to get that Time line Vertically in
    left side
    of the ScheduleViewer to display the time in left side,and
    all the
    date's in the top .
    How can I do that to get the Timeline Vertically and the Date
    at the
    position of TimeLine .
    Thanks
    Vivek Manchanda
    Theikos IT Solution

    One improvement.. To get a line that is neat, use a bit of Graphics2D
        public void paintComponent(java.awt.Graphics g)
            int w = getSize().width;
            int h = getSize().height;
            // draw a line between (0,0) and (w,h)  
            g.setColor(getForeground());
            if (strTop == null)
                strTop = "  ";
            if (strBottom == null)
                strBottom = "  ";
                java.awt.Graphics2D g2 = (java.awt.Graphics2D)g;
              g2.setRenderingHint(java.awt.RenderingHints.KEY_ANTIALIASING,java.awt.RenderingHints.VALUE_ANTIALIAS_ON);
              //g2.setStroke(new java.awt.BasicStroke(14.0f));
            g.drawLine(0, 0, w, h);
            //the following lines will draw the two strings,
            //one above the top of the line and the above below it.     
            g2.drawString(strTop, (w/2)+2, (h/2)-2);
            g2.drawString(strBottom, 2, (h / 2) + 2);
            //the x,y for drawString are only based on assumption.   //do necessary changes to suit ur needs.
        }Then create a TableCellRenderer and set it to the Table Header for ur table's 1st row.....
    Cheers

  • How to Remove the Last line of Instance in subform ?

    I thought I ran across an example in this forum of how to specify which instance you want to delete from a subform but I can not find it. I can get removeInstance to work but it removes the top line and I just want it to remove the bottom or last instance that was added. I can do it if I only had 2 instances and tell it to removeInstance(1); but the form is going to be dynamic and there will be more than 2 lines when people start to use the form.

    I've found the reason... :-)
    I'm using the designer from Acrobat professional instead of the designer from Adobe LiveCycle.
    I've got Acrobat professionnal 7.0.0 and trying your sample it didn't function.
    Knowing that there was a new version of Acrobat professional (7.0.7)I've installed it, and now your sample function.
    I have to mention that the count method is not listed in the choice menu that appears when you're typing code inside the designer. It means that some functions have to be tryed even if the popup menu of the list of available methods doesn't mention it.. (in this case it's the count method)... :-)
    There are a lot of things like that (for example there is the checkbox problems that are not good managed before Acrobat Reader 7.0.7, and Acrobat professional 7.0.7)
    So I suggest to the developpers that are reading this post to always install the last version of Acrobat Reader, Acrobat Professionnal, Designer, in order that everything goes well with the product.
    gpalmieri

  • How to control the line-in volume input via LabView?

    Anyone know how to control the line-in volume and balance input via LabView?

    I assume you are referring to audio line-in volume control and lerft-right balance...
    If so, then check out this thread:
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000D83A0000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0
    Look at the info near the bottom from Paul S & Spectre. They talk about "winmm.dll"
    -cheers-
    JLV

  • How to load and display the external flv video files in dynamicly and the how to control the flv fil

    How to load and display the external flv video files in dynamicly using AS 3.0
    and  How to control the flv file  add the play paus button and add seekbar.
    I have using to load the flv file following code
    var flvPlaceHolder1:MovieClip = new MovieClip();
    var vid1:Video = new Video(734, 408);
    flvPlaceHolder1.addChild(vid1);
    addChild(flvPlaceHolder1);
    flvPlaceHolder1.x = 1059;
    flvPlaceHolder1.y = 152;
    var nc1:NetConnection = new NetConnection();
    nc1.connect(null);
    var ns1:NetStream = new NetStream(nc1);
    vid1.attachNetStream(ns1);
    var listener1:Object = new Object();
    listener1.onMetaData = function(evt:Object):void {};
    ns1.client = listener1;
    ns1.play("GV-1600 TURNING.flv");
    ns1.addEventListener(NetStatusEvent.NET_STATUS, statusChanged1);
    function statusChanged1(ns1:NetStatusEvent):void
             trace(ns1.info.code);
            if (ns1.info.code == 'NetStream.Buffer.Empty')
                 trace('the video has ended');
                 removeChild(flvPlaceHolder1);
                 //trace('removeChild');
                gotoAndPlay(1786);
    then how to add the play,paus ,full screen button    and   seekbar,volumebar.

    I have to Create the flash presentation for our company product
    In this presentation the left  side the text animation are displayed then right side the our product video is displayed.
    In this presentation i need the following option :
    1, The first product video and animation is finished then the next product is played
    2, then the video displayed  (size width and height 400x300) , I click this video to increase the size(ex:1000x700)
    3, then the playing video i control  it play, stop, paus button and volume bar, seek bar.
    4, then this presentation is displayed on 42 inches LCD TV so this full presentation is run full screen.
    I have finished first two steps 1 and 2
    the following are the screen short and code:-
    code :-
    var count=0;
    var flvPlaceHolder2:MovieClip = new MovieClip();   
    var vid2:Video = new Video(734, 408);
    flvPlaceHolder2.addChild(vid2);
    addChild(flvPlaceHolder2);
    flvPlaceHolder2.x = 1059;
    flvPlaceHolder2.y = 152;
    var nc2:NetConnection = new NetConnection();
    nc2.connect(null);
    var ns2:NetStream = new NetStream(nc2);
    vid2.attachNetStream(ns2);
    var listener2:Object = new Object();
    listener2.onMetaData = function(evt:Object):void {};
    ns2.client = listener2;
    ns2.play("GS-4000.flv");
    this.addEventListener(Event.ENTER_FRAME, BtnFadeIn2);
    function BtnFadeIn2(event:Event):void
        if (this.currentFrame == 387)
            /*flvPlaceHolder2.x = 30;
            flvPlaceHolder2.y = 140;
            vid2.width=1800;
            vid2.height=800;
            trace('Screen size is changed');*/
            if(count==0)
            flvPlaceHolder2.x = 30;
            flvPlaceHolder2.y = 140;
            vid2.width=1800;
            vid2.height=800;
            count++;
    ns2.addEventListener(NetStatusEvent.NET_STATUS, statusChanged2);
    function statusChanged2(ns2:NetStatusEvent):void
        trace(ns2.info.code);
        if (ns2.info.code == 'NetStream.Buffer.Empty')
                trace('the video has ended');
                 removeChild(flvPlaceHolder2);
                 //trace('removeChild');
                gotoAndPlay(433);
    flvPlaceHolder2.buttonMode=true;
    flvPlaceHolder2.addEventListener(MouseEvent.CLICK,home2);
    function home2(e:MouseEvent):void
        if(vid2.width==734 && vid2.height==408)
            flvPlaceHolder2.x = 30;
            flvPlaceHolder2.y = 140;
            vid2.width=1800;
            vid2.height=800;
        else
            flvPlaceHolder2.x = 1059;
            flvPlaceHolder2.y = 152;
            vid2.width=734;
            vid2.height=408;

  • How to control the number of fields in the Advanced mode in af:query

    Hi,
    How to control the number of fields in the Advanced mode in <af:query>?
    Say i have 20 fields in my table and i created a view criteria with 2 fields. It would work perfectly in Basic mode. But in the Advanced mode all other fields selection is possible on clicking the ADD Fields button. I did not want the client to make a search with all 20 fields. Only 10 fields are to be listed in the Advanced Mode even though there are 20 fields in my table.
    How do i control the list of fields in ADDFields button?
    Any ideas?
    KR

    You can uncheck the Querable property of the attributes which you need not show up in the Advanced Mode (but they will not show up in other modes too !) or programatically set the same as mentioned here -
    http://adfcodebits.blogspot.com/2010/11/bit-27-setting-view-object-attributes.htmlAlso you can hide the AddFields button as suggested here - http://www.notjustjava.com/2011/12/cool-tips-to-showhide-components-of-the-query-control-of-adf/

  • How to control the opening form multiple times

    Greetings to all,
    I used Open_Form to open the form in my 'Menu.mmb'.
    My Question is:
    How we control the opening of a form from multiple times?
    Ex:
    In my menu.mmb I used OPEN_FORM.If we open the form,which was already opened ,I want to stop the form to open. How to do this?
    Thanks,
    Bhujendra

    pls try with
    FIND_FORM('EMPDETAILS1');
    OPEN_FORM('C:\INH\EMPDETAILS1');
    jeneesh                                                                                                                                                                                           

  • How to control the rounding rule at answer?

    Hi grus,
    I use the BIEE 11.1.1.6.5.
    And I create the 2 answers(A and B) with a same column which setting is same column formula and data format(Treat Numbers As "number", Decimal places "2") on column properties.
    Then I run the answer A that the value is 3.68( this column's SQL value is 3.675, so this means rounding up the value)
    But I run the answer B with same criteria that the value is 3.67(this means truncating the value)
    Why do these difference happen?
    How to control the rounding rule?
    Best Regards,
    Takashi

    Hi,
                 When add the Itemcode, default warehouse and costing codes (Profit Center) are automatically asign by SAP.
    When change the warehouse for this Itemcode, the costing codes(Profit Center) are disappear. I don't want to disappear the costing codes, that's why I try to resign the default costing codes when the warehouse change.
                At SAP 2005, easily  access the screen matrix in the marketing document and add the required values in each costing codes columns. But SAP 2007, all costing codes are combined in 1 col and those have the other screen.
              Do you have any idea to control the costing codes?
    Thanks and regards,
    Lei Nandar Myint

  • How to control the permission for reports in share folder?

    Hi Experts,
    In OBIEE 11.1.1.6.0.
    I have created two folders in share folder,one is sales folder which contains some sales reports,and the other is dashboard folder which contains some dashboard pages that have these sales reports.
    So I want to new users who do not access the sales folder, but can view the sales reports in dashboard pages.
    How to control the permission for reports in share folder? Thanks for your help.
    Note: Dashboard pages have whole sales reports for showing.

    Hi User,
    1. Give access to the users for all reports.
    2. Give No Access to Retail Folder
    3. GIve read or full access to dashboard folder.
    To set the permission , click on the object/folder bottom left you will find Permission. you set there.
    Mark if correct,
    fiaz

  • How to control the canvas of the ADF Read-Only Form

    Hi
    Could you give an idea of how to control the canvas of the fields in ADF Read-Only form. My requirements are as follows
    1) ALL the labels has to left justified irrelevant of their length
    2) ALL the values also has to left justified and should be wrapped if it exceeds some length.
    3) I want to show the results in more than one column with proper alignment as mentioned above.
    Thanks in advance.
    Sivaji.......

    Sivaji,
    There is a "rendered" attribute on the af:table component. You can write EL to pragmatically control the evaluated value of expression to set the visibility.
    Assuming you are using BC for your middle layer you can do something like the following:
    <af:table ...
    rendered = #{YourDetailViewObject.somestring.inputValue != null}
    ..>
    Z

  • How to control the options in Search popup of an LOV?

    I have a query panel which is based on a view criteria of a view object. One of the query item is a ComboListOfValues. I do not have control over the 'Search' window which opens when we click on the LOV inside the Query Panel. Basically, I want to control the width of the results table and I do not want the title('Search') for the dialog. Also, I want to hide the Advanced button. Is there any way to do it?

    Hi,
    Below is my code for the popup. What I am saying is, inside the popup I have a search parameter which in ComboListOfValues. On click on that LOV it will invoke a search popup on which we do not have control. How to control the properties in that search popup. I am not talking about initial popup(id=popup1) on which we have control and I have set all the properties. I am talking about a LOV search parameter inside the query panel(id = qryId2).
    <af:popup id="popup1" contentDelivery="lazyUncached"
    popupFetchListener="#{popUpBean.candSearchListener}">
    <af:dialog id="dialog1" type="cancel"
    title="Search Candidates"
    stretchChildren="first" contentWidth="920"
    contentHeight="480">
    <af:panelGroupLayout layout="vertical" id="pgl30">
    <af:panelHeader text="" id="ph2">
    <af:query id="qryId2" headerText=""
    disclosed="true"
    value="#{bindings.SearchCandVOCriteriaQuery.queryDescriptor}"
    model="#{bindings.SearchCandVOCriteriaQuery.queryModel}"
    queryListener="#{bindings.SearchCandVOCriteriaQuery.processQuery}"
    queryOperationListener="#{bindings.SearchCandVOCriteriaQuery.processQueryOperation}"
    resultComponentId="::resId2"
    modeChangeVisible="false"
    saveQueryMode="hidden"
    modeButtonPosition="footer"
    binding="#{popUpBean.searchCandQuery}"/>
    </af:panelHeader>
    <af:table value="#{bindings.SearchCandVO1.collectionModel}"
    var="row"
    rows="#{bindings.SearchCandVO1.rangeSize}"
    emptyText="#{bindings.SearchCandVO1.viewable ? 'No data to display.' : 'Access Denied.'}"
    fetchSize="#{bindings.SearchCandVO1.rangeSize}"
    rowBandingInterval="0"
    selectionListener="#{treeSelectionBean.candDetailsSelect}"
    rowSelection="single" id="resId2"
    inlineStyle="width:inherit;">
    <af:column sortProperty="CandidateId" sortable="true"
    headerText="Candidate Id" id="resId2c1" width="80">
    <af:commandLink text="#{row.CandidateId}" id="cl4"
    actionListener="#{treeSelectionBean.candSearchListener}">
    <af:setActionListener from="#{row.ClientId}"
    to="#{pageFlowScope.clientId}"/>
    <af:setActionListener from="#{row.PeopleId}"
    to="#{pageFlowScope.candPeopleId}"/>
    </af:commandLink>
    </af:column>
    <af:column sortProperty="Fullname" sortable="true"
    headerText="Candidate Name" id="resId2c2" width="160">
    <af:outputText value="#{row.Fullname}" id="ot42"/>
    </af:column>
    <af:column sortProperty="ClientName" sortable="true"
    headerText="Client Name" id="resId2c3" width="165">
    <af:outputText value="#{row.ClientName}" id="ot41"/>
    </af:column>
    <af:column sortProperty="InterviewName" sortable="true"
    headerText="Interview Name" id="resId2c4" width="215">
    <af:outputText value="#{row.InterviewName}"
    id="ot40"/>
    </af:column>
    <af:column sortProperty="InterviewDate" sortable="true"
    headerText="Interview Date" id="resId2c5" width="100">
    <af:outputText value="#{row.InterviewDate}"
    id="ot38">
    <af:convertDateTime pattern="#{bindings.SearchCandVO1.hints.InterviewDate.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="CandStatusName"
    sortable="true"
    headerText="Candidate Status" id="resId2c6" width="160">
    <af:outputText value="#{row.CandStatusName}"
    id="ot39"/>
    </af:column>
    </af:table>
    </af:panelGroupLayout>
    </af:dialog>
    </af:popup>
    Thanks!

  • Any ideas on how to control the amount of sustain pedal data that Logic Pro 9 records? Every time I press the sustain pedal down, it records 4 sustains. Same thing when I release the pedal. Thanks!

    Any ideas on how to control the amount of sustain pedal data that Logic Pro 9 records? Every time I press the sustain pedal down, it records 4 sustains. Same thing when I release the pedal. Thanks!

    This gets confusing, you have two Macs with different issues and two pedals with different issues? First let's sort out what's what. So, do the issues come from the pedals or from the Mac software? To find out, simply switch the pedals and note their behaviour. No change: it's the software, change: it's the pedals (imho the most likely scenario).
    Second, what kind of pedals are they? Can you name the type of pedal too? The Yamaha what and the Mgear which?
    Third, with the 4 fold data problem, are the doubled events simultaneous, or a few ticks apart, or more?
    Also, you have no MIDI keyboard? Are the pedals both "standalone"?
    I think you have to sort this problem at its' source, which are the pedals. You could, if push really comes to shove, perhaps create some sort of ingeneous/elaborate transformer setup in the environment to filter the extra messages, although with the 4/4 sustain events that may not even be possible. With the "stepped" events you could set up a filter to just block all events with values 20-110 or so.
    But much better would be to configure the pedal(s) correctly.

Maybe you are looking for