- 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!
Reply to: Any comments on MS Silverlight?
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.
Logging in...
Previously on "Any comments on MS Silverlight?"
Collapse
-
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,
-
BTW that probably requires at least Flash 8, which means it won't work on a lot of current phones.
Leave a comment:
-
Works for me on Chrome... well, it does something, which I assume means it's workingOriginally posted by xoggoth View PostPS IE only at mo.
Not sure why though
Anyway, one thing you'll need to fix is at line 56 of zoom.html:
You need to change that toCode:function mouseDown(e) { //get mouse x, y e = window.event; // this will fail
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.Code:e = e || window.event;
(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:
-
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:
-
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:
-
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:
-
I'd be tempted to do the whole thing in Flash(Flex) with no HTML at all.
Leave a comment:
-
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:
-
Dp will be along in the morning to tell you how fantastic it all is.
Leave a comment:
-
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.Tags: None
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers
Contractor Services
CUK News
- HMRC standstill agreements extended to 72 months: why the term's doubled, and what to check before signing Jul 31 05:53
- Who owns the loans? Inside the mystery of the loan charge recall scandal Jul 30 06:20
- Umbrella company winding-up petitions in 2026: the practical guide for contractors Jul 29 05:29
- Payments on Account deadline: what contractors must do before July 31st — maybe for the final few times Jul 28 08:01
- Andy Burnham's first 100 days: five things contractors need from the new PM Jul 27 00:53
- Starmer vs Burnham on housing: What their rival plans mean for your contractor mortgage Jul 22 00:59
- Burnham's housing vision vs. Starmer's home-buying reforms: what it means for your contractor mortgage Jul 22 00:59
- In Khalil v Innovate Transport, a limited company contractor wasn’t a worker and was on £2.30 — not £230 Jul 21 07:58
- Andy Burnham is PM: 5 new IT policies set to shape UK tech and its contractors Jul 20 06:29
- Taxed on money I haven't earned yet? Bold move, HMRC Jul 17 08:36

Leave a comment: