Rudimentary got me stumped

I have 4 movieclips that i am trying to play at different
intervals for a banner I am creating. I have only dabbled with
simple actionscripts but have found myself trying to do a more
complex move then I am currently proficient at.
Aside from making a swf that is 300+ frames long I have
created movieclips of the needed animations and placed them in
single frames on the main timeline.
My problem, is I cannot get the movies to play through the
timeline. It just skips to the end and loops. Where i could put a
pause, or even a wait, it will not play the movie.
could someone help me out with the syntex for loading the
movie, or whatever in the world I need it to say to get it to play
the movies, then gotoandplay a different movie, at a different
label within the main timeline!!!
Or have I got this all bumfuzzled and making it more
complicated then I think it is.
damien

lol - yeah that can happen ;)
ok, first of all you're on the right track. i would suggest
that you place a 'stop();' action on the first frame of each MC you
have created, this will keep the MCs from looping. now you'll need
to make only the 'current' movie visible and make the rest go away.
so now we start to use a bit of code - on the main timeline make a
new layer above the others, select the first frame and open the AS
panel - first thing type: stop();
then (making sure that you have 'instance names' on all the
MCs) point to each by name and turn them off (invisible) like this:
mc1.visible = false;
mc2.visible = false;
now we need to create a 'method' that we can call to play the
'next' clip - but we also need to control the order of play and
keep track of the current clip playing - so we need an array -
place the instance name of each MC into the array:
var clips:Array = [mc1, mc2, ... ];
var index:int = 0;
now we create a method that we can 'call' to advance the clip
order and play the next one in sequence, like so:
function advance():void {
clips[index].visible = false; //turn off the current clip
(index < clips.length-1) ? index++ : index=0; //advance
the index
clips[index].visible = true; //turn on the next clip
clips[index].play(); //play the clip
so, now when each MC is 'done' playing we need to 'call' to
this method to fire off the next one. so go back into each MC, make
a new keyframe in the actions layer (make a layer for your actions
if you have not done so) - on the 'last' frame of the clip - with
the keyframe selected open the AS panel and type:
stop();
MovieClip(root).advance();
gotoAndStop(1);
that should now run through all of your clips infinitely in
succession.

Similar Messages

  • Creating a jagged edge border---got me stumped???

    I know this has got to be an easy one.
    I created an image (720x480@300dpi), filled it with a pattern and can't figure out how to cut off the edges----making an irregular border. I want to use this final image (with ragged border) in a video project so the background has to be transparent. In other words, is I want an image with ragged edge border and irregular in shape.......and I want to see that portion only.
    I tried using the "cookie cutter" but when I flatten the image, I don't have anything. Using a new image (white) gives me the ragged image centered on a white background.
    What's the best way to approach this????
    Hope to hear your ideas.
    Mike

    Thanks Barabara, but when I do that, I still get a white background (using the cookie cutter for example).
    Detail:
    Taking the final "unmerged" image and saving it as a jpeg and then importing it into a video timeline it appears as a image with a irregular ragged border on a white background----since the video timeline is essentially "black" when no video is present.
    Not sure if I'm using the right jargon here.
    (BTW, I got your book, and it's been a great help)
    Mike

  • B&W G3 No Longer Boots into OS 9

    I consider myself a pretty savvy Mac guy, but this one has me stumped...
    At work, I use a B&W G3/350 with 1 GB of RAM and two hard drives - one with OS 9.2.2 installed on the original HD, and a 40 GB internal drive with OSX 10.3.9 installed. I've used it for the past year for editing video and creating graphics in OS 9 (the only OS the editing software will work in), while using OSX for networking, Safari, etc. It has given me very little trouble, until this morning.
    While working in Photoshop 5.5 and After Effects 3 in OS 9, a message appeared that my hard drive needed to be repaired. I saved my work and restarted the B&W. Just as the "Welcome to Mac OS 9.2" splash screen appeared, a system error "bomb" message came up: "System Error 102 - Restart with Extensions Off and Try Again."
    Tried to reboot with shift key down - got the same bome and error message. Tried to start up with Norton SystemWorks, then my OS 9 disk - STILL got the bomb. Bybassed the OS 9 drive, and was finally able to boot up in OSX. Erased the OS 9 drive and reinstalled the system software from OSX - STILL won't boot in OS 9!
    Unless I disconnect the original drive, now if I try to start in OS 9, the dreaded folder with the flashing question mark appears, followed by a folder with the finder icon for about a minute; then the flashing question mark reappears, then the finder icon, etc.
    I've had this happen with failing drives before, but I could always boot from a System Disk or a Norton's CD. But this one's got me stumped. It simply will no longer recognize OS 9 for startup. Anyone have any suggestions?
    Thanks,
    Highway Zero
    B&W G3/350 MHz/1GB/6 GB + 40 GB Mac OS 9.2.x also OSX 10,3,9
    B&W G3 350MHz/1GB/6 GB + 40 GB   Mac OS 9.2.x   also OSX 10.3.9

    Oh, how I wish it got as far as loading extensions... It would first only go as far as the "Welcome..." splash sreen, then would give me the "bomb". No extensions have the time to load. I even get the "bomb" when I try to restart with Extensions Off.
    That's the thing that's got me stumped. It won't boot from an OS 9 startup disk at all! It doesn't seem to want to recognize OS 9. I've had hard drives go bad before, and have always been able to start from a OS CD or Norton disk using the "c" key. I still get the flashing ?/Finder icon. The disk will show up on the desktop in OSX, so I don't think it's the optical drive.
    Oh, and here's the kicker - the lone screw that holds the HD tray in the case is stripped. I can't even physically take the drive out to test it! (Grrr!)
    Sorry that these explanations are so long. But this problem's had me buzy all day.
    iBook G4, PM8500/G3, Mac Classic, IIcx, LCIII, PM7200 Mac OS X (10.3.9)

  • Can arguments be corrupted on passing in to function?

    Hello,
    I'm seeing something that's got me stumped. Maybe you folks can advise.
    What appears to be a valid arguments are getting corrupted when passed to a different function.
    Here is my set up:
    - LibA.a
    - LibB.a
    - SampleApp
    - MyApp
    The bad function call is going from LibA in to LibB.
    LibA, LibB and SampleApp have all been pre-complied (thankfully in debug mode) by an older version of Sun Studio on Solaris x86/64. SampleApp uses both LibA and LibB and runs just fine on my system.
    MyApp uses both LibA and LibB in a manner similar to SampleApp. Yet, MyApp crashes due to this pointer corruption.
    When single stepping the code, I see the pointer in the caller being valid and being passed as a parameter. In the callee, the value of the passed-in parameter pointer in simply wrong.
    Note: The caller is in the pre-compiled LibA.a and the callee is in the pre-compiled LibB.a I'm never even touching that code to recompile it. Further, the code itself must be correct since SampleApp uses those functions, and runs fine.
    Thus, I'm thinking that my error is in the linking stage, but I'm not sure what it could be.
    Any ideas?
    Thank you,
    David
    Edited by: 878694 on Aug 11, 2011 3:52 PM

    It's impossible to say what is wrong without a fairly complete example, preferably one that could be compiled and run to see the problem. Some generic guesses:
    1. Compiler bug. The code should be recompiled with a new compiler where the bug has been fixed. Impossible to say what sort of bug that might be without a test case.
    2. As in my original comment, the two libraries see inconsistent declarations. For example, after one library was built, a declaration in a common header was changed and the other library, or some binary in it, was built using the different declaration. This kind of error is common when makefiles do not express all the needed dependencies. The fix is to delete all binaries and recompile everything (to be sure no change is missed).
    2a. A related error is when common declarations are repeated in .cc files instead of being placed only in header files and included where needed. What are supposed to be identical declarations get out of sync. The fix is to reorganize the source code to eliminate copies of declarations, delete all binaries and recompile everything (to be sure no change is missed).
    3. You are not seeing what you think you are seeing. For example, if the address of a derived class is passed to a pointer-to-base-class, the address might need to be adjusted. In this case, the difference in values is correct, and something else is causing whatever incorrect program behavior you see.

  • CS4 : unable to print / stops printer / halts print job on Fuji Xerox c2255

    Morning,
    This discussion posting may or may not have some relevance to my previous posting, CS4 : memory leak errors (?) in Os X console log
    I am working on a clients workstation and they are having a few problems. Specific hardware and software details are at the bottom of this posting.
    THE PROBLEM
    The problem is that I can not seem to print from CS4. The problem seems to be specifically Adobe CS4 related as I will explain below.
    From the end user perspective, the CS4 suite appears to function normally with one exception - CS4 will not print. In the below example, I am referring to mainly Adobe Acrobat CS4 and InDesign CS4 as these are the programs that they use the most. The artist can still work with all the CS4 applications - opening new or existing indesign/acrobat documents, adding text, import, export, create pdfs, saving to same name or new name, etc... but they can't print out to a printer (Fuji Xerox c2255). For example, using InDesign, the artist can open an existing Indesign document and make changes to the Indesign document. She can save the document using the same name or a new name, but when she attempts to print the Indesign document, the document will not printed. If she saves the file as a pdf and using Acrobat to open the pdf and attempts to print the document, it will not print. BUT, if she uses preview to open the document and attempts to print, then it WILL print.
    When attempting to print, the following happens,
    - in acrobat CS4 or Indesign CS4, choose 'Print'
    - choose A4 or A3 format
    - click print
    The job processes and is set to the printer spool as per normal. About a couple of second later, after the processing is done, the Printer Queue starts jumping up and down in the dock. Open up the printer queue, shows the following message 'Printer has stopped'. The job is present in the printer queue list. Restart the Printer, and restart the job, and then about 5 seconds later, the message appears again, 'Printer has stopped'. This continues ad nauseum until the job is manually deleted from the queue. No print outs.
    PRINTER or PRINTER DRIVER
    I have installed and uninstalled the printer driver half a dozen times. I have source the driver from different locations (US, Asia and Australia). In all three cases,the Fuji Xerox printer drivers look identical (I've opened them up in text edit). Every other application, on the Mac, appears to access the printer without any problems -Office 2008 ( Word, Excel), Preview, Text Edit, Text Wrangler, Mail, etc can all address the printer and print to the printer without any problems. Using any of these programmes, I can access all the functionality of the printer (A4 in Tray 1, A3 in Tray 2, Levels of the inks, etc) via the driver. When I installed the generic printer drive, I have no access to any of the Fuji Xerox Printer functionality. This leads me to think that the Fuji Xerox printer driver is not the problem.
    Interestingly, using Apple's Preview, I can print any existing Acrobat documents without any problems - in either A4 or A3. However, if I attempt to print the SAME Acrobat document from Acrobat CS4, it will not print.
    USE 'PRINTER DRIVER' option rather then choosing paper size.
    I read in another posting, in the Adobe forum, of a similar problem with Duplex printing - if the the paper size is manually set (A3/A4) in the 'print document options', printers do not print duplex. The answer seemed to be instead of manually choosing the paper size (A4/A3), allow CS4 to determine the paper size. So, in the 'print document' dialog option, one should choose 'use printer driver' instead of specifying A3 or A4. An explanation suggested that the print engine refers to the printer driver to find out what options are availible and then CS4 chooses what size it wants to send the print job to. Forcing CS4 seems to stop duplex printing from working.
    I will look at this suggestion next week when I return to the site.
    NETWORK PRINTER
    The fuji Xerox c2255 is a network printer. Both Mac Pro and printer have a fixed IPs. I have eliminated the network as a problem, by running a network cable directly from Mac Pro ethernet port to Fuji Xerox ethernet port. I can ping the printer directly from the Mac Pro; I can see the printer from the Mac. I can print directly to the printer from the Mac, using Text edit or any other application EXCEPT CS4. CS4 will not print.
    CLIENT HAS UPDATED ALL DOCUMENT FILES TO CS4 via INX
    I have since been informed that a staff member had (recently) updated all the documents to CS4 via INX. I wonder if this anything to do with the problems ? Unfortunately, I don't have any 'old' documents to test with. I wonder if the conversion process had 'modified' the pdf wrapper in some way ? I have tested this in the following manner - I opened a 'updated' CS4 document in Indesign CS4. If I try to print straight out of CS4, then the above problem occurs (i.e. the document will not print as descibed above). BUT, if I copy all the contents - from the updated CS4 document - and paste the contents directly into a NEWLY created document, then it WILL print.
    UNINSTALL CS4 AND REINSTALL
    Yes, this has been done three times so far with no further improvement. Each time, the steps that I have taken are as follows,
    - repaired disk permissions.
    - fsck in single user mode to confirm directory structure is fine
    - uninstalled CS4 using the uninstaller.
    - manually searched and remove any file, folder, cache that has the word 'adobe' in it from both User account, System Library and Library.
    - used Onyx manual and automatic functions to clear all logs, font caches, spotlight databases, kernal caches, etc, etc
    - ZapRAM Cmmd-Option-P-R (wait for start up chime 3 times)
    - fsck again
    - start Mac in Safe mode
    - reinstalled CS4 from media (see version above)
    - Following reinstallation, restarted mac as per normal.
    - run Disk Utility to repair permissions
    I have tried printing an existing CS4 document file with a freshly installed CS4 suite - directly from the media file (will not print). And I have attempted to print a CS4 document file after applying all updates (will not print) Neither approach improves the situation.
    USE CS3
    This has been considered but as the client(s) have already done the conversion of all their documents to the CS4 format using INX, then they are really committed to working with CS4. What I am attempting to do at this time is to find out WHY CS4 is doing what it is doing, and if there is a fix to this problem. If there is no fix, then I know I should use a different approach.
    I am posting this message in the hope that someone may have already come across this problem or perhaps may be able to spot something that I have overlooked. This problem has really got me stumped - I have had experience with Adobes products since Photoshop 1.0 (1990s / Pre-CS1) but never had a problem as annoying or time consuming as this one - this is a dousy.  I have lodged a case number with Adobe Technical Support.
    Thank you for taking the time to read this longish posting. I would be most grateful for any feedback solutions, or suggestions.
    Have a wonderful weekend.
    Thank you,
    Fred
    Workstation specs are as follows,
    MACINTOSH MODEL (Intel) 8 core - new model Mac Pro; just 1 month old.
    Model Name: Mac Pro
      Model Identifier: MacPro4,1
      Processor Name: Quad-Core Intel Xeon
      Processor Speed: 2.26 GHz
      Number Of Processors: 2
      Total Number Of Cores: 8
      L2 Cache (per core): 256 KB
      L3 Cache (per processor): 8 MB
      Memory: 6 GB
      SMC Version (system): 1.39f5
      SMC Version (processor tray): 1.39f5
      System Version: Mac OS X 10.5.7 (9J61)
    ADOBE CS4 VERSION - Installed from media.  No updates applied (but have already done with with an earlier installation)
    Adobe Acrobat Pro 9.0 v9.0.0, Adobe Bridge CS4 v3.0.0.464, Dreamweaver CS4 v10.0.0.4117, Adobe Flash CS4 v10.0.0.544, Adobe InDesign 6.0.3.557, Adobe Media Encoder CS4 v4.0, Adobe Media Player v.11, Adobe Photoshop CS4 v11.0 (11.0x20080919 [20080919.r.488 2008/09/19:02:00:00 cutoff; r branch]), Adobe Updater 6.0.1.1464

    Try resetting the printer subsystem.

  • Loops and arrays

    Hi
    I'm trying to write a loop that does the following :-
    Takes an array of index values that applies to a string adds one to the value of the index and then returns the character in this position.
    There are only four types of character within the string so I have tried to solve it with the following code:-
    for (int i=0; i < indexa.length; i++)
        if(genome.charAt(indexa[i] + 1) == 'a')
            indexia[i] += indexa;
    else if(genome.charAt(indexa[i] + 1) == 'c')
    indexic[i] += indexa[i];
    else if(genome.charAt(indexa[i] + 1) == 'g')
    indexig[i] += indexa[i];
    else if (genome.charAt(indexa[i] + 1) == 't')
    indexit[i] += indexa[i];
    I'm trying it this way but it does'nt seem to work - I've only succeeded in confusing myself - any tips would be much appreciated

    Sorry, I should have explained it better.
    The situation I've got is something like this:-
    I've got a string that looks something like this
    'aactgctcct'
    next - I've got four different arrays, each corresponding to the index of each character a, c, t and g
    so they look something like this
    indexa = {0,1}
    indexc = {2,5,7,8}
    indext = {3,6,9}
    indexg = {4}
    I am presently stuck at the next part - for which I have to return the character that is to the immediate right of the index value in the string that was analysed initially.
    e.g. for indexa ;
    0 = a
    1 = c
    for indexc;
    2 = t
    5 = t
    7 = c
    8 = t
    etc
    I don't know if this makes my predicament any clearer - I'm a genetics student this java is very new to me - I'm kinda muddling through but this bit has got me stumped !!!

  • Need help configuring Aiport Extreme A1034 to optimize network signal.

    Greetings, I am a very loyal mac user from back in the days of the Quadra 650. I have torn apart and fixed most macs for the last 13, but I must say configuring this wireless network has got me stumped. Any help would be gladly appreciated.
    I went from a ibook 1 Ghz with a plastic case to a aluminum powerbook g4 1.67 to find out that the metal case greatly diminished the computers ability to receive a wifi signal from my Rv park. I then decided to buy an Airport Extreme A1034 that has the antenna port and then bought a Hawking 15db directional antenna. My intention was to have the Airport Base station receive the 802.11b wifi signal sent out from the office of the RV park through the Hawking antenna, and then have the base station take that signal it received and send that high speed wifi signal to the airport card in my Powerbook G4. Sounds simple enough, I thought it would be. I have found that using Airport set up assistant doesn't give me that option. I then proceeded to get into the workings of the Airport Admin Utility. I have found myself ready to pull my hair out trying to configure the 6 different tabs being, Airport , Internet, Network, Port Mapping, Access control, and WDS.
    I do know that everything in the Airport tab is correct. The big problem I think is between the Internet, Network and WDS tabs. It seems that the Airport base station was basically made to have a high speed connection plugged into it via ethernet and then the base station broadcasts to host computers such as my PowerBook G4. My initial thought was to connect via Airport WDS in the internet tab and then set my powerbook to connect directly to the base station through the airport card. I read up on this via Apples Designing Airport networks that came on the Airport installation CD. It talked in detail about setting up the WDS tab to do something like I want but it still involves a hard wired ethernet connection at the start of it. I have also played around extensively with the Network control panel and the sharing control panel , I thought about turning the airport card inside my powerbook into a software or virtual base station and then try some sort of WDS relay. Through all this I had the Airport extreme go none responsive on me and not letting me log in. That's another story of 10 hours of **** fixing it, but i did. Even the reset button stopped working for a while. As of now I can access everything everywhere. I also have ALL the IP addresses Hardware(MAC) address, subnet masks and router addresses for every location in this proposed wireless chain. I just need someone to end this stressful nightmare. They say you learn through trial and error, that is how I learned most of my computer skills over the decades, that and Applecare certified tech training many years ago, But it doesn't help anyone if I stick a large knife through my base station. I can provide a phone number if your willing to call. My email is [email protected] . If your in the San Diego area, I can get ya free passes to the nudist colony where I live, if your in for a new adventure in turn for setting up this network for me. Check out http://www.deanzasprings.com . its where I live.
    Rich

    1. First, can someone confirm that the Extreme card be used as a WDS main base?
    Sorry, but no you cannot use the AirPort Extreme card in a WDS as either a main, relay or remote base station. It does not support this function.

  • ITunes silently fails to launch in just my user account

    I'm running Windows XP SP3 32-bit with an administrator level account, installing iTunes for the first time ever on any of my systems in order to use it with my new iPod touch 5th gen, only to find that after install it won't launch.
    Went through the Apple support instructions for a launch failure and discovered that if I created a brand new administrator level account, then ran iTunes in it, it would launch normally and go through it's new install setup, and nothing seemed to be wrong with it. So there's something about my primary user account that causes iTunes to not work at all.
    When I try running iTunes, iTunes.exe will show in the Task Manager for a second or so, then vanish with no error at all. Running Process Monitor and filtering only for the iTunes process shows that it doesn't even establish a running process or any threads. There's a bunch of registry and file system access and nothing else before iTunes.exe terminates.
    This has got me stumped, and all my searches haven't turned up any help on this, so I've come here. Is there any light any of you could shed on why iTunes is failing for me?

    As far as I know, when you sign OUT of your Cloud account nobody will be able to use that account again until the user signs back IN
    Of course... any user who does not sign out and then turns the computer off will be (I think) the "user of record" when the computer is started again

  • Can't get Airport Extreme and Express to join same network

    I recently bought an Airport Extreme so I could create a wireless network with my Airport Express. THis way I could browse the internet and stream music to my stereo at the same time. After spending hours trying to get both AP Extreme and Express linked together in a WDS network, I have failed time and time again. I have no problem setting the AP Extreme as the WDS main. My iMac and laptop connect to the AP Extreme just fine. I can set up the AP Express to stream music via iTunes to my stereo without problems. But to get them working together in the same network has got me stumped.
    I've set the AP Extreme as WDS main and Express as WDS remote. They are both set to same wireless channel. Where am I going wrong? Is it a 802.11n/802.11g compatibility issue?
    I'd appreciate any insight. Thanks.

    adrian,
    I have done this a dozen time today with different base stations like yours.
    The only thing I can think of is this:
    1. With the WDS Main, make sure you have the address of the Remote in the box.
    2. With the WDS Remote, make sure you have the address of the Main in the box.
    3. Make sure both base stations have the same network name in the wireless tab.
    Then restart both base stations.
    Let us know what you find out.
       Joseph Kriz

  • Itunes was unable to load provider data from sync services. Reconnect or try later

    Hi everyone
    This issue has got me stumped.
    I have a Dell Vostro desktop computer with Windows 7 SP1 64 bit edition.
    I used to be able to sync now I cannot bakup or sync.
    The device is an iphone 4s with the latest software IOS 5.1.
    Itunes is version 10.6.0.40, the latest.
    To try to fix this problem I removed itunes/quick time completely. Removed Bonjour, Apple Application Support, Apple Mobile Device Support, Apple Software Update,
    Deleted the itunes and quick time folders, the common file folders and files, deleted anything related to able under appdata local and roaming, removed apple folder under program data, scanned through registry and removed all apple entries.
    Then I rebooted the computer, re-installed itunes/quicktime and have the same error appear again.
    I have gone through this process at least 5 times , but still keep getting the same error, cannot go past it.
    I found a solution on this forum but it only applies to MACOS, could not find anything suitable for windows 7 environment.
    Also searche the web high and low and tried several different advice from people.
    This has to be a bug with Itunes! I would like to hear from Apple developers and programmers why I have to suffer so much to sync my device.
    As a last resort I am planning to rebuild windows 7 from scratch but is is a big job.
    Tried also to disable firewall, antivirus, check the apple windows services are running, nothing works to get me past this error.
    Please help someone!
    Thanks and regards
    Alfred

    Did you have a look ath this (rather) long thread about it?
    https://discussions.apple.com/message/17214161#17214161 , for example:
    danielfromkongsvinger
    Re: Unable to load provider data from Sync Services 
    16.12.2011 20:21 (in response to wisniak)
    "I then followed a tip found in PCWorld  and performed the following:
    1. Make sure iTunes isn't running.
    2. Click Start, type regedit, then press Enter.
    3. Navigate to this Registry location: HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
    4. Look in the main pane for a key that refers to iTunes. If you find one, delete it, then exit the Registry.
    5. Start iTunes. The offending message should be gone!"
    This actually worked for me! I have struggeled with this error for years, and now it's gone. Thanks!

  • Issue with Gregorian Calendar and setting Day of the week

    Hi
    This may have a simple solution, but its currently got me stumped. Basically, after some calculation I determine the date that a particular event should occur on. These events are listed in a JTable where the column headers are the dates of the beginning of the weeks. In order to place my calculated event in the correct column I create a Gregorian Calendar, set it to the date of the event and then set the day of the week to the beginning of the week. Normally this works fine but for a few instances, rather than getting the date at the beginning of the week, I get the date thats the beginning of the next week.
    As a quick example, to kind of illustrate my problem:
    I determine that the date of the event is 27/06/2006 which is a Tuesday.
    I want this event to appear in the column headed 25/06/2006, the date of the beginning of the week.
    In fact it appears in the column headed the 02/07/2006 which is the beginning date of the following week.
    Is there anyway to get it so when I set the day to the first day of the week it goes to the beginning of the current week rather than the beginning of the next week?
    Any suggestions would be gratefully recieved as I'm currently struggling to think of any.
    Thanks

    Hi, I dont say Monday is the begining of the week. At least I dont think I do.
    As for code I'll post the conversion bit which is:
    for (int i = 0; i < areaNameSelectionTable.getRowCount(); i++) {
    GregorianCalendar conversionCalendar = new GregorianCalendar();
    conversionCalendar.setTime((java.util.Date) prioritiesTable.getValueAt(i, 10));
    conversionCalendar.set(GregorianCalendar.DAY_OF_WEEK, GregorianCalendar.SUNDAY);
    }//end for loopI then create a string from the GregorianCalendar in the format DD/MM/YYYY and compare that with the headers of my table columns (Also dates in the format DD/MM/YYYY) When they match thats the column this particular event should appear in. I can post this code if necessary, but I dont know if its relevant.
    Thanks

  • Acrobat 11 Pro - problem with right-click "Convert to Adobe PDF" output folder

    I'm migrating from one machine running Windows XP Pro with Acrobat 8 Pro to Windows 7 Pro with Acrobat 11 Pro.
    On the XP machine, when I right-click on a document and select "convert to Adobe PDF" the process works just fine - it always outputs the file to the target destination I have set in the Adobe PDF printer definition.
    On the Windows 7 Pro/Acrobat 11 Pro machine, the exact same settings are ignored: the PDF will always end up in the same folder as the source file.
    Both the source folder and the destination folder are on one of my office's networked drives.
    Under the Printing Preferences, I have the output folder address set the same on both machines, so it *should* go to the right location on the new machine.
    Oddly enough, on the Acrobat 11 Pro machine, if I select Adobe PDF as the default printer and do a test print, it *does* print to the correct folder!
    This has got me stumped!
    Thoughts?
    (update from later in the day)
    If Adobe PDF is selected as the default printer, I *can* select a bunch of documents, right-click, select "print", and Word will open up, and they'll print to the correct target folder.
    So, it's "just" the right-click "Convert to Adobe PDF" that doesn't work correctly.

    The reinstall is typically the last ditch effort to do. The first step is Help>Repair and Help>Updates. As far as Office 2013, the PDF Maker of AA X is not compatible and you can only print. In your list of errors it showed a problem with AcroTray.exe. As a first step, go to the print and select print-to-file. The file will be a PS file (maybe with a PRN extension). Once the printer if finished, open the file in Distiller to complete the process. If that is successful, then the problem is with AcroTray. Check your running tasks to be sure AcroTray is indeed running. If not, that is likely the problem. If it is, then restart it (it is located in the Acrobat folder). AcroTray provides the interface between the PS creation and Distiller to automate the process of creating the PDF.

  • Trying to develop a blocking method

    This seems like it should be simple, but I've been trying to figure it out all morning. Basically, I want to develop a way to lock object across all instances to make it writeable. Creating a static boolean class variable will get me most of the way there, but I'm going for extra credit :) I want to have a method called "lock" that will ultimately guarantee an instance has exclusive write permission. If no instances currently hold the lock, it should simply set the boolean (I assume) and return. If another instance already has the lock, I want the lock method to block until it can get access to the lock. Ideally, this is queued so calls to lock are honored in the order they are received.
    For example, I have two threads A and B. I have to ask you to use your imagination a little (since it is hard to demonstrate) and assume these blocks are overlapping on the respective threads.
    //executing on thread A
    LockableInstance a = new LockableInstance();
    a.lock();
    a.doSomething();
    a.unlock();
    //executing on thread B
    LockableInstance b = new LockableInstance();
    b.lock();  //thread A already holds a lock. this call waits until lock can be acquired.
    b.doSomething();
    b.unlock();The concept of blocking has really got me stumped. The one way I know this will work is to make lock() an infinite loop calling Thread.sleep until the class variable is unlocked. This seems inefficient for two reasons. For one, the sleep interval needs to be short, so it's just banging on the CPU (especially with many threads running). Another reason is that there is no guarantee locks will be obtained in the order they are requested.
    Any ideas on how I could approach this?
    Edited by: kgdoom on Nov 11, 2007 1:20 PM
    Edited by: kgdoom on Nov 11, 2007 2:11 PM

    I think I found what I needed :) For anyone interested, I can use an instance of java.util.concurrent.Semaphore. Specifically, I'm using a "binary" semaphore, which just an instance with 1allocated permit. Does exactly what I was trying to do!
    New question... are semaphore objects hefty? If I have many classes using semaphores (one static instance per class), is it a drain on resources somehow? Is there something more efficient in binary cases?

  • Windows Firewall and Windows Update (Win 8.1)

    Since Windows Vista I have always been using the Windows Firewall with "blocked outgoing traffic". As this is not the default setting, some basic windows services seem not to be included as firewall rules on the outgoing side.
    My Problem is with the Windows Update:
    On Windows Vista and 7 it was sufficient to create a rule for "wuauserv".
    On Windows 8.1 however this seems not to be enough. The UI gives me error code 80240438 and the WindowsUpdate.log shows the following lines:
    2014-06-14    20:11:08:150     952    538    IdleTmr    WU operation (CAgentProtocolTalker::SyncUpdates_WithRecover) started; operation # 2044; does use network; is at background
    priority
    2014-06-14    20:11:08:151     952    538    WS    WARNING: Nws Failure: errorCode=0x803d0010
    2014-06-14    20:11:08:151     952    538    WS    WARNING: Original error code: 0x80072efd
    2014-06-14    20:11:08:151     952    538    WS    WARNING: Fehler bei der Kommunikation mit dem Endpunkt bei "https://fe2.update.microsoft.com/v6/ClientWebService/client.asmx".
    2014-06-14    20:11:08:151     952    538    WS    WARNING: Fehler beim Senden der HTTP-Anforderung.
    2014-06-14    20:11:08:151     952    538    WS    WARNING: Der Remoteendpunkt konnte nicht erreicht werden.
    (.... and a lot of similar WARNING lines)
    2014-06-14    20:11:12:921     952    538    IdleTmr    WU operation (CAgentProtocolTalker::SyncUpdates_WithRecover, operation # 2044) stopped; does use network; is at background
    priority
    If I create a rule for the whole svchost.exe, the update works fine. Giving all services internet access is however not an option for me. Could you please tell me through which service(s) except wuauserv Windows Update performs its network activities?

    Windows 8 upgraded to 8.1 on a Gateway SX2370.  Purchased Sep. 2013. 
    As of Dec. 28, 2014 I have not gotten ANY windows defender updates and windows update has not been working at all. When I go to my start screen and type "update" Windows update still shows in the list, only now when I click on it, it brings
    up a blank window and can only be closed by right clicking the tab on the taskbar. I cannot max or minimize the window either.
    Up until Dec. 28th it was working perfectly, notifying me when updates were available, almost everyday for windows defender.
    I have tried everything I could find to fix this, even a complete restore, with recovery media made for Win 8.1 and Win 8. Still no windows updates, of anything. To top it off as of Jan. 22, 2015 the Diagnostic Policy Service has stopped and I am denied
    access when I try restarting it.
    Windows XP was great until MS stopped support. Vista sucked, near as bad as Millenium or 2000. I never tried windows 7 instead going for windows 8, being the most recent version when I could afford a new PC. Adapting to win 8-8.1 was no easy task.
    I'm not a tech guru, but I've owned & used windows from Dos 6.0, '95, '98, '98SE, Millenium, XP, XP home & Pro (sp1-2 & 3) and still have the installation/restore CDs for all of them. Even taught myself how to write the recovery
    console directly from the hard drive of XP, OEM or full MS versions without using the CDs & now I'm using Windows 8 - 8.1. Getting rid of the recovery console was a BIG mistake in my opinion.
    At one time I had a multi-boot system of win.95, 98, 98SE, Mill., XP home sp2 and XP Pro sp3 on a 1.5 TB self built system. Microsoft told me it was impossible, until I allowed two tech support reps remote access for 5 min.. Which also lead to me being
    blocked from most MS websites &?suggestions windows forums for 3 years.
    But so far, this failure of windows updates and the Diagnostic policy Service in Windows 8.1 has got me stumped. Can ANYONE give me a quick simple way to correct this? Please?
    Thanks for reading this and any help or suggestions anyone has to offer. GOD bless you all and my thanks to every military person, their families and veterans for my freedom. 

  • An unknown error occurred when Dreamweaver tried to connect to this Contrib

    Hello all,
    I just started having a Dreamweaver problem that's perplexing me...
    I have 2 machines, a G4 and a G5 both running Dreamweaver ( I have MX2004 and 8 on both machines, this problem effects both versions on the G5 only).
    Everything was humming along just fine until the other day when suddenly I was receiving error messages on my G5 stating
    "An unknown error occurred when Dreamweaver tried to connect to this Contribute site".
    Then my local folder containing the website that I was working on would go gray (in Dreamweaver) and lose it's folder icon. It would still look like it was there, just no icon. When I would click on the drop down triangle it would state, " The local root folder, (and the folders name), does not exist. Please select a new local folder by clicking the Manage Sites button".
    I then ran a couple of tests on the G4 and it connected fine, I was able to edit, upload/download, everything as usual. I then attempted to connect to the site with Transmit on the G5...no problem.
    In the site definition I remembered that it may be set up to work with Contribute sites, but this was not the case, the box was unchecked.
    I then had the idea to export the site key from the G4 and grab it onto the G5 and import it into Dreamweaver...I did this AND IT WORKED! Once...after that back to the 2 usual errors.
    I found a work around for now...do my editing/site building in Dreamweaver, and upload with Transmit...this works fine...I've found that the errors only happen AFTER I've connected with the site(s). I've tried this with the other sites I maintain and it was the exact same thing.
    Are there any similar experiences out there? This has really got me stumped... can't imagine what it is.
    Any help would be greatly appreciated.
    thanks
    G5 Dual 2, G4 Dual 1.4 GHZ, iBook Graphite SE   Mac OS X (10.4.4)  

    my firewall is off, everything worked up until a couple days ago when it randomly stopped working

Maybe you are looking for