prosoxi.com | Archive | June

Archive | June, 2010

jQuery Plugins and Demos

jQuery Plugins and Demos

Plugins

BlockUI Plugin (Updated 29-MAR-2010)
Simulate synchronous ajax by blocking – not locking – the UI.
Corner plugin (Updated 11-MAR-2010)
Rounded corners without images. Plus lots of other corner adornments.
Cycle Plugin (Updated 05-APR-2010)
Image or text slideshows with numerous transition options.
Feeds Plugin (Updated 11-MAY-2007)
A jQuery wrapper for the Google AJAX Feed API.
Form Plugin (Updated 12-MAR-2010)
All kinds of information about the Form Plugin including a quick start guide, code samples, API documentation, a FAQ and more.
HoverPulse Plugin (Updated 26-FEB-2009)
Pulse an image on mouse hover.
Media Plugin (Updated 24-SEP-2009)
One plugin for handling your Flash, Quicktime, Windows Media Player, Real Player, MP3, Silverlight and more.
Taconite Plugin (Updated 01-MAR-2010)
A port of Taconite to jQuery. Make multiple DOM manipulations in response to a single remote call.
Twitter Search Plugin (Updated 05-APR-2010)
Quick and easy way to add twitter searches to your website.

Demos

Ajax Events Demo (Added 26-OCT-2008)
Demonstrates how jQuery’s global ajax events work.
Custom Expressions Demo
Demo page which shows how you can extend jQuery’s ‘:’ expressions with your own favorites.
http://malsup.com/jquery/

Posted in JavaScript - Ajax0 Comments

CSS: Align two DIVs on opposite sides on a single line

I want to place two different segments of text on top a table. Both segments must be aligned at opposite borders (i.e. left align and right align). I don’t want them to be aligned with any column inside the table but just with the overall width of the table.
Continue Reading

Posted in CSS0 Comments

Control Flash from Javascript

Receiving data from a Flash movie:
- Enter some text in the Flash movie’s Data field, then press Receive Data.  The data from the Flash movie is then transferred to the html form. Continue Reading

Posted in Flash, JavaScript - Ajax0 Comments

Open a modal window from a Flash movie

AS1 / AS2

In the action of your flash button, you have to execute this code:

getURL("javascript:$.nyroModalManual({url:'YOUR URL'});");

AS3

In the action of your flash button, you have to execute this code:

ExternalInterface.call("$.nyroModalManual({url:'YOUR URL'})");

http://nyromodal.nyrodev.com/wiki/index.php/Open_a_modal_window_from_a_Flash_movie

Posted in JavaScript - Ajax3 Comments

mac os change lang shortcut

Using shortcuts:

  • To select the input source you previously used, press Command-Space bar.
  • To select the next input source in the Input menu, press Command-Option-Space bar.
  • If Spotlight opens when you’re switching input sources, choose Apple menu > System Preferences, click Keyboard, and then click Keyboard Shortcuts. Select Spotlight on the left and deselect the Spotlight shortcut checkboxes on the right. Then, select Keyboard & Text Input on the left and select the “Select the previous input source” checkbox and the “Select the next source in Input menu” checkbox.
  • Posted in MAC0 Comments

    Javascript Open Flash Object

    <script src=”/commons/js/flashobject.js” type=”text/javascript”></script> <script src=”/commons/js/FlashDetect.js” type=”text/javascript”></script>
    <script type=”text/javascript”>// <![CDATA[
    // Globals
    // Major version of Flash required
    var requiredMajorVersion = 8;
    // Minor version of Flash required
    var requiredMinorVersion = 0;
    // Minor version of Flash required
    var requiredRevision = 0;
    function openVideoPopUp()
    {
    document.getElementById("showflash").style.display="";
    var hasReqestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
    // Check to see if the version meets the requirements for playback
    if (hasReqestedVersion)
    {
    var fo = new FlashObject("falsh.swf", "showingflashvideo", "300", "300", "9", "");
    fo.addParam("quality","high");
    fo.addParam("menu", "false");
    fo.addParam("wmode", "transparent");
    fo.addParam("allowfullscreen", "true");
    fo.addParam("flashvars","var1=source");
    fo.write("showflash");
    }
    else
    {
    var alternateContent = ''
    + '<span>This content requires the Adobe Flash Player. '
    + '<a href=http://www.adobe.com/go/getflash></a>Get Flash</a></span>';
    //document.write(alternateContent);  // insert non-flash content
    document.getElementById('showflash').innerHTML=alternateContent
    }
    }
    function closeVideoPopUp()
    {
    document.getElementById("showflash").style.display = "none";
    }
    // ]]></script>
    <a href=”javascript:openVideoPopUp()”> </a>

    <script src=”/commons/js/flashobject.js” type=”text/javascript”></script> <script src=”/commons/js/FlashDetect.js” type=”text/javascript”></script><script type=”text/javascript”>// <![CDATA[// Globals// Major version of Flash requiredvar requiredMajorVersion = 8;// Minor version of Flash requiredvar requiredMinorVersion = 0;// Minor version of Flash requiredvar requiredRevision = 0;
    function openVideoPopUp(){ document.getElementById("showflash").style.display=""; var hasReqestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision); // Check to see if the version meets the requirements for playback if (hasReqestedVersion) { var fo = new FlashObject("falsh.swf", "showingflashvideo", "300", "300", "9", ""); fo.addParam("quality","high"); fo.addParam("menu", "false"); fo.addParam("wmode", "transparent"); fo.addParam("allowfullscreen", "true"); fo.addParam("flashvars","var1=source"); fo.write("showflash"); } else  {   var alternateContent = '' + '<span>This content requires the Adobe Flash Player. ' + '<a href=http://www.adobe.com/go/getflash></a>Get Flash</a></span>'; //document.write(alternateContent);  // insert non-flash content document.getElementById('showflash').innerHTML=alternateContent  }}function closeVideoPopUp(){ document.getElementById("showflash").style.display = "none";}// ]]></script>
    <a href=”javascript:openVideoPopUp()”> </a>

    Posted in JavaScript - Ajax0 Comments

    Flash AS2 XML to Array

    var xmlDoc:XML = new XML();
    System.useCodepage = true;
    xmlDoc.ignoreWhite = true;

    xmlDoc.onLoad = function(ok:Boolean) {
    if (ok) {
    doMenu(this);
    } else {
    trace(“XML did not load”);
    }
    };

    xmlDoc.load(“myImages.xml”);

    function doMenu(xml:XML) {
    var num:Number = xml.firstChild.childNodes.length;
    pics = new Array();
    for (var i = 0; i < num; i++) {
    pics[i] = xml.firstChild.childNodes[i].attributes.image;
    }
    trace(pics);
    }

    Continue Reading

    Posted in Flash2 Comments

    SamyGO | Samsung DTS support

    Samy go | custom firmware for samsung tv |LCD | LED | PLASMA

    • Telnet and SSH Access to your TV
    • Video Aspect Resolution Fix for playing movies
    • Big & Colored Subtitles Fix for comfortable watching
    • Playing USB2.0 Videos on B55x and later series
    • Support playing videos via mounting NFS,SAMBA and UPNP shares
    • Support non-Samsung branded WiFi dongles on your TV
    • Support Flashing Hacked Firmware on CI+ devices
    • Support Web Browsing with USB Mouse & Keyboard
    • Video Recording
    • TV events ( Incoming Phone Calls, SMS, etc. )

    Posted in Tips & Tricks1 Comment

    Embed custom fonts

    http://jonraasch.com/blog/embedding-custom-fonts

    Continue Reading

    Posted in JavaScript - Ajax, Programming0 Comments

    Mac Ipad Review

    visit http://www.ubergizmo.com/15/archives/2010/04/ipad-review.html

    Posted in News0 Comments

    Tweener and “256 levels of recursion were exceeded in one action list”

    Tweeners’ great, but I came across one little problem the other day: when I tried to remove an externally loaded swf from the stage while it was mid-animation, Tweener could bring the whole Flash movie to a halt with the error ‘256 levels of recursion were exceeded in one action list’.

    Obviously that’s bad – because this particular error completely stops the flash player with no warning to the end user.  And the fact that external content – which I have no control over – can cause this is doubly bad.

    All is not lost however, because Tweener has a useful little function:Tweener.removeAllTweens(); ok, so it can interfere with everything on your flash movie as well, but at least it’s stopping the recursion errors.

    So, if you try to remove a loaded swf file with .removeMovieClip(), you might find that it’s using Tweener.  And if so, call Tweener.removeAllTweens() before you call .removeMovieClip() and you’ll be fine.  Phew! case closed.

    http://hosted.zeh.com.br/tweener/docs/en-us/

    Resources;

    thanks http://www.psyked.co.uk/actionscript/tweener-and-256-levels-of-recursion-were-exceeded-in-one-action-list.htm

    Posted in Flash0 Comments

    Preloading External Images in Flash Using the MovieClipLoader Class

    Preloading External Images in Flash Using the MovieClipLoader Class

    The MovieClipLoader class is an ActionScript tool for loading external content such as images and Flash movies into another Flash movie. Other ways for doing this same thing is the Loader Component and the old .loadMovie() method. The MovieClipLoader class is better than those other two methods because of its flexibility and advanced options for tracking the progress of your downloaded objects. This tutorial will teach you the basics on how to use the MovieClipLoader class to load an external image in Flash at run time. You are assumed to have a beginner knowledge of ActionScript in order to follow this tutorial. Continue Reading

    Posted in Flash0 Comments

    AS2 tween – tweener how to intercept when the tween is finished

    Sometimes, it is needed to know when the tween animation that we have applied to a MovieClip is finished.
    This way, we can call other functions and carry out other codes in our Flash project.
    To intercept the event that is initiated by Tweener at the end of the animation, we need to pass a parameter named onComplete to the method addTween the following way:

    Code:
    import caurina.transitions.Tweener;
    
    Tweener.addTween(clip_mc,{x:500,time:1,transition:"easeOutBounce",onComplete:ItsDone});

    Together with onComplete, I pass the name of the function that I want to be carried out at the end of the tween (in this case, I named it ItsDone).

    Continue Reading

    Posted in Flash0 Comments

    fscommand(“quit”) in AS3

    function clickHandler(event:MouseEvent):void {
    fscommand(“quit”);
    }

    Posted in Flash0 Comments

    fscommand(“fullscreen”,”true”);” error AS3

    import flash.display.StageDisplayState;
    stage.displayState = StageDisplayState.FULL_SCREEN;

    Posted in Flash0 Comments

    AS3 – stage.scaleMode

    stage.scaleMode = StageScaleMode.NO_SCALE;
    stage.align = StageAlign.TOP_LEFT

    Continue Reading

    Posted in Flash0 Comments

    Domain Name Finder, Lookup, Whois

    Domain Finder Tool by Truste.gr

    read more for domains

    Advertise

    Sponsors

    Wedstar all about wedding - gamos - γαμος
    Κατασκευή ιστοσελίδων
    Domain Names | Hosting