One tray for multiple button group items

Hi,
I have 3 button group items in my templaate ,in the propoerties of these button grps the tray is on .NOw I can see 3 trays when I execute my template instead I want to have one tray for these 3 button group items . How is this possible?
THanks
Sany

OK, I'm having trouble again. I need multiple items to drag
to one target. I'm putting all my actionscript in the same frame,
and here's how it looks:
stop();
name_mc.onPress = function():Void {
this.startDrag(true);
name_mc.onRelease = function():Void {
this.stopDrag();
if (eval(this._droptarget) == safe_mc) {
this.swapDepths(this._parent.getNextHighestDepth());
this.removeMovieClip();
address_mc.onPress = function():Void {
this.startDrag(true);
address_mc.onRelease = function():Void {
this.stopDrag();
if (eval(this._droptarget) == safe_mc) {
this.swapDepths(this._parent.getNextHighestDepth());
this.removeMovieClip();
And I'm getting the following error message:
**Error** Scene=Recap, layer=actions, frame=1:Line 21:
Statement block must be terminated by '}'
address_mc.onRelease = function():Void {
**Error** Scene=Recap, layer=actions, frame=1:Line 27: Syntax
error.
Total ActionScript Errors: 2 Reported Errors: 2
Do you know what I'm doing wrong?

Similar Messages

  • One function for multiple buttons?

    I have a county map on my timeline with a list of each county as buttons ( there is 88 counties). I want to highlight the county on the map when I click the county's name from a list.
    when I test this out, only the last one gets highlighted. I know I am missing something really simple. it does work if I write code for each button but I can't to seem to get it to work with only writing the function once for all buttons
    var countyHigh:MovieClip = adamsHighlight;
    var countyCheck:MovieClip = kickout.adamsCM;
    kickout.adamsCheck_btn.addEventListener(MouseEvent.CLICK, highlightCounty);
    kickout.allenCheck_btn.addEventListener(MouseEvent.CLICK, highlightCounty);
      countyHigh = allenHighlight;
      countyCheck = kickout.allenCM;
    kickout.ashlandCheck_btn.addEventListener(MouseEvent.CLICK, highlightCounty);
      countyHigh = ashlandHighlight;
      countyCheck = kickout.ashlandCM;
    function highlightCounty(event:Event):void{
      if   (countyHigh.alpha == 0)
           countyHigh.alpha = .5;
      else  countyHigh.alpha = 0;
       if(countyCheck.alpha == 0)
       countyCheck.alpha = .5;
      else
      countyCheck.alpha = 0;
    when I click all there buttons, the all highlight ashland county instead of their own county. I am using Flash Professional CS5 and only been playing with Flash for about a year.

    var previouslyHighlightedCounty:Movieclip;
    function highlightCounty(e:MouseEvent):void{
    if(previouslyHighlightedCounty){
    //reset previouslyHighlightedCounty. ie, un-highlight
    // highlight e.currentTarget
    e.currentTarget=previouslyHighlightedCounty

  • One delivery for multiple STO's

    Folks,
    I have multiple STO's for the same ship-to (plant). Items due for shipping would need to be combined into 1 delivery and not 1 delivery per STO.
    Would this be possible? And if yes, how?
    Thanks,
    MZ

    Hi ,
    Yes , We can create one delivery for multiple PO's .
    Go to VL10D tcode --> Purchase order tab -- > enter the STO's and press execute
    Select the STO's and click on background tab. Then it creates the log
    Select the item again and press shift +F4
    It will gives the log inforamation for the STO's and select the item and press on documents tab.
    It will creates only one Delivery for all the STO's.
    Now go to VL02N tcode and enter the delivery number then goto picking tab then enter picking qnty = delivery qnty
    then press on " post goods issue "
    Now go to MIGO to do the goods reciept then enter all the STO's here and check the item then save .
    Only one document will be posted for all the STO's
    Regards,
    Usha.

  • One OCS for multiple Company´s ???

    Hello,
    It´s possible to install multiple "areas" on one OCS? We want to provide a OCS for our customers. They shouldn´t see other caledars or adress-book. Only ther own "area".
    KR
    Mathias

    Hi ,
    Yes , We can create one delivery for multiple PO's .
    Go to VL10D tcode --> Purchase order tab -- > enter the STO's and press execute
    Select the STO's and click on background tab. Then it creates the log
    Select the item again and press shift +F4
    It will gives the log inforamation for the STO's and select the item and press on documents tab.
    It will creates only one Delivery for all the STO's.
    Now go to VL02N tcode and enter the delivery number then goto picking tab then enter picking qnty = delivery qnty
    then press on " post goods issue "
    Now go to MIGO to do the goods reciept then enter all the STO's here and check the item then save .
    Only one document will be posted for all the STO's
    Regards,
    Usha.

  • WAD: Add variable to a called javascript function on button group item

    Hi All,
    I need your expertise regarding the following problem:
    To increase performance, I've decided to hide all analysis tables. To set these tables to visible, there is a button to switch the state for each table.
    Because this function is needed for each table, the function has two parameters for the analysis item name and the new state.
    Unfortunately, I get an useless error message after calling the function.
    The function in script item looks like
    function switchTable(itemName, newState)
    The function is started by a button of a button group item as javascript and the following script function
    switchTable('ANALYSIS_ITEM_1', 'VISIBLE')
    If I enter a without parameters, that will call the function with these parameters, it works.
    But if i try this directly from the script function in the button parameters, the function will be called correctly, but an error occurs and the analysis item wasn't displayed or the sendCommand wasn't processed completely.
    I hope there is a way to call javascripts by a button with variables, otherwise I would have to create many functions with only an other item_ref.
    Many thanks in advance and points of course for any help.
    Regards,
    Tobias

    One short note:
    It's possible to trigger the same function by an html input form button with onlick switchTable('ANALYSIS_ITEM_1', 'VISIBLE')
    and this works.
    Has anyone an idea what's the problem with a normal button item of the button group item?
    Another possibility is a menu item. The functions were called, but errors were shown.

  • Can i install itunes multiple times on one computer for multiple users?

    Can i install itunes multiple times on one computer for multiple users?

    Like most applications you only need to install it once for it to be available to all users. (That said it is possible to install an application and only make it available to the current user, but that's rarely needed.)
    tt2

  • How to create one delivery for multiple sales order

    Hi!! Friends,
    Can some one explain the steps to be followed in creating one delivery for multiple sales order in SAP SD.
    Regards
    AKASH
    Message was edited by:
            AKASH TAMBI

    Hi.,
                  You can combine different orders in to one delivery ,But for the customer Order combination should be checked in  the sales area data of the shipping tab,we can combine orders but the ship to party,Route,Inco terms,Shipping date,shipping point should be same,you can do in T.code VL04 & VL10
    REWARD if helpfull
    Thanks & Regards
    Narayana

  • How to create one TO for multiple TRs

    Dear All,
    how to create one TO for multiple TRs, kindly suggest me
    Regards,
    balu

    As for your question: it is discussed in sAP online help:
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/c6/f841f24afa11d182b90000e829fbfe/frameset.htm
    Sorry I misunderstood your question.
    The above mentioned solution won't create one single TO from multiple TR.
    Edited by: Csaba Szommer on Aug 11, 2010 9:46 AM

  • One TPV for multiple Countries

    Hi Experts,
    Could you pls share experirnce/knowledge around having one TPV for multiple countries together. The scenario is like below:
    1. There are mutiple Countries in Central America which are small islands for whom we need to roll out the Travel and Expense Solution.
    2. The Company code is only one which contains employees from all these Countries.
    Could you tell us how can we do the setup. Should we create one TPV at the company code level. OR should we rather use some other criteria for selecting the TPV maybe at the Personnel area or Personnel Sub Area level.
    Your help is much appreciated.
    Regards,
    Vijay

    Hi Kiron,
    These things I am aware about too. My real question is if I create only one TPV for the company code and assign the Country of the Company code then what issues would this cause. To name a few pls see below.
    1) The domestic Country would always be the Company code Country so would be treated as Domestic Country and show on the Form also as domestic Country even for the employees who are from other Countries.
    2) There are setting which SAP allows differently for Domestic and International like per diem, miles cumulations. So these necessarily have to be kept as same even though local laws are different in all these countries as Domestic is only the Company code Country.
    So I need detailed analysis of what impact I will have by having only one TPV as against making many TPV like one for each Country by using some other parameter like Personnel area/Personnel sub area etc.
    Appreciate your help!
    Regards,
    Vijay

  • One invoice for multiple deliveries

    Hi Gurus,
    Can any one tell how can i create one invoice for multiple deliveries.
    Regards,
    Vinod

    one invoice for multiple delivers we can do in vf04
    we can do in vf04
    reward points if it is help ful
    Thanks
    mubeen
    Edited by: mahammad mubeen on Mar 5, 2008 10:02 AM

  • One cheque for multiple vendors

    hi,
    is it possible to generate one cheque for multiple vendors ?
    cheque will be sent to bank and bank will deposit the amounts into vendor banks.
    Can you anybody help me?
    regards,
    kalyan

    Hi
    Yes. you can do it 
    First transfer the amount to bank and from there bank will transfer the amount to respective vendors through ther banks.
    Go for implementing automatic payment programme according to your client reqyuirement. Check  TCode F110 which is master transaction for APP.  Check at TCode F110-Environment-maintain Config.....
    Cheers
    Srinivas

  • One lockbox for multiple company codes

    Is it possible to have one lockbox for multiple company codes?

    No, I don't think so. Lockbox is 1:1 for a Company Code.
    You configure Lockbox for a Company Code.
    You can use one of the 2 available Lockbox user exits (not sure which) to write a piece of code that searches invoices against the customer posted to different company codes. You will have to have the intercompany setups.
    You may find an OSS notes for intercompany clearing.
    Hope this helps!

  • One inventory for multiple ORACLE_HOMEs ?

    RDBMS version:11.2, 10.2
    Platform : AIX
    In one server , we are going to install multiple ORACLE_HOMEs (both 10.2 and 11.2). I have been asked to configure separate inventory for each ORACLE_HOME (each inventory within its own ORACLE_HOME). But i came across OTN posts which advices one inventory for all ORACLE_HOMEs .
    1. How can i create 1 inventory for all ORACLE_HOMEs . Is it by specifying an inventory directory outside all ORACLE_HOMEs in OUI when you do the very first installation ?
    2. Which one is more professional : one inventory for each ORACLE_HOME or one inventory for all ORACLE_HOMEs ?

    When installing Oracle software for the first time, the OUI will create a "global" inventory under $ORACLE_BASE.
    Depending on you OS, to locate this inventory look at "/etc/oraInst.loc" (AIX+Others) or "/var/opt/oracle/oraInst.loc" (Linux+others).
    You can add/remove Oracle homes from this inventory by using OUI or command line ./runInstaller.
    Each Oracle home may also contain an "$ORACLE_HOME/oraInst.loc" file.
    HTH
    PS: +"One inventory for multiple ORACLE_HOME is a bad practice"+ -- Untrue. Perhaps only for those that don't know how to use it.
    :p

  • Shall I use one datasource for multiple connection pool?

    Hi,
    I need to clarrify that, Shall I use one Datasource for multiple connection pool in distributed transaction?
    Thanks with regards
    Suresh

    No. If its transactions across multiple databases you should use different datasources.

  • How to schedule one report for multiple company code?

    How you can schedule reports in BW 3.5? Suppose I need to schedule one report for multiple company code, how can you do that and notify the users? I do not want to send multiple emails to the same user if the report runs for 20 times (for 20 different companies).
    points are given for ASAP replies.
    Thanks in advance
    Peter

    Dear Peter,
    Try to restrict the Company Code with  those 20 values and schedule.
    Regards,
    Ramkumar.

Maybe you are looking for

  • How can I print BOTH legal and letter on my duel tray printer????

    How can I print BOTH legal and letter on my duel tray printer from my mac? on a pc you can choose "print according to pdf size" and the mixed document will print in both legal and letter auto-selecting the printer tray.

  • Can no longer access .mac, mail, msn messenger etc on wireless network

    have a wireless network in our house through an airport. but .mac login page does not load, mail will not access my email and things like msn messenger just do not login. does not work on either my macbook, imac g5 or the g5 tower. no idea what is wr

  • HOW DO  I GET MY SONGS BACK ON MY IPOD???

    I accidentally removed my 4th Gen photo ipod from my mac without properly unmounting it, and it went into "disk mode". It would n't allow me to get out of this mode, and itunes nor the finder would see the ipod when it was connected. Oddly enuff, pro

  • Security for Dunces

    I'm working on a pdf for limited distribution.  It appear that my options for securing a pdf is limited to this (using only Acrobat software): 1) password protecting it (1 or 2 levels depending on whether or not I want people to be able to fill out f

  • Why appstore only show half on the screen on my iPad2 (IOS6)

    The AppStore only show half (left) on the screen