Can you click on an image?

var profile:Image = new Image;
profile.source = ("images/myprofile.gif");
profile.y = 50;
profile.x = 50;
profile.click ="this.currentState = 'newstate'";
addChild(profile);
I want it so that the image is clickable, how can I do this,
im stumped...

import mx.controls.Alert;
var image:Image = new Image();
image.addEventListener(MouseEvent.CLICK, clickHandler);
private function clickHandler(event:MouseEvent):void {
// => Alert image source
Alert.show(event.currentTarget.source, "System Notice");
this.currentState = 'newstate';
}

Similar Messages

  • How can you get a mirror image of a photo on iPhoto?

    How can you get a mirror image of a photo on iPhoto?

    By using an external editor. Preview is already on your Mac. It's called 'Flip Horizontal'
    In order of price here are some other suggestions:
    Seashore (free)
    The Gimp (free)
    Graphic Coverter ($45 approx)
    Acorn ($50 approx)
    Pixelmator ($50 approx)
    Photoshop Elements ($75 approx)
    There are many, many other options. Search on MacUpdate or the App Store.
    You can set Photoshop (or any image editor) as an external editor in iPhoto. (Preferences -> General -> Edit Photo: Choose from the Drop Down Menu.) This way, when you double click a pic to edit in iPhoto it will open automatically in Photoshop or your Image Editor, and when you save it it's sent back to iPhoto automatically. This is the only way that edits made in another application will be displayed in iPhoto.

  • Can you change the default image capture program in RH8?

    Can you change the default image capture program in RH8? I have used Snagit for sooo many years and I would like to use it by clicking the Caputre button.  I know how to change it to edit pictures with Snagit (Tools > Options > Associations), but not to capture.

    Looks like a feature request.
    Please follow this link.
    http://www.Adobe.com/cfusion/mmform/index.cfm?name=wishform&product=38
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Tried to reinstall iPhoto library from external hard drive, it shows that the photos and events are there but there are no thumbnails and if you click on an image or video nothing comes up.

    My hard drive crashed recently and we took it to apple to get repaired. The apple employees said that they would have to replace the hard drive but they didn't have the equipment to get the data off my hard drive. So I took it to a computer store who had the right equipment after a month and a half of waiting they finally got all the data off my hard drive and put it on an external hard drive (Seagate Expansion Portable Drive). I then took it back to apple who replaced the hard drive. Now I'm in the process of reinstalling everything. I have never done a Time Machine back up or backed my laptop up to . Which I now will do very often once I've reinstalled everything. I have reinstalled all of my desktop images and folders as well as my iTunes library with no issues. However when i went to reinstall my iPhoto library it came up blank. I then Rebuilt the library several times and this was the result.
    It shows that the photos and events are there but there are no thumbnails and if you click on an image or video nothing comes up.
    Please help i have three years worth of images from holidays on here and would be devastated if i lost them.

    iPhoto cannot find the thumbnails or the original pictures.
    Go to your iPhoto Library in the Pictures Folder.
    Right-click on it and from the resulting menu, choose 'Show Package Contents'.
    This will bring you inside the iPhoto Library package. There you should see a Folder called Masters. Within that, there should be folder containing your actual photos.
    Are they there?

  • Hello there,  I created a DPS application and I want that when you click on an image, it opens a pdf. But this one is on the ipad.  This is in case there is no internet connection.   Thank you.

    Hello there,
    I created a DPS application and I want that when you click on an image, it opens a pdf. But this one is on the ipad.
    This is in case there is no internet connection.
    Thank you.

    How to make the zip: http://helpx.adobe.com/digital-publishing-suite/help/import-htmlresources.html
    How to link to the asset: Digital Publishing Suite Help | Hyperlink and button overlays
    Neil

  • Can You Support Me About Images Windows Application?

    Hello,
    I am doing a project about contact. I want show images avatar of user? But I cannot show images format "C:\Users\USERNAME\Pictures\images.jpg"
    I have tried:
    BitmapImage bim = new BitmapImage(new Uri(@"C:\Users\USERNAME\Pictures\images.jpg"));
    ImgAvatar.Source = bim;
    But It isn't activity. Can you support I show images like it. or auto copy images this link to Assets in Project?
    Thanks you so much !

    use one of them
    1
    var imageBytes = File.ReadAllBytes("bitmap.bmp");
    var image = imageBytes.ToImage();
    image.Save("output.bmp");
    2
     from some file:
    Image.Save(@"FilePath", ImageFormat.Jpeg);
    3.
    Image bitmap = Image.FromFile("C:\\MyFile.bmp");
    bitmap.Save("C:\\MyFile2.bmp");  
    4 from pictureBox:
    pictureBox1.Image.Save(@"path + imageName",ImageFormat.Jpeg);
    5
    byte[] img = Convert.FromBase64String(s);
    System.IO.File.WriteAllBytes(@"C:\image.bmp", img);

  • Can you click on an open Lightbox image to close the Lightbox?

    Does anyone out there know about the "work-around" so that when you click an open Lightbox image, the Lightbox will close?
    I can get the Lightbox image to close when I click outside the Lightbox image, but can't figure out a way to close it when I click on the Lightbox image.
    Any help is greatly appreciated.

    Thickbox is a form of Lightbox.
    The link is to the download and description page which clearly points out that Thickbox allows viewers to close the image by clicking anywhere inside or out of the image when it's displayed. (Which I believe is what you originally asked when the thread was started)
    I wasn't trying to be smart-assed or cryptic.
    That's why I posted it in 20 point type. It was my intention that you'd see it as a link and follow it for more information.
    Since I obviously got it wrong, here's the info:
    ThickBox is a webpage UI dialog widget written in  JavaScript on top of the jQuery library. Its function is to show a single image, multiple images, inline  content, iframed content, or content served through AJAX in a hybrid modal.
    Overview
    Examples
    Q & A
    Support
    Donate
    Overview-
    Features:
    ThickBox was built using the super lightweight jQuery library. Compressed, the jQuery  library is 20k, uncompressed it's 58k.
    The ThickBox JavaScript code and CSS file only add an additional  15k (only 10k by using the thickbox-compressed.js) on top of the jQuery  code. The CSS file could additionally be compressed if need be.
    ThickBox will resize images that are bigger than the browser  window.
    ThickBox offers versatility (images, iframed content, inline  content, and AJAX content).
    ThickBox will hide form elements in Windows IE 6.
    ThickBox will remain centered in the window even when the user  scrolls the page or changes the size of the browser window.  Clicking an  image, the overlay, or close link will remove ThickBox.
    Due to the ThickBox creator's view that transitions should be  tailored by individual authors, ThickBox windows do not implement fancy  transitions.  Feel free to add them as you see fit. Is this a feature?  Well, some might say it is.
    ThickBox can be invoked from a link element, input element  (typically a button), and the area element (image maps).
    Download
    code
    css
    gif
    compressed  code
    Download thickbox.js or thickbox-compressed.js,  ThickBox.css,  and the loading graphic (loadingAnimation.gif)  to your local machine (or cut and paste the code from the tabs). Along  with these three files, a copy of the jQuery JavaScript library is needed. For this site, and ThickBox, I am using the compressed version of  jQuery.
    * Thickbox 3.1 - One Box To Rule Them All.
    * By Cody Lindley (http://www.codylindley.com)
    * Copyright (c) 2007 cody lindley
    * Licensed under the MIT License: http://www.opensource.org/licenses/mit-license.php
    var tb_pathToImage = "images/loadingAnimation.gif";
    /*!!!!!!!!!!!!!!!!! edit below this line at your own risk !!!!!!!!!!!!!!!!!!!!!!!*/
    //on page load call tb_init
    $(document).ready(function(){  
      tb_init('a.thickbox, area.thickbox, input.thickbox');//pass where to apply thickbox
      imgLoader = new Image();// preload image
      imgLoader.src = tb_pathToImage;
    //add thickbox to href & area elements that have a class of .thickbox
    function tb_init(domChunk){
      $(domChunk).click(function(){
      var t = this.title || this.name || null;
      var a = this.href || this.alt;
      var g = this.rel || false;
      tb_show(t,a,g);
      this.blur();
      return false;
    function tb_show(caption, url, imageGroup) {//function called when the user clicks on a thickbox link
      try {
        if (typeof document.body.style.maxHeight === "undefined") {//if IE 6
          $("body","html").css({height: "100%", width: "100%"});
          $("html").css("overflow","hidden");
          if (document.getElementById("TB_HideSelect") === null) {//iframe to hide select elements in ie6
            $("body").append("<iframe id='TB_HideSelect'></iframe><div id='TB_overlay'></div><div id='TB_window'></div>");
            $("#TB_overlay").click(tb_remove);
        }else{//all others
          if(document.getElementById("TB_overlay") === null){
            $("body").append("<div id='TB_overlay'></div><div id='TB_window'></div>");
            $("#TB_overlay").click(tb_remove);
        if(tb_detectMacXFF()){
          $("#TB_overlay").addClass("TB_overlayMacFFBGHack");//use png overlay so hide flash
        }else{
          $("#TB_overlay").addClass("TB_overlayBG");//use background and opacity
        if(caption===null){caption="";}
        $("body").append("<div id='TB_load'><img src='"+imgLoader.src+"' /></div>");//add loader to the page
        $('#TB_load').show();//show loader
        var baseURL;
         if(url.indexOf("?")!==-1){ //ff there is a query string involved
          baseURL = url.substr(0, url.indexOf("?"));
         }else{
             baseURL = url;
         var urlString = /\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$/;
         var urlType = baseURL.toLowerCase().match(urlString);
        if(urlType == '.jpg' || urlType == '.jpeg' || urlType == '.png' || urlType == '.gif' || urlType == '.bmp'){//code to show images
          TB_PrevCaption = "";
          TB_PrevURL = "";
          TB_PrevHTML = "";
          TB_NextCaption = "";
          TB_NextURL = "";
          TB_NextHTML = "";
          TB_imageCount = "";
          TB_FoundURL = false;
          if(imageGroup){
            TB_TempArray = $("a[@rel="+imageGroup+"]").get();
            for (TB_Counter = 0; ((TB_Counter < TB_TempArray.length) && (TB_NextHTML === "")); TB_Counter++) {
              var urlTypeTemp = TB_TempArray[TB_Counter].href.toLowerCase().match(urlString);
                if (!(TB_TempArray[TB_Counter].href == url)) {           
                  if (TB_FoundURL) {
                    TB_NextCaption = TB_TempArray[TB_Counter].title;
                    TB_NextURL = TB_TempArray[TB_Counter].href;
                    TB_NextHTML = "<span id='TB_next'>  <a href='#'>Next &gt;</a></span>";
                  } else {
                    TB_PrevCaption = TB_TempArray[TB_Counter].title;
                    TB_PrevURL = TB_TempArray[TB_Counter].href;
                    TB_PrevHTML = "<span id='TB_prev'>  <a href='#'>&lt; Prev</a></span>";
                } else {
                  TB_FoundURL = true;
                  TB_imageCount = "Image " + (TB_Counter + 1) +" of "+ (TB_TempArray.length);                     
          imgPreloader = new Image();
          imgPreloader.onload = function(){   
          imgPreloader.onload = null;
          // Resizing large images - orginal by Christian Montoya edited by me.
          var pagesize = tb_getPageSize();
          var x = pagesize[0] - 150;
          var y = pagesize[1] - 150;
          var imageWidth = imgPreloader.width;
          var imageHeight = imgPreloader.height;
          if (imageWidth > x) {
            imageHeight = imageHeight * (x / imageWidth);
            imageWidth = x;
            if (imageHeight > y) {
              imageWidth = imageWidth * (y / imageHeight);
              imageHeight = y;
          } else if (imageHeight > y) {
            imageWidth = imageWidth * (y / imageHeight);
            imageHeight = y;
            if (imageWidth > x) {
              imageHeight = imageHeight * (x / imageWidth);
              imageWidth = x;
          // End Resizing
          TB_WIDTH = imageWidth + 30;
          TB_HEIGHT = imageHeight + 60;
          $("#TB_window").append("<a href='' id='TB_ImageOff' title='Close'><img id='TB_Image' src='"+url+"' width='"+imageWidth+"' height='"+imageHeight+"' alt='"+caption+"'/></a>" + "<div id='TB_caption'>"+caption+"<div id='TB_secondLine'>" + TB_imageCount + TB_PrevHTML + TB_NextHTML + "</div></div><div id='TB_closeWindow'><a href='#' id='TB_closeWindowButton' title='Close'>close</a> or Esc Key</div>");    
          $("#TB_closeWindowButton").click(tb_remove);
          if (!(TB_PrevHTML === "")) {
            function goPrev(){
              if($(document).unbind("click",goPrev)){$(document).unbind("click",goPrev);}
              $("#TB_window").remove();
              $("body").append("<div id='TB_window'></div>");
              tb_show(TB_PrevCaption, TB_PrevURL, imageGroup);
              return false; 
            $("#TB_prev").click(goPrev);
          if (!(TB_NextHTML === "")) {   
            function goNext(){
              $("#TB_window").remove();
              $("body").append("<div id='TB_window'></div>");
              tb_show(TB_NextCaption, TB_NextURL, imageGroup);       
              return false; 
            $("#TB_next").click(goNext);
          document.onkeydown = function(e){  
            if (e == null) { // ie
              keycode = event.keyCode;
            } else { // mozilla
              keycode = e.which;
            if(keycode == 27){ // close
              tb_remove();
            } else if(keycode == 190){ // display previous image
              if(!(TB_NextHTML == "")){
                document.onkeydown = "";
                goNext();
            } else if(keycode == 188){ // display next image
              if(!(TB_PrevHTML == "")){
                document.onkeydown = "";
                goPrev();
          tb_position();
          $("#TB_load").remove();
          $("#TB_ImageOff").click(tb_remove);
          $("#TB_window").css({display:"block"}); //for safari using css instead of show
          imgPreloader.src = url;
        }else{//code to show html
          var queryString = url.replace(/^[^\?]+\??/,'');
          var params = tb_parseQuery( queryString );
          TB_WIDTH = (params['width']*1) + 30 || 630; //defaults to 630 if no paramaters were added to URL
          TB_HEIGHT = (params['height']*1) + 40 || 440; //defaults to 440 if no paramaters were added to URL
          ajaxContentW = TB_WIDTH - 30;
          ajaxContentH = TB_HEIGHT - 45;
          if(url.indexOf('TB_iframe') != -1){// either iframe or ajax window   
              urlNoQuery = url.split('TB_');
              $("#TB_iframeContent").remove();
              if(params['modal'] != "true"){//iframe no modal
                $("#TB_window").append("<div id='TB_title'><div id='TB_ajaxWindowTitle'>"+caption+"</div><div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton' title='Close'>close</a> or Esc Key</div></div><iframe frameborder='0' hspace='0' src='"+urlNoQuery[0]+"' id='TB_iframeContent' name='TB_iframeContent"+Math.round(Math.random()*1000)+"' onload='tb_showIframe()' style='width:"+(ajaxContentW + 29)+"px;height:"+(ajaxContentH + 17)+"px;' > </iframe>");
              }else{//iframe modal
              $("#TB_overlay").unbind();
                $("#TB_window").append("<iframe frameborder='0' hspace='0' src='"+urlNoQuery[0]+"' id='TB_iframeContent' name='TB_iframeContent"+Math.round(Math.random()*1000)+"' onload='tb_showIframe()' style='width:"+(ajaxContentW + 29)+"px;height:"+(ajaxContentH + 17)+"px;'> </iframe>");
          }else{// not an iframe, ajax
              if($("#TB_window").css("display") != "block"){
                if(params['modal'] != "true"){//ajax no modal
                $("#TB_window").append("<div id='TB_title'><div id='TB_ajaxWindowTitle'>"+caption+"</div><div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton'>close</a> or Esc Key</div></div><div id='TB_ajaxContent' style='width:"+ajaxContentW+"px;height:"+ajaxContentH+"px'></div>");
                }else{//ajax modal
                $("#TB_overlay").unbind();
                $("#TB_window").append("<div id='TB_ajaxContent' class='TB_modal' style='width:"+ajaxContentW+"px;height:"+ajaxContentH+"px;'></div>"); 
              }else{//this means the window is already up, we are just loading new content via ajax
                $("#TB_ajaxContent")[0].style.width = ajaxContentW +"px";
                $("#TB_ajaxContent")[0].style.height = ajaxContentH +"px";
                $("#TB_ajaxContent")[0].scrollTop = 0;
                $("#TB_ajaxWindowTitle").html(caption);
          $("#TB_closeWindowButton").click(tb_remove);
            if(url.indexOf('TB_inline') != -1){ 
              $("#TB_ajaxContent").append($('#' + params['inlineId']).children());
              $("#TB_window").unload(function () {
                $('#' + params['inlineId']).append( $("#TB_ajaxContent").children() ); // move elements back when you're finished
              tb_position();
              $("#TB_load").remove();
              $("#TB_window").css({display:"block"});
            }else if(url.indexOf('TB_iframe') != -1){
              tb_position();
              if($.browser.safari){//safari needs help because it will not fire iframe onload
                $("#TB_load").remove();
                $("#TB_window").css({display:"block"});
            }else{
              $("#TB_ajaxContent").load(url += "&random=" + (new Date().getTime()),function(){//to do a post change this load method
                tb_position();
                $("#TB_load").remove();
                tb_init("#TB_ajaxContent a.thickbox");
                $("#TB_window").css({display:"block"});
        if(!params['modal']){
          document.onkeyup = function(e){  
            if (e == null) { // ie
              keycode = event.keyCode;
            } else { // mozilla
              keycode = e.which;
            if(keycode == 27){ // close
              tb_remove();
      } catch(e) {
        //nothing here
    //helper functions below
    function tb_showIframe(){
      $("#TB_load").remove();
      $("#TB_window").css({display:"block"});
    function tb_remove() {
       $("#TB_imageOff").unbind("click");
      $("#TB_closeWindowButton").unbind("click");
      $("#TB_window").fadeOut("fast",function(){$('#TB_window,#TB_overlay,#TB_HideSelect').trigger("unload").unbind().remove();});
      $("#TB_load").remove();
      if (typeof document.body.style.maxHeight == "undefined") {//if IE 6
        $("body","html").css({height: "auto", width: "auto"});
        $("html").css("overflow","");
      document.onkeydown = "";
      document.onkeyup = "";
      return false;
    function tb_position() {
    $("#TB_window").css({marginLeft: '-' + parseInt((TB_WIDTH / 2),10) + 'px', width: TB_WIDTH + 'px'});
      if ( !(jQuery.browser.msie && jQuery.browser.version < 7)) { // take away IE6
        $("#TB_window").css({marginTop: '-' + parseInt((TB_HEIGHT / 2),10) + 'px'});
    function tb_parseQuery ( query ) {
       var Params = {};
       if ( ! query ) {return Params;}// return empty object
       var Pairs = query.split(/[;&]/);
       for ( var i = 0; i < Pairs.length; i++ ) {
          var KeyVal = Pairs[i].split('=');
          if ( ! KeyVal || KeyVal.length != 2 ) {continue;}
          var key = unescape( KeyVal[0] );
          var val = unescape( KeyVal[1] );
          val = val.replace(/\+/g, ' ');
          Params[key] = val;
       return Params;
    function tb_getPageSize(){
      var de = document.documentElement;
      var w = window.innerWidth || self.innerWidth || (de&&de.clientWidth) || document.body.clientWidth;
      var h = window.innerHeight || self.innerHeight || (de&&de.clientHeight) || document.body.clientHeight;
      arrayPageSize = [w,h];
      return arrayPageSize;
    function tb_detectMacXFF() {
      var userAgent = navigator.userAgent.toLowerCase();
      if (userAgent.indexOf('mac') != -1 && userAgent.indexOf('firefox')!=-1) {
        return true;
    /* ---------->>> global settings needed for thickbox <<<-----------------------------------------------------------*/
    *{padding: 0; margin: 0;}
    /* ---------->>> thickbox specific link and font settings <<<------------------------------------------------------*/
    #TB_window {
      font: 12px Arial, Helvetica, sans-serif;
      color: #333333;
    #TB_secondLine {
      font: 10px Arial, Helvetica, sans-serif;
      color:#666666;
    #TB_window a:link {color: #666666;}
    #TB_window a:visited {color: #666666;}
    #TB_window a:hover {color: #000;}
    #TB_window a:active {color: #666666;}
    #TB_window a:focus{color: #666666;}
    /* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/
    #TB_overlay {
      position: fixed;
      z-index:100;
      top: 0px;
      left: 0px;
      height:100%;
      width:100%;
    .TB_overlayMacFFBGHack {background: url(macFFBgHack.png) repeat;}
    .TB_overlayBG {
      background-color:#000;
      filter:alpha(opacity=75);
      -moz-opacity: 0.75;
      opacity: 0.75;
    * html #TB_overlay { /* ie6 hack */
         position: absolute;
         height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
    #TB_window {
      position: fixed;
      background: #ffffff;
      z-index: 102;
      color:#000000;
      display:none;
      border: 4px solid #525252;
      text-align:left;
      top:50%;
      left:50%;
    * html #TB_window { /* ie6 hack */
    position: absolute;
    margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
    #TB_window img#TB_Image {
      display:block;
      margin: 15px 0 0 15px;
      border-right: 1px solid #ccc;
      border-bottom: 1px solid #ccc;
      border-top: 1px solid #666;
      border-left: 1px solid #666;
    #TB_caption{
      height:25px;
      padding:7px 30px 10px 25px;
      float:left;
    #TB_closeWindow{
      height:25px;
      padding:11px 25px 10px 0;
      float:right;
    #TB_closeAjaxWindow{
      padding:7px 10px 5px 0;
      margin-bottom:1px;
      text-align:right;
      float:right;
    #TB_ajaxWindowTitle{
      float:left;
      padding:7px 0 5px 10px;
      margin-bottom:1px;
    #TB_title{
      background-color:#e8e8e8;
      height:27px;
    #TB_ajaxContent{
      clear:both;
      padding:2px 15px 15px 15px;
      overflow:auto;
      text-align:left;
      line-height:1.4em;
    #TB_ajaxContent.TB_modal{
      padding:15px;
    #TB_ajaxContent p{
      padding:5px 0px 5px 0px;
    #TB_load{
      position: fixed;
      display:none;
      height:13px;
      width:208px;
      z-index:103;
      top: 50%;
      left: 50%;
      margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
    * html #TB_load { /* ie6 hack */
    position: absolute;
    margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
    #TB_HideSelect{
      z-index:99;
      position:fixed;
      top: 0;
      left: 0;
      background-color:#fff;
      border:none;
      filter:alpha(opacity=0);
      -moz-opacity: 0;
      opacity: 0;
      height:100%;
      width:100%;
    * html #TB_HideSelect { /* ie6 hack */
         position: absolute;
         height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
    #TB_iframeContent{
      clear:both;
      border:none;
      margin-bottom:-1px;
      margin-top:1px;
      _margin-bottom:1px;
    Right Click and Download:
    * Thickbox 3 - One Box To Rule Them All.
    * By Cody Lindley (http://www.codylindley.com)
    * Copyright (c) 2007 cody lindley
    * Licensed under the MIT License: http://www.opensource.org/licenses/mit-license.php
    var tb_pathToImage = "images/loadingAnimation.gif";
    eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('$(o).2S(9(){1u(\'a.18, 3n.18, 3i.18\');1w=1p 1t();1w.L=2H});9 1u(b){$(b).s(9(){6 t=X.Q||X.1v||M;6 a=X.u||X.23;6 g=X.1N||P;19(t,a,g);X.2E();H P})}9 19(d,f,g){3m{3(2t o.v.J.2i==="2g"){$("v","11").r({A:"28%",z:"28%"});$("11").r("22","2Z");3(o.1Y("1F")===M){$("v").q("<U 5=\'1F\'></U><4 5=\'B\'></4><4 5=\'8\'></4>");$("#B").s(G)}}n{3(o.1Y("B")===M){$("v").q("<4 5=\'B\'></4><4 5=\'8\'></4>");$("#B").s(G)}}3(1K()){$("#B").1J("2B")}n{$("#B").1J("2z")}3(d===M){d=""}$("v").q("<4 5=\'K\'><1I L=\'"+1w.L+"\' /></4>");$(\'#K\').2y();6 h;3(f.O("?")!==-1){h=f.3l(0,f.O("?"))}n{h=f}6 i=/\\.2s$|\\.2q$|\\.2m$|\\.2l$|\\.2k$/;6 j=h.1C().2h(i);3(j==\'.2s\'||j==\'.2q\'||j==\'.2m\'||j==\'.2l\'||j==\'.2k\'){1D="";1G="";14="";1z="";1x="";R="";1n="";1r=P;3(g){E=$("a[@1N="+g+"]").36();25(D=0;((D<E.1c)&&(R===""));D++){6 k=E[D].u.1C().2h(i);3(!(E[D].u==f)){3(1r){1z=E[D].Q;1x=E[D].u;R="<1e 5=\'1X\'>&1d;&1d;<a u=\'#\'>2T &2R;</a></1e>"}n{1D=E[D].Q;1G=E[D].u;14="<1e 5=\'1U\'>&1d;&1d;<a u=\'#\'>&2O; 2N</a></1e>"}}n{1r=1b;1n="1t "+(D+1)+" 2L "+(E.1c)}}}S=1p 1t();S.1g=9(){S.1g=M;6 a=2x();6 x=a[0]-1M;6 y=a[1]-1M;6 b=S.z;6 c=S.A;3(b>x){c=c*(x/b);b=x;3(c>y){b=b*(y/c);c=y}}n 3(c>y){b=b*(y/c);c=y;3(b>x){c=c*(x/b);b=x}}13=b+30;1a=c+2G;$("#8").q("<a u=\'\' 5=\'1L\' Q=\'1o\'><1I 5=\'2F\' L=\'"+f+"\' z=\'"+b+"\' A=\'"+c+"\' 23=\'"+d+"\'/></a>"+"<4 5=\'2D\'>"+d+"<4 5=\'2C\'>"+1n+14+R+"</4></4><4 5=\'2A\'><a u=\'#\' 5=\'Z\' Q=\'1o\'>1l</a> 1k 1j 1s</4>");$("#Z").s(G);3(!(14==="")){9 12(){3($(o).N("s",12)){$(o).N("s",12)}$("#8").C();$("v").q("<4 5=\'8\'></4>");19(1D,1G,g);H P}$("#1U").s(12)}3(!(R==="")){9 1i(){$("#8").C();$("v").q("<4 5=\'8\'></4>");19(1z,1x,g);H P}$("#1X").s(1i)}o.1h=9(e){3(e==M){I=2w.2v}n{I=e.2u}3(I==27){G()}n 3(I==3k){3(!(R=="")){o.1h="";1i()}}n 3(I==3j){3(!(14=="")){o.1h="";12()}}};16();$("#K").C();$("#1L").s(G);$("#8").r({Y:"T"})};S.L=f}n{6 l=f.2r(/^[^\\?]+\\??/,\'\');6 m=2p(l);13=(m[\'z\']*1)+30||3h;1a=(m[\'A\']*1)+3g||3f;W=13-30;V=1a-3e;3(f.O(\'2j\')!=-1){1E=f.1B(\'3d\');$("#15").C();3(m[\'1A\']!="1b"){$("#8").q("<4 5=\'2f\'><4 5=\'1H\'>"+d+"</4><4 5=\'2e\'><a u=\'#\' 5=\'Z\' Q=\'1o\'>1l</a> 1k 1j 1s</4></4><U 1W=\'0\' 2d=\'0\' L=\'"+1E[0]+"\' 5=\'15\' 1v=\'15"+1f.2c(1f.1y()*2b)+"\' 1g=\'1m()\' J=\'z:"+(W+29)+"p;A:"+(V+17)+"p;\' > </U>")}n{$("#B").N();$("#8").q("<U 1W=\'0\' 2d=\'0\' L=\'"+1E[0]+"\' 5=\'15\' 1v=\'15"+1f.2c(1f.1y()*2b)+"\' 1g=\'1m()\' J=\'z:"+(W+29)+"p;A:"+(V+17)+"p;\'> </U>")}}n{3($("#8").r("Y")!="T"){3(m[\'1A\']!="1b"){$("#8").q("<4 5=\'2f\'><4 5=\'1H\'>"+d+"</4><4 5=\'2e\'><a u=\'#\' 5=\'Z\'>1l</a> 1k 1j 1s</4></4><4 5=\'F\' J=\'z:"+W+"p;A:"+V+"p\'></4>")}n{$("#B").N();$("#8").q("<4 5=\'F\' 3c=\'3b\' J=\'z:"+W+"p;A:"+V+"p;\'></4>")}}n{$("#F")[0].J.z=W+"p";$("#F")[0].J.A=V+"p";$("#F")[0].3a=0;$("#1H").11(d)}}$("#Z").s(G);3(f.O(\'37\')!=-1){$("#F").q($(\'#\'+m[\'26\']).1T());$("#8").24(9(){$(\'#\'+m[\'26\']).q($("#F").1T())});16();$("#K").C();$("#8").r({Y:"T"})}n 3(f.O(\'2j\')!=-1){16();3($.1q.35){$("#K").C();$("#8").r({Y:"T"})}}n{$("#F").34(f+="&1y="+(1p 33().32()),9(){16();$("#K").C();1u("#F a.18");$("#8").r({Y:"T"})})}}3(!m[\'1A\']){o.21=9(e){3(e==M){I=2w.2v}n{I=e.2u}3(I==27){G()}}}}31(e){}}9 1m(){$("#K").C();$("#8").r({Y:"T"})}9 G(){$("#2Y").N("s");$("#Z").N("s");$("#8").2X("2W",9(){$(\'#8,#B,#1F\').2V("24").N().C()});$("#K").C();3(2t o.v.J.2i=="2g"){$("v","11").r({A:"1Z",z:"1Z"});$("11").r("22","")}o.1h="";o.21="";H P}9 16(){$("#8").r({2U:\'-\'+20((13/2),10)+\'p\',z:13+\'p\'});3(!(1V.1q.2Q&&1V.1q.2P<7)){$("#8").r({38:\'-\'+20((1a/2),10)+\'p\'})}}9 2p(a){6 b={};3(!a){H b}6 c=a.1B(/[;&]/);25(6 i=0;i<c.1c;i++){6 d=c[i].1B(\'=\');3(!d||d.1c!=2){39}6 e=2a(d[0]);6 f=2a(d[1]);f=f.2r(/\\+/g,\' \');b[e]=f}H b}9 2x(){6 a=o.2M;6 w=1S.2o||1R.2o||(a&&a.1Q)||o.v.1Q;6 h=1S.1P||1R.1P||(a&&a.2n)||o.v.2n;1O=[w,h];H 1O}9 1K(){6 a=2K.2J.1C();3(a.O(\'2I\')!=-1&&a.O(\'3o\')!=-1){H 1b}}',62,211,'|||if|div|id|var||TB_window|function||||||||||||||else|document|px|append|css|click||href|body||||width|height|TB_overlay|remove|TB_Counter|TB_TempArray|TB_ajaxContent|tb_remove|return|keycode|style|TB_load|src|null|unbind|indexOf|false|title|TB_NextHTML|imgPreloader|block|iframe|ajaxContentH|ajaxContentW|this|display|TB_closeWindowButton||html|goPrev|TB_WIDTH|TB_PrevHTML|TB_iframeContent|tb_position||thickbox|tb_show|TB_HEIGHT|true|length|nbsp|span|Math|onload|onkeydown|goNext|Esc|or|close|tb_showIframe|TB_imageCount|Close|new|browser|TB_FoundURL|Key|Image|tb_init|name|imgLoader|TB_NextURL|random|TB_NextCaption|modal|split|toLowerCase|TB_PrevCaption|urlNoQuery|TB_HideSelect|TB_PrevURL|TB_ajaxWindowTitle|img|addClass|tb_detectMacXFF|TB_ImageOff|150|rel|arrayPageSize|innerHeight|clientWidth|self|window|children|TB_prev|jQuery|frameborder|TB_next|getElementById|auto|parseInt|onkeyup|overflow|alt|unload|for|inlineId||100||unescape|1000|round|hspace|TB_closeAjaxWindow|TB_title|undefined|match|maxHeight|TB_iframe|bmp|gif|png|clientHeight|innerWidth|tb_parseQuery|jpeg|replace|jpg|typeof|which|keyCode|event|tb_getPageSize|show|TB_overlayBG|TB_closeWindow|TB_overlayMacFFBGHack|TB_secondLine|TB_caption|blur|TB_Image|60|tb_pathToImage|mac|userAgent|navigator|of|documentElement|Prev|lt|version|msie|gt|ready|Next|marginLeft|trigger|fast|fadeOut|TB_imageOff|hidden||catch|getTime|Date|load|safari|get|TB_inline|marginTop|continue|scrollTop|TB_modal|class|TB_|45|440|40|630|input|188|190|substr|try|area|firefox'.split('|'),0,{}))
    How to Implement ThickBox:
    Before you can implement ThickBox make sure the page that invokes  ThickBox has a valid DTD. This is  required for ThickBox to look and function correctly.
    1. ThickBox requires the jQuery JavaScript library; because of  this, you will need to include the jquery.js file in the head element of  your web page, followed by the thickbox.js file (NOTE: jquery.js must  come first in the source order). Example below:
    <script type="text/javascript" src="path-to-file/jquery.js"></script>
    <script type="text/javascript" src="path-to-file/thickbox.js"></script>
    Once you have included the .js files, open thickbox.js or thickbox-compressed.js and locate the tb_pathToImage variable at the top of the page. Once you  have found it, make sure to change the value of tb_pathToImage to the  path where the loadingAnimation.gif file is located on your own server.
    2. Include the ThickBox CSS file in your web page. As of version  3.1 you will                     also need to update the path to the macFFBgHack.png in the thickbox.css                     file. Example options below:
    <link rel="stylesheet" href="path-to-file/thickbox.css" type="text/css" media="screen" />
    Or
    <style type="text/css" media="all">@import "path-to-file/thickbox.css";</style>
    Or, open the thickbox.css file                     and copy and paste the styles into an existing style sheet. Be                     aware that the ThickBox CSS file will remove the browsers default                     padding and margin for all elements.
    3. View the examples to learn the many different ways to use and  invoke ThickBox functionality.
    Supported & Tested Browsers
    Windows IE 6.0, Windows IE 7+, Windows FF 2.0.0.6+, Windows Opera  9.0+,                Macintosh Safari 2.0.4+, Macintosh FF 2.0.0.6+, Macintosh Opera 9.10+
    MIT License/GNU License
    http://www.opensource.org/licenses/mit-license.php
    http://www.gnu.org/licenses/gpl.html
    Permission is hereby granted, free of charge, to any person obtaining  a copy of this software and associated documentation files (the  "Software"), to deal in the Software without restriction, including  without limitation the rights to use, copy, modify, merge, publish,  distribute, sublicense, and/or sell copies of the Software, and to  permit persons to whom the Software is furnished to do so.
    Change Log
    As of 08/01/2007
    Added modal functionality to ThickBox iframes
    Fixed Flash  transparency issue with Firefox on OSX
    Updated to jQuery 1.1.3.1
    Changed how inline content is handled in Thickbox. Instead of  duplicating the inline content thickbox will now move it accordingly  inside of the DOM
    Safari iframe source issue solved
    As of 05/02/2007
    If sizes are not set for width and/or height (inline, iframe, and  ajax content), ThickBox will default to a width of 630px and a height  of 440px
    iframe hack to hide &select" elements now only runs in IE 6
    Scrollbars are removed in IE 6 when a ThickBox is opened (to counter  IE 6's errant width and height calculations)
    Cleaned code using

  • Can you move a 'Multiple Image Upload' button  into the 'Update Form'?

    I am able to creat and an Update form and an image upload using the "Update Form Wizard" tool and the "Multiple Image Upload" tool succesfully.
    <br />
    <br />The problem comes when I try to move the "UPLOAD" button inside the Update form. Right now it looks like this:
    <br />http://www.webritesolutions.com/Test/upload/now.JPG
    <br />
    <br />This is how I would like it to show:
    <br />http://www.webritesolutions.com/Test/upload/tryingto.JPG
    <br />
    <br />I want to "Upload" button to go next to the "Update record" button. When I do this I get a javascript error and the "Update record" button is disabled.
    <br />Here is the code of what I tried to do:
    <br />
    <br />
    <br />
    <br />
    <br />
    <table>
    <tr class="KT_buttons">
    <td>
    <?php<br />        // Multiple Upload Helper<br /> echo $muploadHelper->Execute();<br /> ?>
    </td>
    <td colspan="1">
    <input type="submit" name="KT_Update1" id="KT_Update1" value="Update record" />
    <br /></td>
    </tr>
    </table>
    <br />
    <br />Here is the Javascript error:
    <br />http://www.webritesolutions.com/Test/upload/error.JPG
    <br />
    <br />thanks for your help.

    A control can only appear once in the visual tree. So you have to remove it from the Grid before you can add it to the DockPanel.
    This code will move the Border element from the Grid to the DockPanel when you click the button:
    Private Sub Button_Click(sender As Object, e As RoutedEventArgs)
    Dim border = CType(LayoutRoot.FindName("myborder"), Border)
    LayoutRoot.Children.Remove(border)
    contain.Children.Add(border)
    End Sub
    <StackPanel>
    <Grid x:Name="LayoutRoot">
    <Border x:Name="myborder" BorderBrush="Black" BorderThickness="2">
    <TextBlock>...</TextBlock>
    </Border>
    </Grid>
    <DockPanel x:Name="contain" Background="Yellow">
    <TextBlock>2</TextBlock>
    </DockPanel>
    <Button Click="Button_Click" Content="Move"/>
    </StackPanel>
    You can try it for yourself. But please post your code as formatted text and not as embedded images if you want anyone to be able to reproduce your issue and help you in the future.
    Please remember to close your threads by marking helpful posts as answer.

  • Can you auto save an image with webcam?

    Is there a way to automatically save an image from the webcam to a folder without having to click a button, or can you make the button take the image and save it to a folder as well, without a pop up saying "choose the folder to save to"?

    answered in your other post on same subject

  • Can you change the background image in IP Communicator

    Can you load an image file from you local workstation as the background in IP communicator?

    The first image worked great, but...
    I made and applied all the correct directories, images, and files needed for the custom background.
    I tested it on IP communicator and it worked great, with the image showing up as selection 2.
    Then I added another image selection; meaning I added the formatted image files and edited .xml file.
    Restarted IP Communicator and it still only shows the 1st custom image I created.
    I have checked and rechecked the .xml file along with the formatting of the images and still only 1 custom image is there.
    Ideas -
    Maybe there is a ?reload? command that I need to use on the phone itself?
    Is there any difference if the image is loaded on a Subscriber or Publisher
    - Currently I have it loaded on a subscrber that I also have confirmed that is set as the TFTP server for the IP Communicator.
    Thanks for any help you can provide on this issue.

  • Can you click and add a flash file easily?

    Can you add flash or is there an easy way to take and drag and drop a few images and have them transition? Seems like something apple would have added to this program.

    No need to export to Flash. Any Flash video player supports .m4v movies.
    [Flash Video Player with .m4v Movies|http://www.wyodor.net/_Movies/KeynoteFlash>
    [Download set|http://www.wyodor.net/_Movies/rolando/KeynoteFlash.zip]
    More Flash video samples with code for your pleasure to study and nim:
    http://www.wyodor.net/iFrame
    http://www.wyodor.net/MoreEmbed
    [How to add a movie to your blog|http://www.wyodor.net/iWebBlogTest/Wyodor1/archives/2009/05/entry35.html]
    Don't be misled by the title. Instead of Movie read Flash. Instead of blog read webpage.

  • Can you pin objects/text/images (any or all) in mobile version of Adobe Muse

    Can you pin anything in Adobe Muse when designing a layout/website for mobile?

    Hi Laurrae,
    Please check this related post here,
    Is the item pin not available in mobile and tablet design ?
    http://forums.adobe.com/message/4943973
    - Abhishek Maurya

  • Can you click to enlarge an image in LiveCycle Designer?

    I am new to Adobe LiveCycle Designer, so forgive me if this sounds silly but is it possible to add an image to the form and have the ability to "click to enlarge" when viewing it as a PDF?
    Anything you can provide to guide me in the right direction would be fantastic!
    Thanks

    Thank you for the reply! This is what I am looking for! So how do I implement this into my document by clicking on the picture? Do I have to change the format in which I am creating the document? (I noticed this was Java)...
    Thank you!

  • How can you tell if an image's preview exists?

    OK, I actually needed to get some work done on my PB, so I turned off "New projects always generate previews" to make the fan shut up. Since then I've been making previews on a project-by-project or image-by-image basis.
    Now I can't remember which projects and images have previews. I thought I'd seen something in the manual about a badge indicator for this, but now I can't seem to find it.
    How do I figure out which previews already exist?

    Hello, Steve
    Quote: "How do I figure out which previews already exist? "
    If you select the photograph and go to the Aperture menu Images>Update Preview or Generate Preview it will let you know if it has a preview by stating "The preview for the selected item is already up-to-date."
    You can force a re-render by holding the option key down and selecting Images>Update Preview.
    Aperture makes a preview when you select the photograph to see it in the Viewer so then from the Browser you can click & drag it to another application not just to the iWork and iLife apps but to Final Cut Pro, Motion, Adobe GoLive etc.
    love & peace,
    victor

  • Can you merge two still images into one in premiere elements?

    I am working on a slide show for a memorial service and would like to have one still image showing and then have the next one come in without replacing the former- somehow merge the two. Is that possible?

    Depending on what you mean by "merge," you can use PiP (Picture in Picture) to have the second image come in and occupy part of the screen with the original image. There are many ways to display PiP, from say a small image located in the screen to having it occupy one half of the screen.
    Does that sound like what you are hoping to do?
    Besides the rather simple PiP, one can also use Track Matte Keying to bring up the second image and to soften edges, drop it into an image of, say a TV set, or a window.
    The possibilities are endless, or nearly so.
    Let us know if PiP works for you, or if you need a more intricate merging of the images.
    Good luck,
    Hunt

Maybe you are looking for