• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
Collapse

You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

  • You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
  • You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
  • If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Previously on "Any comments on MS Silverlight?"

Collapse

  • xoggoth
    replied
    Cheers Nick, know how to make that work in non IE, but took it all out as only need it for IE. It's only Flash 3 or 4 I think, doesn't give version on help oddly but 2002 anyway. I get my butlers to sort Pikey Scum out these days,

    Leave a comment:


  • VectraMan
    replied
    BTW that probably requires at least Flash 8, which means it won't work on a lot of current phones.

    Leave a comment:


  • NickFitz
    replied
    Originally posted by xoggoth View Post
    PS IE only at mo.
    Works for me on Chrome... well, it does something, which I assume means it's working

    Not sure why though

    Anyway, one thing you'll need to fix is at line 56 of zoom.html:

    Code:
    function mouseDown(e) {
        //get mouse x, y
        e = window.event; // this will fail
    You need to change that to

    Code:
    e = e || window.event;
    On browsers that implement events correctly (everything but IE) the event object is passed as an argument to the event handler; in this case you have it as the (e) on the mouseDown function, which is fine. IE, however, makes the event object a property of the window object; as this doesn't exist elsewhere, you are overwriting the event object with the value undefined. The above change is a quick way of saying "use the value of e that was passed in, or if there isn't one, use window.event" and will leave e with the correct object in a cross-browser way.

    (You'll need to make the same change in a few other places too.)

    Ah: it looks like Chrome shadows the true event object (passed as an argument) in the window.event property, which is why it's working there. I didn't realise they did that... learn something new every day

    Leave a comment:


  • xoggoth
    replied
    Here it is:-

    http://www.gatekeeperel.co.uk/temp/zoom.html

    That's my house that is.

    PS IE only at mo.
    Last edited by xoggoth; 14 October 2009, 13:29.

    Leave a comment:


  • xoggoth
    replied
    Actually no probs just zooming in Flash. Div moves on background image, pass zoom and coords to same image in Flash movie inside the div, does what I want I think.

    Leave a comment:


  • xoggoth
    replied
    Flash is good for cartoon like animations but I always found that with complex paintings or photos, even after tracing, I was sitting there twiddling my thumbs for half a minute every time I wanted to test a change. Dunno what it was doing.

    Leave a comment:


  • krytonsheep
    replied
    I'd be tempted to do the whole thing in Flash(Flex) with no HTML at all.

    Leave a comment:


  • VectraMan
    replied
    Originally posted by xoggoth View Post
    Could use Flash but never found it very suited to complex images.

    Leave a comment:


  • DimPrawn
    replied
    It's all fantastic.

    HTH

    Actually, I've never used it.

    Leave a comment:


  • AtW
    replied
    Go for Flash, it's much better supported and with upcoming "buy in" from mobile phone manufacturers it will become THE standard.

    Leave a comment:


  • minestrone
    replied
    Dp will be along in the morning to tell you how fantastic it all is.

    Leave a comment:


  • xoggoth
    started a topic Any comments on MS Silverlight?

    Any comments on MS Silverlight?

    Planning a new educational CD, mostly interactives of habitats, conservation etc.

    Interactives (similar to these) have been a minor part of our previous programs but I want to do summit a bit more sophisticated this time. I would like to stick to approach of DHTML running in IE browser inside a VB.net program, nice and easy to provide updates, but have some more complex effects in mind, like an ability to zoom in realistically on part of a picture.

    Could use Flash but never found it very suited to complex images. Silverlight has an image zoom facility and other features. Wondering if anyone has any general comments on it, any major problems etc. Cheers.

Working...
X