Multiple Instances Object Calling Getting #1009 Error

Hi,
I believe this has to be a logical explanation for this. I have the code here as follows:
private function action():void{
    thematicMap.passBox(canvas,regions);
    thematicMap.drawthematicMap.passBox(canvas);  
    //Setting the Canvas
    thematicMap.setCanvas(0,0,30,50);     
    thematicMap.drawthematicMap.draw(regions);
    thematicMap.setCanvas(24,24,453,455);
    thematicMap.drawthematicMap.draw(regions);     
This does show two instances of the thematicMaps, which is what works in main.zip. However, what I really want to do is this:
private function action():void{
    thematicMap.passBox(canvas,regions);
    thematicMap.drawthematicMap.passBox(canvas); 
               a = new ThematicMap();
   b = new ThematicMap();  
    //Setting the Canvas
    a.setCanvas(0,0,30,50);
                b.setCanvas(24,24,453,455);     
               //Draw
              a.drawthematicMap.draw(regions);
  b.drawthematicMap.draw(regions);     
The output of the application below is only a blank screen. I then investigated and added some try and catch clauses to see what errors there are,
try {
         //Setting the Canvas
     a.setCanvas(0,0,30,50);     
     b.setCanvas(24,24,453,455); 
              catch (errObject:Error) {Alert.show("An error occurred: " + errObject.message);}
The results I got was Error #1009. How come that I have provided the parameters and the return is null object of reference?
Thanks for your help.
Alice

To answer your second point regarding if I had added a child to my  canvas to draw, here is the snippet:
public function draw(arr:Array):void{
             regions = arr;    
             component_width = [];
             component_height= [];       
             for (var s:String in regions) {
                trace("\n" + s);
                shape = new UIComponent();  
                gr = shape.graphics;
                gr.lineStyle(3);//Define line style  
                coords = regions[s];
                gr.moveTo(coords[0],coords[1]);               
             for (var i:int = 2; i < coords.length; i += 2) gr.lineTo(coords[i],coords[i + 1]);  
                 trace(coords);                
                 gr.lineTo(coords[0],coords[1]);    //return the code back to the beginning   
                 gr.endFill(); //Put this in if there is a color
                 canvas.addChild(shape);             
This is what is in my setCanvas function:
public function setCanvas(x:Number,y:Number,width:Number,height:Number):void{       
            canvas.setActualSize(width,height);
            canvas.x = x;
            canvas.y = y;  
            coordinate_conversion(regions);
            new_coordinate_conversion(regions);
What else could be wrong here?
Thanks for your help.
Alice

Similar Messages

  • My iPhone 3GS 16gb, is stuck in restore mode, downloaded and tried to do a restore multiple times. Keep getting an error The iPhone "iPhone" could not be restored. Unknown error occured (-1). Cannot get it out of restore mode, keeps rebooting!

    My iPhone 3GS 16gb, is stuck in restore mode, downloaded and tried to do a restore multiple times. Keep getting an error The iPhone "iPhone" could not be restored. Unknown error occured (-1). Cannot get it out of restore mode, keeps rebooting!
    I have tried to hold the "home" and "power" button to reboot
    I have tried powering it off
    I have tried, to unplug the cable, hold the "home" button and then plug it in.
    Can't check the SN or warranty, cause it is stuck in restore mode.
    Is the hard drive gone? Should there be something replaced.

    http://support.apple.com/kb/TS3694#error1
    Error 1 or -1
    This may indicate a hardware issue with your device. Follow Troubleshooting security software issues, and restore your device on a different known-good computer. If the errors persist on another computer, the device may need service.
    Usually this is caused by your antivirus or firewall blocking iTunes access to the Internet. It can also occur if the phone is jailbroken or if the computer you are using was ever used to jailbreak an iDevice.

  • My Acrobat 8 Pro is failing to print to a pdf from multiple software.  I get an error message that a repair fixes but only for a little while.  Pretty soon the trial version of 9 that I installed pops up telling me it has expired but it would take me to a

    My Acrobat 8 Pro is failing to print to a pdf from multiple software.  I get an error message that a repair fixes but only for a little while.  Pretty soon the trial version of 9 that I installed pops up telling me it has expired but it would take me to a way to buy a valid serial number and then 8 stops working again.  I’d be happy if the 8 I paid for worked right or I could get 9 for a small cost but I cannot afford $450 or $20/month.  I need a permanent solution that I should be already paid for with 8 pro.

    After multiple repair procedures with reboot in AA8 I was eventually able to restore the printing to pdf function from various software.  However I have again lost my Acrobat tab in Outlook 2007.  I need that back, but today an even bigger problem arose.  AA8 has stopped printing to fax.  It faxes a blank page.  The only fax printing option is “Microsoft Shared Fax Driver”.  My fax software is “Windows Fax and Scan” and it was working fine just a couple weeks ago.  My OS is Windows 7 Professional.
    I have tried doing the updates you referred to but I get error messages like these:
    “No qualifying products found to apply this update, or update has been already applied”
    or
    “The upgrade patch cannot be installed by the Windows Installer service because the program to be upgraded may be missing , or the upgrade patch may update a different version of the program.  Verify that the program to be upgraded exists on your computer and that you have the correct upgrade patch.”

  • When  submit remote object call getting error Client.Error.DeliveryInDoubt

    Hello,
    We are having very weird error DeliveryInDoubt from blazeds.
    [ERROR] failed to call the remote service !!![FaultEvent fault=[RPC Fault faultString="Channel disconnected" faultCode="Client.Error.DeliveryInDoubt" faultDetail="Channel disconnected before an acknowledgement was received"] messageId="98F7B030-0FE0-0B88-300C-EC422D055E21" type="fault" bubbles=false cancelable=true eventPhase=2
    Error does not happen every time, but rather from time to time but happens on all client machines.
    Environment:
    blazeds v3.
    Flex application with Remote Object.
    Browser IE7.
    Object that passed to blazeds is complex and might have 100 items.But number of items does not seem affect error occurences.
    Short description for the object passed to blazeds remote object call for processing:
    Remote Object call takes an argument ArrayCollection of SyncRequest objects (_requestSyncList)
                    var syncRequest:SyncRequest = new SyncRequest();
                    var syncObject:Object = new Object();
                    syncObject[requestBuilder.direction] = requestBuilder.jobMap;
                    syncRequest.syncJobs = syncObject;
                    _requestSyncList.addItem(syncRequest);          
    requestBuilder.jobMap is an object that have different artifacts.
    jobMap[obj.artifact] = myColl;
    myColl is ArrayCollection of artifact of SyncJob
    Here is the definition of SyncJob
       public class SyncJob
            public var jobName:String;
            [ArrayElementType("com.farmers.docprocessing.remotesync.vo.JobParameter")]
            public var jobParams:ArrayCollection;
    Not sure what causing that issue and how to debug it. 
    Please advice.
    Thank you

    Not without you psoting some code.
    Possible problem: Difference between object type being returned, vs the type of the reference (i.e., the method that returns an object should have a return type of the interface name).

  • EventListeners for multiple remote object calls

    Hi all,
    I have a Flex component that is displaying content from multiple (specifically two) remote object calls. I can call both remote methods, get the results back, pass them off to their respective ItemRenderers, etc. with no trouble. What I need, though, is a way to determine if I get no results back from either function call, to dispatch an event to trigger the next view state, and I don't know how to do that. Something like:
    protected function ticketConfigurationStateChangeHandler(event:Event):void
                   if(getPackagePromptsResult.lastResult.length == 0 && getTicketPromptsResult.lastResult.length == 0)
                         this.dispatchEvent(new Event("ticketConfigurationStateChange"));
                protected function ticketPrompts_creationCompleteHandler(event:FlexEvent):void
                    getTicketPromptsResult.token = registrationAPI.getTicketPrompts();
                    getTicketPromptsResult.addEventListener(ResultEvent.RESULT, showTicketConfiguration);
                protected function packagePrompts_creationCompleteHandler(event:FlexEvent):void
                    getPackagePromptsResult.token = registrationAPI.getPackageCPrompts();
                    getPackagePromptsResult.addEventListener(ResultEvent.RESULT, showPackageConfiguration);
    Any suggestions would be greatly appreciated...I know I need the event listeners to be able to get lastResult.length (and have it not be null) but I don't know how to set them up so I can automatically pass the user through the component and onto the next one if there are no results returned without having the user click a button or something similar on an otherwise blank component.
    Thanks in advance!
    ~ Amanda

    Hi all,
    I have a Flex component that is displaying content from multiple (specifically two) remote object calls. I can call both remote methods, get the results back, pass them off to their respective ItemRenderers, etc. with no trouble. What I need, though, is a way to determine if I get no results back from either function call, to dispatch an event to trigger the next view state, and I don't know how to do that. Something like:
    protected function ticketConfigurationStateChangeHandler(event:Event):void
                   if(getPackagePromptsResult.lastResult.length == 0 && getTicketPromptsResult.lastResult.length == 0)
                         this.dispatchEvent(new Event("ticketConfigurationStateChange"));
                protected function ticketPrompts_creationCompleteHandler(event:FlexEvent):void
                    getTicketPromptsResult.token = registrationAPI.getTicketPrompts();
                    getTicketPromptsResult.addEventListener(ResultEvent.RESULT, showTicketConfiguration);
                protected function packagePrompts_creationCompleteHandler(event:FlexEvent):void
                    getPackagePromptsResult.token = registrationAPI.getPackageCPrompts();
                    getPackagePromptsResult.addEventListener(ResultEvent.RESULT, showPackageConfiguration);
    Any suggestions would be greatly appreciated...I know I need the event listeners to be able to get lastResult.length (and have it not be null) but I don't know how to set them up so I can automatically pass the user through the component and onto the next one if there are no results returned without having the user click a button or something similar on an otherwise blank component.
    Thanks in advance!
    ~ Amanda

  • How do I email folders and multiple photos? I get an error in server message very time.

    How do I email folders or multiple photos? I get a server error message whenever I attempt to do this. Thank you!

    Not sure what the error message is you're getting, but it's probably smartest to compress a folder, or its contents, or multiple files into a single file, then send it.
    In Finder, select the files/folder(s) you want to send. Right-click (or ctrl-click) the group, then choose "Compress...". Once done, you'll find a file "Archive.zip" nearby, or "foldername.zip". You can rename it, but then attach it to the mail you're sending. It is safe to assume that the recipient will be able to unzip it.
    Note that mail servers often have size limits for attachments, eventually both your outgoing mail server as well as the recipient's incoming server, and one limit might be tighter than the other. But then the error message should be telling you...

  • When I am activing the ODS object I getting an error as

    STDO : Log could not be written on output device T.
    and in Msg Txt:
                    The creation of export Datasource is failed
         RFC connection to source system BW2CLNT800 is damaged ==> no  Metadata upload     
         RFC connection to source system BW2CLNT800 is damaged ==> no Metadata upload     
                    Error when creating the export DataSource and dependent Objects
    These r the msg I am getting.
    Pls provide me a soultions

    Hi,
    Refer the below links:
    Re: ODS activation failed
    Re: ods activation error
    /message/3075199#3075199 [original link is broken]
    With rgds,
    Anil Kumar Sharma .P

  • HT1349 I have installed and uninstalled iTunes on multiple occasions, but keep getting the error message that "Apple Application Support is required to run iTunes ..... Error 2 (Windows Error 2)".  Can't find any useful solution.  Can anyone help?  Pleeee

    I have instlled and uninstalled iTunes on multiple occasions but iTunes fails to start with message "Apple Application support is required to run iTunes .......... Error 2 (Windows error 2)".  Most most frustrating.  Can anyone help, pleeeeeeease!!

    iTunes "Apple Application Support is required... Error 2" and possible fix.
    Hi Redgilly (and others).
    I just resolved this on Win Vista (should apply equally for Win7 too). Please uninstall iTunes before proceeding though. I'll walk you through the process I followed, if you like you can jump straight to the Solution section.
    Problems:
    The initial error during the installation of iTunes was:
    An error occurred during the installation of assembly 'Microsoft.VC80.CRT,version="8.0.50727.4053",type="win32",publicKeyToken='1fc8b 3b9a1e18e3b",processorarchitecture="x86". Please refer to Help and Support for more information. HRESULT:0x8007054F
    The error (after installing iTunes) when trying to run iTunes was:
    Apple Application Support is required to run iTunes. Please uninstall iTunes, then install iTunes again. Error 2 (Windows error 2).
    After trying various fixes around the forums I came across this MSKB article, which relates to the first installation error:
    http://support.microsoft.com/kb/2688946
    This lead me to trying to install MS Visual C++ but I received the following error trying to install that:
    Error 1935.An error occurred during the installation of assembly ‘Microsoft.VC80.ATL,type=”win32”,version=”8.0.50727.762”,publicKeyToken=”1fc8b3 b9a1e18e3b”,processorArchitecture=”amd64”’. Please refer to Help and Support for more information. HRESULT: 0x80070BC9. Assembly interface: IassemblyCacheItem, function: Commit, component: {837BF1EB-D770-94EB-A01F-C8B3B9A1E18E}
    Note: The installation of VC++ rolls back when it fails.
    Solution:
    Through this error I found this MSKB article:
    http://support.microsoft.com/kb/946414
    The Automated MS "Fix It" msi package didn’t work.
    Note: Please backup your registry first (see the above MSKB article for instructions).
    I opened the registry and (as instructed in the MSKB article) deleted the following keys:
    HKEY_LOCAL_MACHINE\COMPONENTS\
    PendingXmlIdentifier
    NextQueueEntryIndex
    AdvancedInstallersNeedResolving
    Reboot and reinstall iTunes.
    I hope this helps.

  • SAP-Documentum Interface - getting an error as: Could not create PLM DIR.

    Hi all,
    We are facing following problem with the interface of SAP-Documentum.
    While linking multiple DIRs from Documentum, getting an error as: 'Could not create PLM DIR. (E26324) (Error in version number increment for version 00)'.
    Observation:
    It's getting failed in 'DIR_GET' every time, so attempts to create new DIR every time.
    Note:
    Recently upgraded to SAP ECC 6.0 EHP4.
    Please help.
    Thanks.

    Sachin,
    There are couple of things you could do:
    1) Try the same values and execute linking manually in sap by calling BAPI_DOCUMENT_CREATE2 in se37.
    2) Try pre-pending zeros to the equipment number field using WebAdmin on Documentum side.
    Send me a message if you need additional help. I have been working with Documentum-SAP integrations for over 10 years and pretty much seen every problem out there
    Sachin
    http://documentum-sap-expert.blogspot.com/
    Edited by: Documentum-SAP-Expert on Jul 20, 2010 2:56 AM

  • Capturing log files from multiple .ps1 scripts called from within a .bat file

    I am trying to invoke multiple instances of a powershell script and capture individual log files from each of them. I can start the multiple instances by calling 'start powershell' several times, but am unable to capture logging. If I use 'call powershell'
    I can capture the log files, but the batch file won't continue until that current 'call powershell' has completed.
    ie.  within Test.bat
    start powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > a.log 2>&1
    timeout /t 60
    start powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > b.log 2>&1
    timeout /t 60
    start powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > c.log 2>&1
    timeout /t 60
    start powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > d.log 2>&1
    timeout /t 60
    start powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > e.log 2>&1
    timeout /t 60
    start powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > f.log 2>&1
    the log files get created but are empty.  If I invoke 'call' instead of start I get the log data, but I need them to run in parallel, not sequentially.
    call powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > a.log 2>&1
    timeout /t 60
    call powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > b.log 2>&1
    timeout /t 60
    call powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > c.log 2>&1
    timeout /t 60
    call powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > d.log 2>&1
    timeout /t 60call powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > e.log 2>&1
    Any suggestions of how to get this to work?

    Batch files are sequential by design (batch up a bunch of statements and execute them). Call doesn't run in a different process, so when you use it the batch file waits for it to exit. From CALL:
    Calls one batch program from another without stopping the parent batch program
    I was hoping for the documentation to say the batch file waits for CALL to return, but this is as close as it gets.
    Start(.exe), "Starts a separate window to run a specified program or command". The reason it runs in parallel is once it starts the target application start.exe ends and the batch file continues. It has no idea about the powershell.exe process
    that you kicked off. Because of this reason, you can't pipe the output.
    Update: I was wrong, you can totally redirect the output of what you run with start.exe.
    How about instead of running a batch file you run a PowerShell script? You can run script blocks or call individual scripts in parallel with the
    Start-Job cmdlet.
    You can monitor the jobs and when they complete, pipe them to
    Receive-Job to see their output. 
    For example:
    $sb = {
    Write-Output "Hello"
    Sleep -seconds 10
    Write-Output "Goodbye"
    Start-Job -Scriptblock $sb
    Start-Job -Scriptblock $sb
    Here's a script that runs the scriptblock $sb. The script block outputs the text "Hello", waits for 10 seconds, and then outputs the text "Goodbye"
    Then it starts two jobs (in this case I'm running the same script block)
    When you run this you receive this for output:
    PS> $sb = {
    >> Write-Output "Hello"
    >> Sleep -Seconds 10
    >> Write-Output "Goodbye"
    >> }
    >>
    PS> Start-Job -Scriptblock $sb
    Id Name State HasMoreData Location Command
    1 Job1 Running True localhost ...
    PS> Start-Job -Scriptblock $sb
    Id Name State HasMoreData Location Command
    3 Job3 Running True localhost ...
    PS>
    When you run Start-Job it will execute your script or scriptblock in a new process and continue to the next line in the script.
    You can see the jobs with
    Get-Job:
    PS> Get-Job
    Id Name State HasMoreData Location Command
    1 Job1 Running True localhost ...
    3 Job3 Running True localhost ...
    OK, that's great. But we need to know when the job's done. The Job's Status property will tell us this (we're looking for a status of "Completed"), we can build a loop and check:
    $Completed = $false
    while (!$Completed) {
    # get all the jobs that haven't yet completed
    $jobs = Get-Job | where {$_.State.ToString() -ne "Completed"} # if Get-Job doesn't return any jobs (i.e. they are all completed)
    if ($jobs -eq $null) {
    $Completed=$true
    } # otherwise update the screen
    else {
    Write-Output "Waiting for $($jobs.Count) jobs"
    sleep -s 1
    This will output something like this:
    Waiting for 2 jobs
    Waiting for 2 jobs
    Waiting for 2 jobs
    Waiting for 2 jobs
    Waiting for 2 jobs
    Waiting for 2 jobs
    Waiting for 2 jobs
    Waiting for 2 jobs
    Waiting for 2 jobs
    Waiting for 2 jobs
    When it's done, we can see the jobs have completed:
    PS> Get-Job
    Id Name State HasMoreData Location Command
    1 Job1 Completed True localhost ...
    3 Job3 Completed True localhost ...
    PS>
    Now at this point we could pipe the jobs to Receive-Job:
    PS> Get-Job | Receive-Job
    Hello
    Goodbye
    Hello
    Goodbye
    PS>
    But as you can see it's not obvious which script is which. In your real scripts you could include some identifiers to distinguish them.
    Another way would be to grab the output of each job one at a time:
    foreach ($job in $jobs) {
    $job | Receive-Job
    If you store the output in a variable or save to a log file with Out-File. The trick is matching up the jobs to the output. Something like this may work:
    $a_sb = {
    Write-Output "Hello A"
    Sleep -Seconds 10
    Write-Output "Goodbye A"
    $b_sb = {
    Write-Output "Hello B"
    Sleep -Seconds 5
    Write-Output "Goodbye B"
    $job = Start-Job -Scriptblock $a_sb
    $a_log = $job.Name
    $job = Start-Job -Scriptblock $b_sb
    $b_log = $job.Name
    $Completed = $false
    while (!$Completed) {
    $jobs = Get-Job | where {$_.State.ToString() -ne "Completed"}
    if ($jobs -eq $null) {
    $Completed=$true
    else {
    Write-Output "Waiting for $($jobs.Count) jobs"
    sleep -s 1
    Get-Job | where {$_.Name -eq $a_log} | Receive-Job | Out-File .\a.log
    Get-Job | where {$_.Name -eq $b_log} | Receive-Job | Out-File .\b.log
    If you check out the folder you'll see the log files, and they contain the script contents:
    PS> dir *.log
    Directory: C:\Users\jwarren
    Mode LastWriteTime Length Name
    -a--- 1/15/2014 7:53 PM 42 a.log
    -a--- 1/15/2014 7:53 PM 42 b.log
    PS> Get-Content .\a.log
    Hello A
    Goodbye A
    PS> Get-Content .\b.log
    Hello B
    Goodbye B
    PS>
    The trouble though is you won't get a log file until the job has completed. If you use your log files to monitor progress this may not be suitable.
    Jason Warren
    @jaspnwarren
    jasonwarren.ca
    habaneroconsulting.com/Insights

  • Crystal report for Enterprise show latest instance shows URL not found error

    hi everyone,
    we recently upgraded our BO4.1 platform from SP2 to SP5.
    after the upgrade we are getting error while view the latest instance of Crystal report in BI launchpad, this error occurs only for Crystal report and that only when we scheduled in pdf format.
    anybody faced this issue before, any idea or resolution?
    Thanks in advance.
    Regards,
    Ganesh

    when I click on view latest instance, i am getting below error.
    The requested URL /BOE/portal/1503182223/CrystalReports/filename/CREnt_BICS_STS_Check.pdf was not found on this server
    but when see the path, I could see the path till /BOE/portal/1503182223/CrystalReports/
    is it remaining path, like the “file name” part generated at runtime?
    could you please support me, do we need changes required in tomcat?
    Regards,
    Ganesh

  • 1009 Error (Null Object Call) Flash CS4

    Hi All
    I'm very new to Flash (this is my first attempt) and am trying to figure out how to deal with this error I'm getting.
    The code is supposed to animate a flyout menu on a mouse hover event.
    I'm actually surprised I have made it this far before getting stumped.
    Please help, My brain hurts. 
    Here is my code:
    import fl.transitions.Tween;
    import fl.transitions.easing.*;
    var FishingSub_mc:MovieClip = FishingSub_mc;
    var Fishing_btn:SimpleButton = Fishing_btn;
    function FishingFlyout (event:MouseEvent):void
        var FishingTween:Tween = new Tween (FishingSub_mc,"y",Regular.easeOut,0,40,20,false);
        Fishing_btn.addEventListener(MouseEvent.MOUSE_OVER,FishingFlyout);
    And here is the error I'm getting:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at menu_fla::MainTimeline/frame1()[menu_fla.MainTimeline::frame1:12]
    Thanks for your help.
    Dave

    I am not sure why you have these two lines...
    var FishingSub_mc:MovieClip = FishingSub_mc;
    var Fishing_btn:SimpleButton = Fishing_btn;
    If those two objects are items on your stage, then you should not need those lines of code at all. The important thing is to be sure that you have the instance names assigned to the objects.  Whichever object is being targeted on line 12 is out of scope when that code executes.
    Some of the possible reasons...
    - the object doesn't have the instance name assigned to it
    - the object animates into the movie and does not have that instance name assigned at each keyframe
    - the object is somewhere down a timeline when that code executes

  • Multiple instances of an Object-Oriented Scrollbar?

    Hi everyone, Ive gone through the Object-Oriented Scrollbar tutorial on gotoandlearn.com. Its working great and I have multiple buttons inside of the moveclip it lives within. The problem occurs when I create another one on the same page. I have put one on frame 1 and the other on frame 5 so that I can select a 'category' and the scrollbar movieclip changes to the relevant buttons.
    Ive duplicated the movie clips and changed the instances accordingly. I keep getting these errors in the Output panel when playing my swf;
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at as3_movieplayer_fla::MainTimeline/frame1()
    and when I click the like to the second category it comes up with this error;
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at as3_movieplayer_fla::scrollbox_1/thumbUp()
    Not really sure what im doing wrong - or even what these mean!
    Here is the code from my main actions layer;
    stop();
    //buttons
    btn_advertising.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
    function mouseDownHandler(event:MouseEvent):void {
        gotoAndStop(1);
    btn_corporate.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler2);
    function mouseDownHandler2(event:MouseEvent):void {
        gotoAndStop(5);
    //video player script
    function videoOne(event:MouseEvent):void{
       vidPlayer.source = "flvs/ib_enginuity.flv";
    function videoTwo(event:MouseEvent):void{
       vidPlayer.source = "flvs/ib_blists_hill.flv";
    function videoOneCorp(event:MouseEvent):void{
       vidPlayer.source = "flvs/ib_explore_enjoy.flv";
    function videoTwoCorp(event:MouseEvent):void{
       vidPlayer.source = "flvs/ib_great_year_visit.flv";
    //text script
    function button1text(event:MouseEvent):void{
       textBox.text = "Ironbridge - Enginuity";
    function button2text(event:MouseEvent):void{
       textBox.text = "Ironbridge - Blists Hill";
    function button1CORPtext(event:MouseEvent):void{
       textBox.text = "Ironbridge - A Place to Explore and Enjoy";
    function button2CORPtext(event:MouseEvent):void{
       textBox.text = "Ironbridge - A Great Year to Visit";
    //event listeners
    scrollbox.content.button1.addEventListener(MouseEvent.CLICK,videoOne);
    scrollbox.content.button1.addEventListener(MouseEvent.CLICK,button1text);
    scrollbox.content.button2.addEventListener(MouseEvent.CLICK,videoTwo);
    scrollbox.content.button2.addEventListener(MouseEvent.CLICK,button2text);
    scrollboxCorp.content.button1Corp.addEventListener(MouseEvent.CLICK,videoOneCorp);
    scrollboxCorp.content.button1Corp.addEventListener(MouseEvent.CLICK,button1CORPtext);
    scrollboxCorp.content.button2Corp.addEventListener(MouseEvent.CLICK,videoTwoCorp);
    scrollboxCorp.content.button2Corp.addEventListener(MouseEvent.CLICK,button2CORPtext);
    and also the code from my actions layer inside my movieclip which is on frame 5;
    import caurina.transitions.*;
    var yOffset:Number;
    var yMin:Number = 0;
    var yMax:Number = sb.track.height - sb.thumb.height;
    sb.thumb.addEventListener(MouseEvent.MOUSE_DOWN, thumbDown);
    stage.addEventListener(MouseEvent.MOUSE_UP, thumbUp);
    function thumbDown(e:MouseEvent):void
       stage.addEventListener(MouseEvent.MOUSE_MOVE, thumbMove);
       yOffset = mouseY - sb.thumb.y;
    function thumbUp(e:MouseEvent):void
       stage.removeEventListener(MouseEvent.MOUSE_MOVE, thumbMove);
    function thumbMove(e:MouseEvent):void
       sb.thumb.y = mouseY - yOffset;
       if(sb.thumb.y <= yMin)
          sb.thumb.y = yMin;
       if(sb.thumb.y >= yMax)
          sb.thumb.y = yMax;
       var sp:Number = sb.thumb.y / yMax;
       Tweener.addTween(contentCorp, {y:(-sp*(contentCorp.height-masker.height)),
                            time:1});
       e.updateAfterEvent();
    Please help me iron out these problems!!! Many thanks
    Dan Williams

    hum thats interesting. Could it be my flash player?
    Ive 'published' it as an .exe and it works fine.
    If i publish to html, the flash player box comes up with that error in it.
    If you dismiss all errors then it works fine!?
    The error appears in the output part. Its referencing scrollbox_1::frame1:18, but I dont have anything called scrollbox_1?! not sure what is going on.
    ignore all that. I just tried exporting it as flash 9 rather than flash 10 and the error has gone!
    I suppose thats the answer then!
    Thanks for all your help anyway ned, was much appreciated.
    Kind Regards
    Dan

  • DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER Error while running multiple instances of SSIS through batch files.

    I have an SSIS package which loads data from an Excel file into a SQL Database. This SSIS package is triggered by a batch file. 
    As part of a load test, I have created 20 batch files that run the same package for a different Excel file. 
    To have these batch files run together, I have created 2 master batch files, one to run them sequentially (using CALL) and the to run them parallely (using START). I do have any issues in both of them.
    But when I try to run 5 instances of the same batch file run concurrently (using START XYZ.bat 5 times) only 1 succeeds. CALL XYZ.bat 5 times has no issues. 
    Is it because during START, the Excel file is opened by 1 batch file and unavailable to the other 4 instances? If yes, then why doesn't SSIS throw an error when I run the package through BIDS keeping the Excel file opened? Is there something I can do to
    overcome a FAILURE?
    Nelton D'Souza MS BI Developer

    Yes, it seems that since you open the same file from multiple processes the error occurs due to the sharing violation.
    I guess you will get the error opening several Excel files from BIDS trying to read / write to it if you have two BIDS so it is consistent. Excel disallows multiple access paths by its design.
    Arthur My Blog

  • Sync: Multiple Instance Error Causes Desktop Manager to Fail

    I can no longer sync my Outloook calendar with my Bold 9650 using Desktop Manager 6 (bundle 3084). I failed multiple times, rebooted each device and tried again but still receive the same error. Error is a message from Windows that Desktop Manager has stopped working. The last few entries in the log indicate:
    08:55:35.962 Sync information for application 'Calendar' in translator 'Outlook' --
    08:55:35.962 Number of newly added records since last sync (New): 482
    08:55:35.962 Number of records modified since last sync (Modified): 0
    08:55:35.962 Number of records deleted since last sync (Deleted): 0
    08:55:35.965 Performing two-way sync
    08:55:35.966 ERROR: Multiple instance error. Remove a recurring instance or exception on (11/8/2011).
    08:55:35.966 ERROR: Multiple instance error. Remove a recurring instance or exception "Bi-weekly Leadership Team Call".
    I saw an entry in the Outlook calendar related to the error, but not in the BB calendar, and deleted it but this did not resolve the problem. At this point, I cannot get DM to complete synchronization. Has anyone else experienced this and identified a resolution?
    thanks,
    eric

    Hi Eric,
    Did you manage to resolve this? I have the same error and cannot get DM to complete the sync.
    Thanks,
    Johann

Maybe you are looking for