rootlink.addEventListener(MouseEvent.MOUSE_DOWN, rootLinkFun); function rootLinkFun(evt:MouseEvent):void{ var targetURL:URLRequest = new URLRequest(“http://www.prosoxi.gr”); navigateToURL(targetURL,”_blank”); }
Category Archives: Programming
Actionscript 3 parent reference.
This is a very short line of Actionscript 3, but its one that I’ve had copied to Stickie on my Desktop forever, so in the interest of cleaning up some, I’ll post it here on the blog in the Code Tips category. I think I’ve memorized at least this much AS3 now too =)
Kaltura
Kaltura – The Open Source Alternative With 60,000 publishers worldwide who have integrated Kaltura’s open source video platform, Kaltura is revolutionizing the industry by providing the first and only open source video solution stack. Kaltura allows publishers of all sizes to easily, quickly, and cost effectively enhance their web site with video and interactive rich-media …
HTML5 Video Player
http://jilion.com/sublime/video Current features HTML5 video goodness: no browser plugin, no Flash dependencies jump anywhere in the video and it’ll start buffering from that point Uniform UI across all browsers Standalone pure JavaScript library Full-window mode: Sleek zoom-in/out transitions Live-resizing (when resizing the browser window) More advanced controls on a draggable pane Double-click video to enter …
Disable right mouse click Script
<script language=JavaScript> <!– //Disable right mouse click Script //By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive //For full source code, visit http://www.dynamicdrive.com var message=”©2010 Prosoxi.gr All rights reserved.”; /////////////////////////////////// function clickIE4(){ if (event.button==2){ alert(message); return false; } } function clickNS4(e){ if (document.layers||document.getElementById&&!document.all){ if (e.which==2||e.which==3){ alert(message); return false; } } } if (document.layers){ document.captureEvents(Event.MOUSEDOWN); document.onmousedown=clickNS4; } else …
Tinymce How can I disable Tag?
How can I disable <p> Tag? force_br_newlines : true, force_p_newlines : false, forced_root_block : “”,