Help with Publishing to a File - Photo Albums don't appear

I published to a file. I tested it and it looks good. I burned the folder to a CD in order to view it on another computer - specifically a PC. My webpages look right, but the photo albums don't appear. I can manually open the folders on the CD and verify that the photo jpg files are there. Any ideas? I am using iWeb 2.0.2.

Are you transferring the index.html file along with the website folder and double clicking the index file to launch the site in the PC browser?

Similar Messages

  • Help with converting a Nero file

    I have previously converted a dvd insert designed with Nero into a pdf using adobe acrobat in order to send to someone else.  When I tried to do the same thing today with a new Nero designed insert the conversion wouldn't work.  The message said adobe didn't support the program that created the file.  Any ideas?

    thanks for your response.
    When I create a dvd insert or cd label etc using Nero the file extension is nct - nero cover template.  The printer wants the file as a pdf as he can't open Nero files.  I have version 9.3 of acrobat.
    Date: Mon, 18 Jan 2010 21:43:47 -0700
    From: [email protected]
    To: [email protected]
    Subject: help with converting a Nero file
    Nero is simply a CD/DVD burning application and should have no effect on the type of files that will eventually be on the CD/DVD.
    What type of files are you trying to convert and exactly how are you trying to convert them? Plus, it would help to know the version of Acrobat you are using.
    >

  • I had to put my computer by together without migration or time machine I NEED help with order of the files?

    I had to put my computer by together without migration or time machine I NEED help with order of the files?

    Hi, where are these other files exactly?

  • When I sync my iPhone5 with my macbook pro in photos I don't get the same faces as on the computer, it picks up any random face

    when I sync my iPhone5 with my macbook pro in photos I don't get the same faces as on the computer, it picks up any random face

    Interesting observation.  Thanks for sharing.
    Did you have a technical support question?

  • Photo album does not appear on the web but does in a published folder

    **** everyone,
    My problem is the following: I started to create little webpage with iweb. At the moment it just consist of a photo gallery, one blog entry and one video. To test it I published itto a folder on my hardisk and the website worked perfectly. So I uploaded it to my server (I have no .mac account). When opening the site over the internet the start page looks perfect, as well as the video page but on the album page the album doeas not appear!!!
    The URL is: www.voyage64.com just click on "Photoalben" (it´s a german page) and there is just nothing, There should be an album which also appears in the page published to a folder on my harddrive.
    Another thing that does not work is the blog. When you enter "blog" you will see the list with one entry listed, that works fine on the web but if you click on that entry it tells you that the file was not found on the server but it is there, this also works on the published folder on my hardrive. The confusing thing is: I´ve another website on my server with a blog with more entries that just works fine.
    Maybe it´s something with the RSS because I tested other stuff and whenever the RSS logo is visible in the adressfield in the browser something does not work. I actually don´t need any of that RSS stuff but there is no way to disable that.
    Maybe it´s a fault with my server but I´m not a specialist in stuff like that.
    So thanks in advance for your replies,
    kind regards,
    David

    I followed the topic concerning the Firefox photoalbum problem but I´m using Safari and the albums will not show up on the web !!!! I also exchanged the detailview and headercontrol *js which worked fine for opening the photoalbum on my harddisk with firefox. But when its uploaded to the server it won´t display and that in Safari!!!! On the published folder on my harddisk everything works fine
    www.voyage64.com
    just cklick on "photoalben" no album apears. Does anyone have the same problem with safari ???
    regards,
    David

  • Need help editing scanned images of old photo album pages PSE 9

    Before I begin this project, I thought I'd get some advice from someone who has undertaken a similar project.  I have three photo albums from the 50's and 60's.  The albums were made by my mother who mounted the photos (mostly black and white but some color photos) on construction paper (of various colors) using the corner holders or glue.  She hand cut the construction paper so each page is not a perfect rectangle ( about 11" tall, 8.5" wide).  The pages were punched and put into a three-ring binder. 
    She added text to the edge of the photo and/or to the construction paper.  Each page contains one to 6 photos and text.  Each album has about 120 pages.  I want to keep the notes on the construction paper so I scanned each page into a TIF files, 400 dpi and stored the images in a separate folder for each volume. 
    I use (poorly) PSE 9.  I see it has a auto straighten/crop feature that can be used one photo at a time.  I tried the divide scanned images function and that did not fully separate all images on the page and also created an image for stray objects on the page such as an unused corner holder.  (I know those things have a better name but it escapes me now.) 
    I plan to create photo books for my siblings.  I am now thinking of cropping the image of each page (rather than each photo on the page) into a uniform size, adjusting levels, contrast and sharpness, saving this image to a JPEG file, and using these edited JPEG images to create the photo book.  Since each page was hand-cut, there will areas of white where one page was torn or cut smaller than another page.  Some pages will have blanks where old photos have been lost leaving behind only the corner things.  It won't be perfect but it will be an image of the album as it exists today. 
    My questions are: 
    The pages are about 11 by 8.5.  Does anyone know a photo service that prints photo albums in a portrait layout in this size?  I  have been unable to find one; it looks like most online photo books are wider rather than taller. 
    Let's assume I use a company such as Shutterfly that offers a 12x12 format.  I assume it would be better to edit the images in PSE9 rather than any online software.  What should I do to keep the proportions in the current images true but make the image fit a 12x12 page, for example? 
    IS there any other editing software anyone can recommend that will speed this up, hopefully a software that would take multiple photos at one time, auto-straighten and auto crop to a set size?  And also auto contrast/level/sharp.  If I could use such auto features on these images and then go back and adjust the photos that did not play well with the auto features, that would save me time. 
    I appreciate anyone's input.  I dread doing this but we have one set of photos and 5 siblings so it has to be done.  Thanks!

    Hi,
    Mentioning your issues one by one:
    1) PSE does not have any portrait Photobook available, so your thought was the best way to get the work done is by choosing the 12x12 - shutterfly one.
    2) PSe does a good job of editing the images. You can set your images of approx. 11x8  size to fit to the 12x12 page. Just choose a one photo page Layout for the page and then right click on the image to " Fit photo in the frame".
    3) If more edits are required for the image, you can easily go to Advanced mode and edit your photos, layouts, move the frames, images or add effects to the images.
    4) Photo book creation sure takes time. because, you want it to be the best. I am sure PSE would help you best here.
    Go ahead and create you photobook. Inc ase you get stuck somewhere, you can always post here to get help!
    Cheers,
    Swarnima

  • Help with Could not load file or assembly 'msshrtmi' or one of its dependencies. An attempt was made to load a program with an incorrect format.

    This was all working yesterday, but this morning, I cannot run in the dev fabric, or even setting the website project as a startup project directly, I get the following error:
    Could not load file or assembly 'msshrtmi' or one of its dependencies. An attempt was made to load a program with an incorrect format.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.BadImageFormatException: Could not load file or assembly 'msshrtmi' or one of its dependencies. An attempt was made to load a program with an incorrect format.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Assembly Load Trace: The following information can be helpful to determine why the assembly 'msshrtmi' could not be loaded.
    === Pre-bind state information ===
    LOG: User = Andrew-VAIO\Andrew
    LOG: DisplayName = msshrtmi
    (Partial)
    WRN: Partial binding information was supplied for an assembly:
    WRN: Assembly Name: msshrtmi | Domain ID: 3
    WRN: A partial bind occurs when only part of the assembly display name is provided.
    WRN: This might result in the binder loading an incorrect assembly.
    WRN: It is recommended to provide a fully specified textual identity for the assembly,
    WRN: that consists of the simple name, version, culture, and public key token.
    WRN: See whitepaper http://go.microsoft.com/fwlink/?LinkId=109270 for more information and common solutions to this issue.
    LOG: Appbase = file:///C:/Users/Andrew/Desktop/Beko2011Azure/Website/
    LOG: Initial PrivatePath = C:\Users\Andrew\Desktop\Beko2011Azure\Website\bin
    Calling assembly : (Unknown).
    ===
    LOG: This bind starts in default load context.
    LOG: Using application configuration file: C:\Users\Andrew\Desktop\Beko2011Azure\Website\web.config
    LOG: Using host configuration file:
    LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
    LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
    LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/root/cb955b02/eef106e2/msshrtmi.DLL.
    LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/root/cb955b02/eef106e2/msshrtmi/msshrtmi.DLL.
    LOG: Attempting download of new URL file:///C:/Users/Andrew/Desktop/Beko2011Azure/Website/bin/msshrtmi.DLL.
    ERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing terminated.
    Stack Trace:
    [BadImageFormatException: Could not load file or assembly 'msshrtmi' or one of its dependencies. An attempt was made to load a program with an incorrect format.]
    System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +0
    System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +39
    System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks) +132
    System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +144
    System.Reflection.Assembly.Load(String assemblyString) +28
    System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +46
    [ConfigurationErrorsException: Could not load file or assembly 'msshrtmi' or one of its dependencies. An attempt was made to load a program with an incorrect format.]
    System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +618
    System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +209
    System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +130
    System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +178
    System.Web.Compilation.BuildManager.GetPreStartInitMethodsFromReferencedAssemblies() +94
    System.Web.Compilation.BuildManager.CallPreStartInitMethods() +332
    System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +677
    [HttpException (0x80004005): Could not load file or assembly 'msshrtmi' or one of its dependencies. An attempt was made to load a program with an incorrect format.]
    System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9079228
    System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +97
    System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +258
    Note that the dev machine is x64 Win7.
    I have not tried deploying this to staging since the issue started as I'm a bit nervous of touching the staging/live environment until this is solved.
    Removing the PlatformTarget element from the project file has no effect
    Removing the msshrtmi.dll file from the bin directory of the website project ends up with 
    'Could not load file or assembly 'Microsoft.WindowsFabric.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified'
    I have used Git to revert to the last working build to no effect (But I don't have the obj/bin folders in GIT), but it has atleast reset the project files etc.
    If I return msshrtmi.dll to the bin folder and switch the model and website projects to x64 there is no change
    If I switch both to x86 then I get an error Could not load file or assembly 'BekoModel2011' or one of its dependencies. An attempt was made to load a program with an incorrect format.
    which is the model project - presumably because to run on my x64 machine I need the 64bit version?
    I really need to be able to debug and then publish some changes ASAP.
    Andrew

    Hi,
    Is it true that you're using IIS to host the application? Could you check whether the process is x64 or x86 one via task manager or config in IIS manager?
    http://blogs.msdn.com/b/rakkimk/archive/2007/11/03/iis7-running-32-bit-and-64-bit-asp-net-versions-at-the-same-time-on-different-worker-processes.aspx
    Allen Chen [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Need help with publishing -- highlight boxes and recordings

    I'm having a problem with publishing a presentation.  I've recorded audio for PP slides and added highlight boxes.  I've tested these in Edit mode - the recordings work fine and the highlight boxes appear correctly as per their settings.  When I go to publish, some of the recordings and highlight boxes are not working on some of the slides (but work fine on other slides).   Obviously I've missed some setting on these but I cannot figure out what and where.  Could anyone please help??

    Just kidding. Now, the files seem to be uploaded and in the right folder; however, now the page just isn't loading. See what I mean, everything going wrong?!

  • I just got my first MacBook pro and dedicated an external hard drive for time capsule. I also have a WD 3TB hard drive with all my old files, photos and movies (mostly from a pc). My Mac book pro would not allow me to add or delete any files from this har

    This hard drive so I copies all the files (400gb worth) to my time capsule hard drive (WD 3 TB but set up by the Mac book pro). Now I am not sure what I need to do. I wiped the other WD hard drive cleAn on my pc and want to set it up in a way that I can access the files on both a pc and a Mac. If I partition it on my MacBook pro will this work? If I do it do I need to save the file twice on both the pc and Mac partitions or simply by partitioning it the hard drive will ave files in both formats regardless of if it's from a pc or a Mac. X
    Thanks

    Mac 101: File Sharing
    Mac OS X 10.7 Help: Transfer files between two Mac computers
    Mac OS X 10.7 Help: Set up a Windows computer to share files with Mac users
    Mac OS X 10.7 Help: Use iDisk to share files
    Mac OS X: Sharing your files with non-Apple computers
    How to share a Mac's files with a PC and vice versa.

  • Help with quality of exported files

    The problem: I'm trying to get a good quality, 34 minute movie onto a DVD with chapter markers separating individual short films. This is supposed to be a compilation of 8 family movies, in addition to an introduction and credits at the end. Four movies are old movies made in iMovie and are .m4v files. Four were made in FCE earlier this year. I linked everything together in a Master Sequence, putting pauses in between each with some livetype text files to introduce each video. The m4v files were imported and placed in the master sequence. The others are nested sequences. I put chapter markers at the beginning of each section. My intention was to export this one master sequence as a quick time movie, then put it into iDVD.
    It worked, but the quality was horrible! Everything became grainy, even the movies I had previously created in FCE. This was very disappointing. So I expertimented with a few things, and here’s what I found.
    When I exported a quicktime movie, the quality degraded. It became grainy. Also, it changed the aspect ratio and stretches everything horizontally, as if to take a standard size screen and stretch it to a widescreen. It did this even with the original movies I had made in FCE. I don’t like building self contained movies using this mode because the file sizes are too big, so when I export I tend to use quick time conversion. In this case, I was hoping a non-self contained movie would merely point to all the original content and not add compression artifacts (or something like that). It turns out it made it worse.
    When I tried to export a quicktime conversion, 640x480 VGA, best quality, H.264, the machine couldn’t do it. It ran for an hour or so and then crashed. Twice. That is for the entire movie. When I export individual clips (3-6 minutes) it works. The quality is good for movies made in FCE, not as good for imported m4v movies made long ago in iMovie, but better than what I get exporting quicktime movie files, either self contained or not. This is surprising to me, because I was expecting the export quick time movie command to produce the best quality. Also, I’m concerned that if I was able to create this, iDVD would not see any chapter markers anyway.
    So there is a problem either way. Experimenting has led me to discover several questions/issues which need answering:
    Issue #1: Why can’t I get a quick time movie of the same quality as what I see on the canvas, using the quick time movie export command? On a side note, the user's manual says something about a settings pop up menu where you can deselect the "recompress all frames" option. I can't seem to find this, and was thinking maybe that would help.
    Issue#2: Why do m4v files which are very high quality in iTunes suddenly become poor quality when imported into a sequence? Seems to be an import problem, because the movies are already grainy when they’re on the canvas. I thought about making XML files and importing them that way, but the original project files in iMovie are gone.
    Issue #3: Why do I end up with a stretched picture if I export quick time movies and there are mixed aspect ratio contents in the sequence (the m4v files are widescreen, the others are not)? More important, how to I get FCE to not do this?
    Issue #4: When I export movies using quick time movie (not conversion), the grainy movies actually look better when played in VLC. They also look good when opened with FCE. How can I get that kind of quality in quick time, or at least in iDVD? Perhaps that would solve my problem.
    Thanks for any help you can provide.
    E

    Thanks for the response. I’m not fluent with codecs or video compression, so this project quickly became more trouble than I expected.
    It turns out the nested sequences are not H.264, the compression field is blank for the nested sequences. I double checked and the other properties are correct. Sorry about that. The other movies, though, (ones built in iMovie for iTunes) are H.264.
    These four . m4v movies are in 960x540 and 480 x 272 because of the way they were exported in iMovie (Share -> Export Movie opens a menu with four sizes: Tiny 176 x 144, Mobile 480 x 272, Medium 640 x 360, and Large 960 x 540).
    I just imported the final products (what was exported from iMovie) as clips into FCE. Sounds like I should not be doing that. The original media is on my computer, but not the iMovie project files, and for what I’m trying to do it’s just not worth the time to rebuild the movies in FCE.
    Bottom Line: Here’s the current status of the project:
    All eight of the movies, by themselves, play well in quicktime. I can put all of them on a DVD, and they still play ok. I wanted to string them all together in one sequence, with some transitions in between (creating a “Play All” option on the DVD). That’s why I nested the sequences, and imported the movies made from iMovie, than added chapter markers. Unfortunately, putting these different types of media together and asking the computer to make one sequence is creating a mess. So I’m sticking with Plan B and putting the movies on a DVD without trying to merge them into a single track.
    A few follow up questions…
    Out of curiosity, when you say “convert everything to QuickTime DV NTSC 720x480 at 29.97fps with 48k audio,” do you mean the original media (all of the bits of video and stills that came from the camera) or the edited sequences I’m currently working with? As a lesson learned, should I be changing properties of clips before importing them to FCE, so the source material has consistent aspect ratios?
    The still images, though they are huge, show up with much better quality than the movies (which is expected, and I’m ok with). So I get a product which includes both video and still images, where the images are very sharp and the movie portions are a bit grainy (because they were taken on a small digital camera). If I change the size on the stills, won’t that just bring the still image quality down?
    I’m still baffled at why using the export quick time movie command makes a video of lower quality than when using quick time conversion (in other cases as well, not just this project). In every case, I’ve got digital pictures and movies from my digital camera, and some text in FCE or LiveType files on top of that, usually with additional audio tracks.

  • Help with publishing website templates and creating a menu please?

    Hello, I’m new to this website and flash so please bear with me.
    I have purchased a website template from istockphoto (example…  http://www.istockphoto.com/file_closeup.php?id=631369 ), which is easy to upload pictures on to, but i have a few questions...
    I have now uploaded my images on to it, but please can you give me some advise on how to publish it on to the Internet?  I have bought my own domain name but I don’t have a clue how to link it to this web template, and I can’t seem to find any specific information.
    Also I want to create a menue with 8 different subject categories, each with a separate image gallery and I don’t know how to link them together and list them in a ‘home page’.
    If you could give me some tips or a link to some information that would be fantastic!
    Thankyou very much in advance! Any help would be very much appreciated as i have been searching for a few days now and i don't understand how it works.
    Donna

    First, after exporting your FLA to SWF, you have to embed it into an html page, then upload both html and swf to your host.

  • Help with House keeping Archivelog files....!!

    Hi,
    I am trying to develop a script for housekeeping archive log files. The archives are written to a local disk, then moved to a different location, before being backed up to a tape. The purpose of the script is to identify and move the archive logs to a different location.
    Following is the code for the script:
    ORACLE_SID=BSCSDEV1
    ORACLE_BASE=/oracle/app/oracle
    ORACLE_HOME=/oracle/app/oracle/product/10.1.0/db_1
    PATH=$ORACLE_BASE:$ORACLE_HOME:$PATH
    ARCHDIR1=/oracle/oradata/BSCSDEV1/arch1
    ARCHDIR2=/oracle/oradata/BSCSDEV1/arch2
    rm -f archout.txt
    export ORACLE_SID ORACLE_BASE ORACLE_HOME PATH
    $ORACLE_HOME/bin/sqlplus -S '/ as sysdba'<<END
    @archquery.sql
    exit
    END
    while read line
    do
    dir=`dirname $line`
    file=`basename $line`
    if [ $dir = $ARCHDIR1 ]; then
    if [ -f $line ]; then
    echo "$file : matched"
    mv $line $HOME/movedfiles/$file
    fi
    elif [ $dir = $ARCHDIR2 ]; then
    if [ -f $line ]; then
    echo "$file : matched"
    mv $line $HOME/movedfiles/$file
    fi
    else
    echo "No Files to Move......"
    fi
    done < $HOME/archout.txt
    ARCHQUERY.SQL:
    set linesize 75
    set verify on
    set feedback off
    set heading on
    set termout off
    set serveroutput on
    set pagesize 999
    spool archout.txt
    select name,completion_time
    from v$archived_log
    where to_char(completion_time,'DD-MON-YY HH24:MI')<=(select to_char(sysdate - (30/1440),'DD-MON-YY HH24:MI') from dual)
    and
    to_char(completion_time,'DD-MON-YY HH24:MI')<=(select to_char(sysdate,'DD-MON-YY HH24:MI') from dual)
    and
    to_char(completion_time,'DD-MON')=(select to_char(sysdate,'DD-MON') from dual)
    and
    archived='YES';
    spool off
    My Logic:
    I am trying to identify the archive files generated every 30 minutes from v$archived_logs. For this, I am using the COMPLETED_TIME column and am comparing the same with SYSDATE.
    These files, I am comparing with the files in the archive destination and then am moving them to a different location.
    My problem:
    When I test the query, it lists out even those outside the timerange. Also, files that are shown as completed in the ARCHIVED columns and are physically present are not identified for at least 45 minutes.
    Could one of you please go through the scripts and tell me where I am going wrong?
    Any tips in this regard is deeply appreciated.
    Thanking You all in advance,
    Sriraman.

    Hi,
    Thanks for your reply.
    In my production setup, the client's techspecs insist on setting up only 1 archival destination. I did suggest the usage of a second destination, but they do not want it. They did not give me any concrete reason for this. So I have no option but to do this.
    It is therefore necessary that we move only those archive files that have been completed and not files being currently used.
    That is the reason for this script.
    Could you please have a look at it and tell me if I am missing something here?
    Regards,
    Sriraman

  • Need some help with my Input.as file (error 1013)

    Hello, I have just started learning Flash & Actionscript this month and I'm very eager to learn and do new things.
    I wanted to learn to create some games in Flash and I managed to create a basic side scroller and a top down both with movement and collision functions.
    What I'm trying to do now is implementing a fluid movement function in Flash. So I found a tutorial on how to do this on another site(Idk if I'm allowed to post it here ,but I will if you ask) .
    What I basically have is a .fla file linked with a .as file and another .as file called Input.as. The website from which I'm following the tutorial said that this function was invented by the guys from Box2D and it should work properly,but for some reason when I try to run it(Ctrl+Enter) , I have error 1013 on the first line of the .as File saying that :
    Fluid movement project\Input.as, Line 1
    1013: The private attribute may be used only on class property definitions.
    I've looked this error up on the internet and they say it's usually related with missing braces {} ,but I checked my code in the Input.as file and I don't have any missing brace. Here is the Input.as file from the website I'm following my tutorial:
    private function refresh(e:Event):void
        //Key Handler
        if (Input.kd("A", "LEFT"))
            //Move to the left
            dx = dx < 0.5 - _max ? _max * -1 : dx - 0.5;
        if (Input.kd("D", "RIGHT"))
            //Move to the right
            dx = dx > _max - 0.5 ? _max : dx + 0.5;
        if (!Input.kd("A", "LEFT", "D", "RIGHT"))
            //If there is no left/right pressed
            if (dx > 0.5)
                dx = dx < 0.5 ? 0 : dx - 0.5;
            else
                dx = dx > -0.5 ? 0 : dx + 0.5;
        if (Input.kd("W", "UP"))
            //Move up
            dy = dy < 0.5 - _max ? _max * -1 : dy - 0.5;
       if (Input.kd("S", "DOWN"))
            //Move down
            dy = dy > _max - 0.5 ? _max : dy + 0.5;
        if (!Input.kd("W", "UP", "S", "DOWN"))
            //If there is no up/down action
            if (dy > 0.5)
                dy = dy < 0.5 ? 0 : dy - 0.5;
            else
                dy = dy > -0.5 ? 0 : dy + 0.5;
        //After all that, apply these to the object
        square.x += dx;
        square.y += dy;
    I've slightly rearranged the braces from the original code so the code looks nicer to see and understand. Please tell me if I need to supply you any additional info and Thanks!

    If what you showed is all you had for the Input class, then you should probably download all of the source files instead of trying to create them from what is discussed in the tutorial.  Here is what the downloaded Input.as file contains, which resembles a proper class file structure...
    package {
    import flash.display.*;
    import flash.events.*;
    import flash.geom.*;
    import flash.utils.*;
    public class Input {
       * Listen for this event on the stage for better mouse-up handling. This event will fire either on a
       * legitimate mouseUp or when flash no longer has any idea what the mouse is doing.
      public static const MOUSE_UP_OR_LOST:String = 'mouseUpOrLost';
      /// Mouse stuff.
      public static var mousePos:Point = new Point(-1000, -1000);
      public static var mouseTrackable:Boolean = false; /// True if flash knows what the mouse is doing.
      public static var mouseDetected:Boolean = false; /// True if flash detected at least one mouse event.
      public static var mouseIsDown:Boolean = false;
      /// Keyboard stuff. For these dictionaries, the keys are keyboard key-codes. The value is always true (a nil indicates no event was caught for a particular key).
      public static var keysDown:Dictionary = new Dictionary();
      public static var keysPressed:Dictionary = new Dictionary();
      public static var keysUp:Dictionary = new Dictionary();
      public static var stage:Stage;
      public static var initialized:Boolean = false;
       * In order to track input, a reference to the stage is required. Pass the stage to this static function
       * to start tracking input.
       * NOTE: "clear()" must be called each timestep. If false is pased for "autoClear", then "clear()" must be
       * called manually. Otherwise a low priority enter frame listener will be added to the stage to call "clear()"
       * each timestep.
      public static function initialize(s:Stage, autoClear:Boolean = true):void {
       if(initialized) {
        return;
       initialized = true;
       if(autoClear) {
        s.addEventListener(Event.ENTER_FRAME, handleEnterFrame, false, -1000, true); /// Very low priority.
       s.addEventListener(KeyboardEvent.KEY_DOWN, handleKeyDown, false, 0, true);
       s.addEventListener(KeyboardEvent.KEY_UP, handleKeyUp, false, 0, true);
       s.addEventListener(MouseEvent.MOUSE_UP, handleMouseUp, false, 0, true);
       s.addEventListener(MouseEvent.MOUSE_DOWN, handleMouseDown, false, 0, true);
       s.addEventListener(MouseEvent.MOUSE_MOVE, handleMouseMove, false, 0, true);
       s.addEventListener(Event.MOUSE_LEAVE, handleMouseLeave, false, 0, true);
       s.addEventListener(Event.DEACTIVATE, handleDeactivate, false, 0, true);
       stage = s;
       * Record a key down, and count it as a key press if the key isn't down already.
      public static function handleKeyDown(e:KeyboardEvent):void {
        if(!keysDown[e.keyCode]) {
        keysPressed[e.keyCode] = true;
        keysDown[e.keyCode] = true;
       * Record a key up.
      public static function handleKeyUp(e:KeyboardEvent):void {
       keysUp[e.keyCode] = true;
       delete keysDown[e.keyCode];
       * clear key up and key pressed dictionaries. This event handler has a very low priority, so it should
       * occur AFTER ALL other enterFrame events. This ensures that all other enterFrame events have access to
       * keysUp and keysPressed before they are cleared.
      public static function handleEnterFrame(e:Event):void {
       clear();
       * clear key up and key pressed dictionaries.
      public static function clear():void {
       keysUp = new Dictionary();
       keysPressed = new Dictionary();
       * Record the mouse position, and clamp it to the size of the stage. Not a direct event listener (called by others).
      public static function handleMouseEvent(e:MouseEvent):void {
       if(Math.abs(e.stageX) < 900000) { /// Strage bug where totally bogus mouse positions are reported... ?
        mousePos.x = e.stageX < 0 ? 0 : e.stageX > stage.stageWidth ? stage.stageWidth : e.stageX;
        mousePos.y = e.stageY < 0 ? 0 : e.stageY > stage.stageHeight ? stage.stageHeight : e.stageY;
       mouseTrackable = true;
       mouseDetected = true;
       * Get the mouse position in the local coordinates of an object.
      public static function mousePositionIn(o:DisplayObject):Point {
       return o.globalToLocal(mousePos);
       * Record a mouse down event.
      public static function handleMouseDown(e:MouseEvent):void {
       mouseIsDown = true;
       handleMouseEvent(e);
       * Record a mouse up event. Fires a MOUSE_UP_OR_LOST event from the stage.
      public static function handleMouseUp(e:MouseEvent):void {
       mouseIsDown = false;
       handleMouseEvent(e);
       stage.dispatchEvent(new Event(MOUSE_UP_OR_LOST));
       * Record a mouse move event.
      public static function handleMouseMove(e:MouseEvent):void {
       handleMouseEvent(e);
       * The mouse has left the stage and is no longer trackable. Fires a MOUSE_UP_OR_LOST event from the stage.
      public static function handleMouseLeave(e:Event):void {
       mouseIsDown = false;
       stage.dispatchEvent(new Event(MOUSE_UP_OR_LOST));
       mouseTrackable = false;
       * Flash no longer has focus and has no idea where the mouse is. Fires a MOUSE_UP_OR_LOST event from the stage.
      public static function handleDeactivate(e:Event):void {
       mouseIsDown = false;
       stage.dispatchEvent(new Event(MOUSE_UP_OR_LOST));
       mouseTrackable = false;
       * Quick key-down detection for one or more keys. Pass strings that coorispond to constants in the KeyCodes class.
       * If any of the passed keys are down, returns true. Example:
       * Input.kd('LEFT', 1, 'A'); /// True if left arrow, 1, or a keys are currently down.
      public static function kd(...args):Boolean {
       return keySearch(keysDown, args);
       * Quick key-up detection for one or more keys. Pass strings that coorispond to constants in the KeyCodes class.
       * If any of the passed keys have been released this frame, returns true.
      public static function ku(...args):Boolean {
       return keySearch(keysUp, args);
       * Quick key-pressed detection for one or more keys. Pass strings that coorispond to constants in the KeyCodes class.
       * If any of the passed keys have been pressed this frame, returns true. This differs from kd in that a key held down
       * will only return true for one frame.
      public static function kp(...args):Boolean {
       return keySearch(keysPressed, args);
       * Used internally by kd(), ku() and kp().
      public static function keySearch(d:Dictionary, keys:Array):Boolean {
       for(var i:uint = 0; i < keys.length; ++i) {
        if(d[KeyCodes[keys[i]]]) {
         return true;
       return false;

  • Photo albums do not appear

    Hi everybody,
    I have looked around the forum for this issue, and I didn´t get to find it so any help would be appreciated.
    I upload my website to a non .mac account, and everything is ok, except for the IE users that can´t get to see it properly, the thing is that everything is ok except for the albums, the page appears with its design but the albums that link to my pictures do not appear, so it is empty.
    Anyone has had this problem? , how did you solve it?, is it bc I am not usin a .Mac account and this feauture is only for .Mac accounts?
    Thanks in advance.

    Hi Rachael,
    I have no ideas sorry... I hope someone else does...
    I had serious problems (not just me, everybody else too) with Firefox version 2.0.0.10 but that issue was solved in the release of Firefox 2.0.0.11 only two days after the release of .10
    Do you see them in Safari? Did you upload everything? (if on .Mac a 'publish all' instead of just 'publish' might help, uploading through an ftp be sure to publish everything, if not working when publishing to folder opening the files in the folder I don't know sorry)
    Regards,
    Cédric

  • Photos albums don't reveal photos on rollover like iPhoto?

    I miss the way you could see a preview of the photos inside an album or folder by rolling over..
    Any way to get the new Photos app to have the same rollover behavior as iPhoto?

    The rollover only occurred in Events which have been replaced by Moments which do not have an mode where each Moment is represents by an single icon.  So there's no place to have rollover. 
    Moments in Photo are the new Events.  There's a way to simulate events in Photos.
    When the library was first migrated there was a folder created titled iPhoto Events and all migrated iPhoto Events are represented by an album in the folder. To open the sidebar if it's not open use the Option+Command+S key combination.
    When new photos are imported into the Photos library go to the Last Import smart album, select all the photos and use the File ➙ New Album menu option or use the key combination Command+N.  Name it as desired.  It will appear just above the iPhoto Events folder where you can drag it into the iPhoto Events folder
    When you click on the iPhoto Events folder you'll get a simulated iPhoto Events window. In this case rollover of an album would be reasonable, but not in the sidebar where albums are too small for rollover.
    The downside to the simulation is that the Album/Events can only be sorted automatically by Title. But they can be sorted manually.  Ask Apple for more sorting options and rollover capability for folders in Photos via https://www.apple.com/feedback/photos.html.

Maybe you are looking for

  • How to stop email notifications

    I share reminders with my wife and every time she changes something in her shared calendar, I get an email notification.  How do I stop them?

  • Can you make buttons appear "on success" on quiz slide?

    I'm not an expert Captivate user and don't know Javascript, so please excuse my ignorance if this question seems strange. I have a Captivate 6 project with several quiz slides peppered throughout the entire file. In other words, the quiz slides are n

  • How to close contract..

    Dear All, I want to close contract which is created using ME31K . How to close it if my requirements are full (created PO and recd goods). And also how to close if requirements are still open (PO not created) Amit

  • Are actual music files altered with itunes upgrade?

    Does upgrading itunes to 6.0.3 from 4.7 change the music files in the library? I want to eliminate a bunch of podcasts from my backup copy. It was made when itunes was 4.7. I know the iTunes 4 Music Library data file was updated - but are the music f

  • I am in puerto Rico. All my other phones operate, except my 4s.

    ANy ideas on why my old Samsung can make and receive calls to the u.s. YEt my 4s iPhone only searches for the same wireless provider.?  Thanks.