Workflow not working correctly when removing resource attributes

(Comment: I have to say that posting to this forum is a real pita. It takes me upwards of 20 minutes to figure out why various words are not allowed, with no indication of what is wrong. For some reason ba lt im ore is a forbidden word so I replaced it with FirstLocation.)
I have a bulk action script that calls a workflow (below) to remove some locations from a users resource. What is happening is that it loops through and correctly removes 'FirstLocation'. Then it loops through the second pass and correctly removes 'Portland', however, on the third pass, Portland comes back - it's like the removal doesn't take for some reason. Is there something I should be updating differently to get this to remove the locations correctly?
This is the Task Definition:
<Variable name='remLocation'>
  <list>
    <s>FirstLocation</s>
    <s>Portland</s>     
    <s>Chicago</s>
    <s>Charleston</s>
    <s>Cleveland</s>
    <s>Lynnfield</s>
    <s>Roanoke</s>
    <s>Worthington</s>
    <s>Yorktown</s>
    <s>Hawthorne</s>
  </list>     
</Variable>
<Variable name='newJustification'>
  <s>Obsolete Locations remd</s>
</Variable>     
  <Activity id='0' name='start'>
    <Transition to='Initialize' />
    <WorkflowEditor x='43' y='10' />
  </Activity>
  <Activity id='1' name='Initialize'>
    <Action id='0' name='Set variables'>
      <expression>
        <block name='INIT' trace='true'>
        </block>
      </expression>
    </Action>
    <Transition to='Make Account Changes' />
    <WorkflowEditor x='105' y='10' />
  </Activity>
  <Activity name='Make Account Changes'>       
    <Action id='1' name='update lh account'>
      <expression>
      <block trace='true'>
        <!-- if locationMap contains one of remLocation, delete that location and all attributes -->       
        <defvar name='tmpLocMap2'>
          <ref>user.accounts[FACILITIES].properties.locationMap</ref>
        </defvar>
        <!-- for all elements in the remLocation list -->
        <dolist name='elLoc'>
          <ref>remLocation</ref>
          <block trace='true'>
          <set name='tmpLocMap2'>           
            <!-- if element is in the list, ie, if the index is not -1 (not in list) -->
            <cond>
                 <neq>
                <indexOf>
                  <ref>user.accounts[FACILITIES].properties.locationMap[*].name</ref>                
                     <ref>elLoc</ref>                       
                   </indexOf>
                <i>-1</i>
              </neq>                          <!-- then rem it from the object list -->
              <block trace='true'>
              <!-- get the index # -->
              <defvar name='objectIndexNo'>
                  <indexOf>
                    <ref>user.accounts[FACILITIES].properties.locationMap[*].name</ref>                         
                        <ref>elLoc</ref>               
                  </indexOf>                   
                </defvar>
                <rem>
                  <filternull>
                    <ref>user.accounts[FACILITIES].properties.locationMap</ref>
                  </filternull>                       
                  <get>
                    <filternull>
                      <ref>user.accounts[FACILITIES].properties.locationMap</ref>
                    </filternull>
                    <ref>objectIndexNo</ref>                         
                  </get>                         
                </rem>
              </block>                   
              <ref>tmpLocMap2</ref>                   
            </cond> 
          </set> 
                  <set>                   
                    <ref>user.accounts[FACILITIES].properties.locationMap</ref>                     
                    <ref>tmpLocMap2</ref>
                  </set>                 
                </block>             
              </dolist>
              <set>
                <s>user.accounts[FACILITIES].properties.justification</s>
                <ref>newJustification</ref>
              </set>
              <set>
                <s>user.accounts[FACILITIES].justification</s>
                <ref>newJustification</ref>
              </set>           
            </block>
          </expression>
        </Action>
        . . . and here's some of the debug code showing what happens:
<dolist name='elLoc'>
  <ref>remLocation</ref> --> [FirstLocation, Portland, Chicago, Charleston, Cleveland, Lynnfield, Roanoke, Worthington, Yorktown, Hawthorne, ...truncated...]
  <block trace='true'>
    <set name='tmpLocMap2'>
    </set> --> null
    <set name='tmpLocMap2'>
      <cond>
        <neq>
          <indexOf>
            <ref>user.accounts[FACILITIES].properties.locationMap[*].name</ref> --> [FirstLocation, Shelbyville, Portland, Syracuse]
            <ref>elLoc</ref> --> FirstLocation
          </indexOf> --> 0
          <i>-1</i> --> -1
        </neq> --> 1
        <block trace='true'>
          <defvar name='objectIndexNo'>
          </defvar> --> null
          <rem>
            <filternull>
              <ref>user.accounts[FACILITIES].properties.locationMap</ref> --> [GenericObject:FirstLocation, GenericObject:Shelbyville, GenericObject:Portland, GenericObject:Syracuse]
            </filternull> --> [GenericObject:FirstLocation, GenericObject:Shelbyville, GenericObject:Portland, GenericObject:Syracuse]
            <get>
              <filternull>
                <ref>user.accounts[FACILITIES].properties.locationMap</ref> --> [GenericObject:FirstLocation, GenericObject:Shelbyville, GenericObject:Portland, GenericObject:Syracuse]
              </filternull> --> [GenericObject:FirstLocation, GenericObject:Shelbyville, GenericObject:Portland, GenericObject:Syracuse]
              <ref>objectIndexNo</ref>
                [<defvar name='objectIndexNo'>]
                  <indexOf>
                    <ref>user.accounts[FACILITIES].properties.locationMap[*].name</ref> --> [FirstLocation, Shelbyville, Portland, Syracuse]
                    <ref>elLoc</ref> --> FirstLocation
                  </indexOf> --> 0
                [</defvar>] --> 0 --> 0
            </get> --> GenericObject:FirstLocation
          </rem> --> [GenericObject:Shelbyville, GenericObject:Portland, GenericObject:Syracuse]
        </block> --> [GenericObject:Shelbyville, GenericObject:Portland, GenericObject:Syracuse]
      </cond> --> [GenericObject:Shelbyville, GenericObject:Portland, GenericObject:Syracuse]
    </set> --> null
  my comment: At this point FirstLocation has been remd successfully from tmpLocMap2.
  <remAll>
      <ref>user.accounts[FACILITIES].properties.locationMap</ref> --> [GenericObject:FirstLocation, GenericObject:Shelbyville, GenericObject:Portland, GenericObject:Syracuse]
    </remAll> --> [GenericObject:FirstLocation, GenericObject:Shelbyville, GenericObject:Portland, GenericObject:Syracuse]
    <set>
      <ref>user.accounts[FACILITIES].properties.locationMap</ref> --> [GenericObject:FirstLocation, GenericObject:Shelbyville, GenericObject:Portland, GenericObject:Syracuse]
      <ref>tmpLocMap2</ref> --> [GenericObject:Shelbyville, GenericObject:Portland, GenericObject:Syracuse]
    </set> --> null
  </block> --> null
  <block trace='true'>
    <set name='tmpLocMap2'>
    </set> --> null
    <set name='tmpLocMap2'>
      <cond>
        <neq>
          <indexOf>
            <ref>user.accounts[FACILITIES].properties.locationMap[*].name</ref> --> [Shelbyville, Portland, Syracuse]
      my comment: the locationMap above shows that FirstLocation was successfully remd.
            <ref>elLoc</ref> --> Portland
          </indexOf> --> 1
          <i>-1</i> --> -1
        </neq> --> 1
        <block trace='true'>
          <defvar name='objectIndexNo'>
          </defvar> --> null
          <rem>
            <filternull>
              <ref>user.accounts[FACILITIES].properties.locationMap</ref> --> [null, GenericObject:Shelbyville, GenericObject:Portland, GenericObject:Syracuse]
            </filternull> --> [GenericObject:Shelbyville, GenericObject:Portland, GenericObject:Syracuse]
            <get>
              <filternull>
                <ref>user.accounts[FACILITIES].properties.locationMap</ref> --> [null, GenericObject:Shelbyville, GenericObject:Portland, GenericObject:Syracuse]
              </filternull> --> [GenericObject:Shelbyville, GenericObject:Portland, GenericObject:Syracuse]
              <ref>objectIndexNo</ref>
                [<defvar name='objectIndexNo'>]
                  <indexOf>
                    <ref>user.accounts[FACILITIES].properties.locationMap[*].name</ref> --> [Shelbyville, Portland, Syracuse]
                    <ref>elLoc</ref> --> Portland
                  </indexOf> --> 1
                [</defvar>] --> 1 --> 1
            </get> --> GenericObject:Portland
          </rem> --> [GenericObject:Shelbyville, GenericObject:Syracuse]
        </block> --> [GenericObject:Shelbyville, GenericObject:Syracuse]
      </cond> --> [GenericObject:Shelbyville, GenericObject:Syracuse]
    my comment: and here Portland was successfully remd.
    </set> --> null
    <remAll>
      <ref>user.accounts[FACILITIES].properties.locationMap</ref> --> [null, GenericObject:Shelbyville, GenericObject:Portland, GenericObject:Syracuse]
    </remAll> --> [null, GenericObject:Shelbyville, GenericObject:Portland, GenericObject:Syracuse]
    <set>
      <ref>user.accounts[FACILITIES].properties.locationMap</ref> --> [null, GenericObject:Shelbyville, GenericObject:Portland, GenericObject:Syracuse]
      <ref>tmpLocMap2</ref> --> [GenericObject:Shelbyville, GenericObject:Syracuse]
    </set> --> null
  </block> --> null
  <block trace='true'>
    <set name='tmpLocMap2'>
    </set> --> null
    <set name='tmpLocMap2'>
      <cond>
        <neq>
          <indexOf>
            <ref>user.accounts[FACILITIES].properties.locationMap[*].name</ref> --> [Shelbyville, Portland, Syracuse]
      my comment: but above, when referenced, Portland hasn't really been remd. Why not??
            <ref>elLoc</ref> --> Chicago
          </indexOf> --> -1
          <i>-1</i> --> -1
        </neq> --> 0
        <ref>user.accounts[FACILITIES].properties.locationMap</ref> --> [null, GenericObject:Shelbyville, GenericObject:Portland, GenericObject:Syracuse]
      </cond> --> [null, GenericObject:Shelbyville, GenericObject:Portland, GenericObject:Syracuse]
    </set> --> null
    <remAll>
      <ref>user.accounts[FACILITIES].properties.locationMap</ref> --> [null, GenericObject:Shelbyville, GenericObject:Portland, GenericObject:Syracuse]
    </remAll> --> [null, GenericObject:Shelbyville, GenericObject:Portland, GenericObject:Syracuse]
    <set>
      <ref>user.accounts[FACILITIES].properties.locationMap</ref> --> [null, GenericObject:Shelbyville, GenericObject:Portland, GenericObject:Syracuse]
      <ref>tmpLocMap2</ref> --> [null, GenericObject:Shelbyville, GenericObject:Portland, GenericObject:Syracuse]
    </set> --> null
  </block> --> null
  <block trace='true'> Any suggestions would be appreciated. Thanks much!
Edited by: user12836258 on Sep 7, 2011 10:14 AM
Edited by: user12836258 on Sep 7, 2011 10:15 AM

it is working over there and changing the status also.
But when through workflow same values come, it didnt work
Check the authorizations associated with WF-BATCH user, i feel like it can be a authorization issue, as you were saying that it is working fine from the BOR method and when it is trying to update the same through workflow the workitem is gogin into error state.
Make sure that teh WF-BATCH user is having SAP_ALL

Similar Messages

  • Menu Widget is not working correctly when applied in Master Page?

    Hi There,
    Is there a reason why menu widget doesn't work correctly when put in the master page?  When I do preview it only highlights certain menu and doesn't highlight other ones?  In order to fix this I had to take my menu widget off the master page and had to manually apply the menu widget on each page for it to work correctly?  Is there a reason why this is happening and are you guys working on fixing this?
    Best Regards,
    Nick

    Hi There,
    Just published the northcountydoulas website through business catalyst that
    wasn't working correctly...The menu widget is in the master page...
    Best Regards,
    Nick

  • Programme does not work correctly when built as an application

    My programme operates correctly when in development, but when built into an application it fails to function with regard to closing and opening front panels. I am using 'open VI referance' and 'property node virtual instrument Front panel open' to close and open front panel, it is this area that seems to fail.
    Do I have to do anything special with VI's that contain Server Functions?
    Any help would be appreciated. I am using LABview 5.0 with its Application Builder.
    Many Thanks

    Hi Dennis,
    It is very difficult to understand the problem here.
    1. Could you please explain what you mean when you say "it fails to function with regard to closing and opening front panels" ?
    2. It may also help if you can attach your program so that I can take a look at it.
    3. What is the program intended to do?? I mean, is it some sort of serial application etc.??
    I hope to solve your problem soon.
    Sincerely,
    Sastry V
    Applications Engineer

  • The browser back button is not working correctly when using the search funtion in ProBoards forums. Is there a known issue with ProBoards & FF?

    I have submitted a bug report to ProBoards, but they cannot duplicate the problem I am having, so I am submitting this here in hopes you can find a solution.
    At ProBoards Support and another PB forum while doing searches I found this problem, which continues with repeated testing over the past week or so:
    url: http://support.proboards.com/search
    1. enter perameters for the search (posts only by staff for the last 2 days)
    2. choose one of those post results & click on it (choose a post on page 14 and not on page 1 of the results)
    3. using the browser back button, attempt to return to the previous page of search results
    4. rather than being taken back to the search results with my parameters, the search parameters have been removed and the page show 1000 results of posts by everybody.
    I have tested this over and over again, disabling plugins, and nothing seems to alter the malfunctioning of the back button when I am doing this search function at ProBoards.
    I have tested it in Internet Explorer and find that in IE the browser back button works properly with ProBoards searches. I always get the result I expect, so it's a problem with how FF interfaces with ProBoards, I think.

    Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
    Note: ''This will temporarily log you out of all sites you're logged in to.''
    To clear cache and cookies do the following:
    #Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
    #Under "Time range to clear", select "Everything".
    #Now, click the arrow next to Details to toggle the Details list active.
    #From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
    #Now click the ''Clear now'' button.
    Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
    Did this fix your problems? Please report back to us!

  • Completion Insight not working correctly when using Enterprise User Security (EUS) logon

    This is a pre existing issue we've experienced with SQL Developer, though I've only just worked out what is causing the issue it is present in previous versions of the tool, up to the current 4.0.EA2.
    We experience issues with the Completion Insight functionality of SQL Developer.
    When we log into a database using Enterprise User Security i,e authenticating against OID, the schema of the database account is prefixed to any reference to public synonyms, ie all user_%, all_%, dba_% and v$% views.
    When I change the authentication of the database account back to normal database authentication the schema prefix correctly isn't shown. It simply suggests the synonym name of the views.
    An example of this is as follows when attempting to query the DBA_TABLES view:
    The database account is ORADBA and has DBA privs.
    The EUS user that is mapped to the ORADBA schema is dbutler.
    The ORADBA user is configured to authenticate externally (against OID).
    I login with my dbutler directory credentials:
    If I start typing:
    select * from dba_tabl
    The object name is suggested as ORADBA.dba_tables
    If I change the authentication of the ORADBA account back to database authentication, the prefix is no longer present.
    i.e If I start typing:
    select * from dba_tabl
    The object name is suggested as dba_tables

    If you're not using DB 10.2 this is the "expected" behavior for the DB. See also metalink note 351170.1 "Enterprise Users Can Connect to a Database when the OID Account is Disabled"
    regards,
    --Olaf                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Autodiscover not working correctly when Office 365 integrated with Server Essentials 2012 R2

    Hello!
    This last weekend I setup our server as new and to ease the creation of users, integrated with our Office 365 (which to this point has worked fine) and imported the users. This had a somewhat unexpected side effect in that the import used the email address
    as for the user forename and then synced that change back to Office 365 and so needed to enter this information back in on the dashboard which synced back to Office 365. This may or may not have any relevance to our issue below.
    I should also point out that we have our own domain name so within the original Office 365 setup we had just one .onmicrosoft.com user with all the rest setup with our own domain name.
    At the weekend when it came to the client install, Outlook (2010 or 2013) would fail on the autodiscover with it asking again for credentials but critically displaying a server name of .contoso.com rather than the office365srvr.contoso.com . As I mention,
    Office 365 had been operating fine for some time and DNS records where checked and have been set for sometime. I spoke to Office 365 support and after a while come up with a temporary solution (so that I could complete the client installs) of assigning each
    user a onmicrosoft address, using that in the new account wizard to pick up the server correctly and then signing in the the Office 365 .contoso.com credentials.
    This worked OK to get us past the weekend (although I am having to reset up profiles on quite number of users where they get disconnected but with no credentials box appearing) but isn't a solution. The clients do not see public folders or their archives
    and of course we don't want to keep having to reset the profiles.
    I'm think that there must be something in the internal network that needs reconfiguring but I don't know what. I have tried pointing the client to an external DNS server just in case the internal DNS server was throwing the autodiscover out but this has
    made no difference.

    Ah - solved my own problem.
    Despite the domain DNS record looking OK and the Office 365 Portal domain checker not highlighting any issue, it looks as though the autodiscover is picking up an imap account provided by the web host.
    I've added an alias on the local DNS server to point to the Office 365 autodiscover server and this has solved the problem.

  • PHD not working correctly when upgrading from 10.4 to 10.5 client

    Hello,
    We're starting to upgrade our 10.4 client machines to 10.5, and in the first couple, portable home directories aren't happening correctly after the upgrade. When logging in after the upgrade, the OS asks if I want to create a portable home directory on this machine.
    We're running 10.4.11 Server.
    Any ideas or has anyone encountered this?
    On clean installs of 10.5 or migrations, our PHD's are working flawlessly.
    any advice will be appreciated.
    david

    From my experiances, 10.4 Server does not serve well to 10.5. We are running 10.5 and created new PHD with 100 % success, you may want to try considering upgrading your Server, after all it is the heart of the operation.

  • Measure using UseRelationship not working well when sliced with attributes from the same table

    Hi,
    I have Measure created using the 'UseRelationship' Function, which uses a different datekey to link to the DateDim than the one the table is directly related by. The measure works as expected except in one scenario.
    If I browse the measure using an attribute from the same fact table then the attribute is filtered using active relationship whereas the measure is filtered using the inactive relationship as shown below:
    FACT(2 rows)(Active Relationship to Date using DateKey1)
    SNo     DateKey1     DateKey2     Geo        Amt
    1         20100101     20120101    India      100
    2         20100101     20120101    US         200
    AmtMeasure:=CALCULATE(SUM([Amt]),USERELATIONSHIP(FACT[DateKey2],'Date'[DateKey]))
    If I browse the above measure in excel, with Year selected as 2012, I get 100+200=300. Now if I drag the Geo attribute against the measure I get 2 rows with 100 and 200.
    If I do the same in a power view report I don't get any results after dragging the Geo attribute, whereas I get the correct value of 300 without the geo attribute. I checked the DAX query which the power view generates and figured this is being caused because
    there are no rows in the table with DateKey1 having year 2012. I understand why this is happening this way in a DAX query and not in MDX, but shouldn't both behave in the same way and what is a work around.
    Thanks,
    Sachin Thomas

    Sac, is this still an issue?
    Thank you!
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • Photos tab not working correctly when syncing to iphone

    When I connect my iphone to itunes and then select it and the photo tab, I can not change any of the settings (ie my pictures selections, what folder to select. the only thing it will allow is the syncing of all photos in my pictures, (dont want 14, 247 photos on my phone). I have created a folder with select photos that I want to sync with iphone, but cant select it. anyone have a solution. do I have to delete current version of itunes and reload it again..?

    OK I RESOLVED IT! I removed most of the photos from "My Pictures" and than I agreed to sync all of the remaining ones. Only then did it light up everything else and allow me to change the settings.

  • Hyperlinks not working correctly when converting word doc to Web Page, Filtered

    I have created a word document (MS Word 2013) with Table of Contents and their links to particular sections and all the hyperlinks works fine in the word document. But when I convert this document into Web Page, Filtered then after a specific point
    the hyperlinks not pointing to their respective sections instead they are pointed to the end of the page.
    I have checked the page source of the HTML document and found that the table of contents have hyper links but the respective sections doesn't have the hyper link code and hence click on the a section didn't find the that section and go to the end
    of the document.
    I have tried to convert into PDF and hyperlinks worked fine.
    Please advise me how to resolve this issue.
    Thanks in advance
    Deepak

    Hi Deepak,
    I'm marking the reply as answer as there has been no update for a couple of days.
    If you come back to find it doesn't work for you, please reply to us and unmark the answer.
    Best Regards,
    Steve Fan
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

  • Synology webpage not working correctly when using Video surveillance

    Hi all,
    I have a issue, that is not happening with my windows virtual installed on my mac osx..
    When i open this page with safari, or chrome, i have different problems, and the most likley is the one on my screenshot..
    The webpage is hanging after clicking on a camera, or watching a live video that is have recorded earlier this day..
    The only solution is to restore this webpage, bij refreshing it.
    I did install the plugin from Synology, the problem is only in OSX  10.10.1 not in Windows 7 with IE, there its working perfectly
    On this screen its hanging, and its in dutch, translated to english    Busy with loading....
    Please help... thanks!

    If the issue is only with the Snynology website then my guess would be to reach out to Synology, ask if they have similar issues with the browsers you use (and versions) and Yosemite

  • First Play at Preview ok, but not working correctly when Video started from DVD

    Hello
    I created a Project with Encore CS5.1. When i test via the "preview" button (disc symbol) everything works fine.
    When i export the Project to a DVD the Video starts directly with the Main Menue although i expect starting with the intro clip. As i said with encore preview everything works fine.
    Has anybody an idea how to solve this issue?
    Thanks in advance
    Rene

    Hi Bill and John
    Thank you for your feedback.
    Attached i'll send you a screen shot of the flow chart and the specs.
    I just created a new project with only the "Vorspann - Trailer" and the Main Menue. All other links are not created yet.
    With the preview everything is ok but if i create an image the video starts directly with the Main Menue.
    Kind regards and thanks again.
    Rene
    With preview ok
    Crate an image or DVD > video starts with direct play of the main menue

  • Cells("PinY") not working correctly when number is a negative value

    Hi There
    I have written a Viso macro that pastes items from one page to another and orders them on the page. To move the item I am using the command myItem.Cells("PinY").FormulaU = dY
    After an item is pasted dY is decreased by 3 (i.e. dY = dY -3)
    This works fine until the value of Y becomes negative. When it gets to -3 for some reason it moves it to -14.1929
    I have stepped through the code and have checked that the value of dY is correct.
    Any ideas?
    Regards
    Alasdair

    Hi Alasdair,
    This is a forum which support technical issue in Visio client, if you want to receive more information about developing, I suggest you posting this issue in MSDN forum.
    http://social.msdn.microsoft.com/Forums/office/en-US/home?category=officedev
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either
    share their knowledge or learn from your interaction with us.
    Thanks for your understanding.
    Best regards,
    Greta Ge
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Trackpad not working correctly when plugged into AC power

    When i am running on battery, the trackpad is great--when plugged in, it is very flakey, not smooth, sometimes freezing up...all in all pretty frustrating!
    I have reset the power management unit, but it did not help.
    Comments?
    thanks in advance,
    Les

    Hi Lemenos,
    Welcome to Apple Discussions
    Do you have any "hacks" installed your iBook? Try going to System Preferences > Energy Saver > Power Adapter (next to Settings For:) > Processor Performance > Try faster or reduced and see if one works better. What are you doing when this happens? Do you notice any patterns? You may want to look at Knowledge Base Document #17228 on Portables: Jumpy or Erratic Trackpad Operation and Knowledge Base Document #58389 on Your PowerBook and iBook's trackpad doesn't respond. Is the wall socket grounded? How can you tell if its electrical or static? What does it feel like? Try touching something metal to ground yourself before touching (bed frame) and see if you still get a shock. You should not get an electric shock from the button, if you do stop touching it. Bring it to your local Apple Store/Reseller.
    Jon
    Mac Mini 1.42Ghz, iPod (All), Airport (Graphite & Express), G4 1.33Ghz iBook, G4 iMac 1Ghz, G3 500Mhz, iBook iMac 233Mhz, eMate, Power Mac 5400 LC, PowerBook 540c, Macintosh 128K, Apple //e, Apple //, and some more...  Mac OS X (10.4.5) Moto Razr, iLife '06, SmartDisk 160Gb, Apple BT Mouse, Sight..

  • Animations not working correctly when movieclip is shifted  to next keyframe as3

    By default I had 2 movieclips on first frame on the main timeline. And an actionscript code for first two movieclips.They are kept on each individual layer. They were working just fine but when I shifted all three keyframes from first to second frame on the maintime line. It doesn't works properly. The reason why I'm shifting them to next keyframe is because I wan't to insert a pre-loader on first frame. Here's the output message I'm getting:
      at Flashphotographygallerywebsite10_fla::MainTimeline/frame2()
              at flash.display::Sprite/constructChildren()
              at flash.display::Sprite()
              at flash.display::MovieClip()
              at flash.display::Sprite/constructChildren()
              at flash.display::Sprite()
              at flash.display::MovieClip()
              at Flashphotographygallerywebsite10_fla::envolop_3()
    Here's the actionscript code:
    /*Re-sizeable background*/
    //set stage for FBF
    stage.align = "TL";
    stage.scaleMode = "noScale";
    //define dynamic aspect ratios
    var bg_mainHeight = bg_main.height / bg_main.width;
    var bg_mainWidth = bg_main.width / bg_main.height;
    //add event listener to the stage
    stage.addEventListener(Event.RESIZE, sizeListener);
    //conditional statement to account for various initial browswer sizes and proportions
    function scaleProportional():void {
              if ((stage.stageHeight / stage.stageWidth) < bg_mainHeight) {
                        bg_main.width = stage.stageWidth;
                        bg_main.height = bg_mainHeight * bg_main.width;
              } else {
                        bg_main.height = stage.stageHeight;
                        bg_main.width = bg_mainWidth * bg_main.height;
    //center bg_mainture on stage
    function centerbg_main():void {
              bg_main.x = stage.stageWidth / 1000;
              bg_main.y = stage.stageHeight / 1000;
    // make listener change bg_mainture size and center bg_mainture on browser resize
    function sizeListener(e:Event):void {
              scaleProportional();
              centerbg_main();
    //run initial locations and size
    scaleProportional();
    centerbg_main();
    /*envelope align to center*/
    function resizeHandler(e:Event):void
      envelope_mc.x = (envelope_mc.stage.stageWidth / 2) - (envelope_mc.width / 1.15);
      envelope_mc.y = (envelope_mc.stage.stageHeight / 2) - (envelope_mc.height / 1.15);
    stage.align = StageAlign.TOP_LEFT;
    stage.scaleMode = StageScaleMode.NO_SCALE;
    stage.addEventListener(Event.RESIZE, resizeHandler);
    stage.dispatchEvent(new Event(Event.RESIZE));
    stop();

    Here's the message after setting permit debuggining option:
    frame2:59]
              at flash.display::Sprite/constructChildren()
              at flash.display::Sprite()
              at flash.display::MovieClip()
              at flash.display::Sprite/constructChildren()
              at flash.display::Sprite()
              at flash.display::MovieClip()
              at Flashphotographygallerywebsite10_fla::envolop_3()
    Sorry I didn't get your last line. Could you please specifiy me where I should insert what code?

Maybe you are looking for

  • Count query attempts

    I am tring to find out how to count quering a database attempts. What I need to do is after 3 attempts redirect the user. How can I do this? I am comparing a form.field answer to a answer in the db and everytime the question is wrong I would like to

  • Passin values dynamically

    <table width="995" height="82" border="0"> <tr> <th width="989" bgcolor="#CCCC99"><h1>Update Form</h1></th> </tr> </table> <%@page language="java" import="java.sql.*" session="true" %> <form id="form1" name="form1" method="post" action="cu.jsp"> <tab

  • BT Yahoo Toolbar

    I am running Windows 7 and Internet Explorer 9 64 bit version but can't use the BT Yahoo Toolbar. Toolbar downloads and runs OK with the 32 bit version of IE9. Any ideas?

  • Do not have sufficient write privileges

    Hi I've insalled SportsCode v8.5.2 software on a MacBook Pro running OS X 10.7.2 . When I try to register the software I receive an error saying "You do not have sufficient write permissions to complete this operation. Please log on as an administrat

  • How to force choose company window to show always up

    Hi, is there a way to force the choose company window to be always displayed so that users have to choose company before the login? Thanks Fabio