Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

actionscript 3 - Flex Smooth Drag of Objects -


i'm trying create object can moved in flex 4.

i tried http://help.adobe.com/en_us/flex/using/ws2db454920e96a9e51e63e3d11c0bf64595-7fed.html in examples leaves actual object (at pause) until drag completed, i'm looking update done/shown while drag still on ... in lines i've tried: problems replicating drag-and-drop mouse events ... here dint understand 'what mousehelper & eventhelpers'.

also tried this: flash as3 custome dragging using mouse_move event movement not smooth, jig-jag.

any suggestions welcome.

regards

here's an example 5 ways of dragging (four commented out):

* mouseevent.mouse_move
* event.enter_frame
* startdrag(true)
* timer(10) sets x = mousex y = mousey every 10ms
* timer(100) creates tween mousex, mousey instead of applying values

if move mouse fast enough of modes (at 30fps) if sprite chasing mouse cursor, not being dragged, , animation not smooth @ all. smoothest animation provided tweener, mode shows bigger average distance between mouse cursor , sprite being dragged.
, btw fast dragging e.g. windows explorer makes blink because doesn't have enough time rendering @ every position


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -