A Flash Developer Resource Site

Results 1 to 15 of 15

Thread: Showing Skypee Status online/offline

  1. #1
    Member
    Join Date
    Jul 2008
    Posts
    49

    Angry Showing Skypee Status online/offline

    I have a flash template and I like to show my status on Skypee on or off, but I have no idea how to do this one.can you help me how to do this one.

    Thanks to everybody.

    trnghosh

  2. #2
    Client Software Programmer AS3.0's Avatar
    Join Date
    Apr 2011
    Posts
    1,404
    Does skype make API's for flash?

  3. #3

  4. #4
    Member
    Join Date
    Jul 2008
    Posts
    49

    skypee button status

    Thanks for the reply. but where should I put this code and how? There is a button in the contact page named "Skypee Status", but how can I put all these code and where?

    Sorry for my ignorance.

  5. #5
    Client Software Programmer AS3.0's Avatar
    Join Date
    Apr 2011
    Posts
    1,404
    can you give me more info or a link to your site or a .fla file I dont really what I can do if I have no info

  6. #6
    Designer, Programmer, Musician angelhdz's Avatar
    Join Date
    Mar 2010
    Posts
    971
    Why do you want to have the skype status appi inside a flash template/site? Why just not put it in the HTML site?

    This is the site for making a skype status button html based http://www.skype.com/intl/en-us/tell...-skype-button/

    If you have a flash template embbeded on a site, you can just have this skype status button below the flash object, so , no need to put it inside flash.
    Already mastering AS3. It was so fun. Now into Javascript and PHP and all its libraries

  7. #7
    Member
    Join Date
    Jul 2008
    Posts
    49
    thanks for the valuable advise you gave me . I will try and will inform all of you.

    Thanks.

  8. #8
    Member
    Join Date
    Jul 2008
    Posts
    49
    Quote Originally Posted by angelhdz View Post
    Why do you want to have the skype status appi inside a flash template/site? Why just not put it in the HTML site?

    This is the site for making a skype status button html based http://www.skype.com/intl/en-us/tell...-skype-button/

    If you have a flash template embbeded on a site, you can just have this skype status button below the flash object, so , no need to put it inside flash.
    I embed the code in the index.html page , kindly view is it all-right I have some confusion till , please take a look in the front page.

    http://www.flashybee.com/gaf/test/

    I like when the user view this page he clicked this button open to start chat with the person having Skypee Id "berjozkin_23" , this is the code I pasted in the index.html page

    Code:
    <div id='show_status_1'></div>
     
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
    <script type="text/javascript" src="http://download.skype.com/share/skypebuttons/js/skypeCheck.js"></script>
     
    <script>
    /* ****************************************************************
     * @skypeId  :  skype id of the user you want to show status.
     *
     * @iconType : which type of skype status icon you want to show.
     *      balloon   - Balloon style
     *      bigclassic  - Big Classic Style
     *      smallclassic - Small Classic Style
     *      smallicon  - Small Icon (transparent background)
     *      mediumicon  - Medium Icon
     *      dropdown-white - Dropdown White Background
     *      dropdown-trans - Dropdown Transparent Background
     *
     * @skypeEvent : which event you want to call on onclick event of skype status icon
     *     caht   - Opne chat window
     *     call   - Call that user
     *     add    - Added that user to contact list
     *     userinfo  - Show user info of that user
     *     sendfile  - Send selected file to that user
     *
     * @statusShowId : id of the HTML element where you want to show the status icon
     * **********************************************************/
     
    function getSkypeStatus(skypeId,iconType,skypeEvent,statusShowId){
     var image = new Image()
     $(image).attr('src','http://mystatus.skype.com/'+iconType+'/'+skypeId);
     var src = $(image).attr('src');
     var html = skypeId +  '<a href="skype:'+skypeId+'?'+skypeEvent+'" onclick="return skypeCheck();"><img src="'+src+'" border="0"></a>';
     $('#show_status_1').append(html);
    }
     
    $(function() { getSkypeStatus
    ('berjozkin_23','dropdown-trans','chat','show_status_1');
    });
    </script>
    Kindly look into here Where I am doing wrong. I think the button is not working properly.

  9. #9
    Designer, Programmer, Musician angelhdz's Avatar
    Join Date
    Mar 2010
    Posts
    971
    Well, if you wait for me, while I install Skype and try to help you with that, because i'm not a skype person, so, I'm doing research. I found that site i gave you, to create a status button , that it was what you asked for in first place. Now you want to be able to chat in there, so, let my "try" to understand that code, and see what it needs to be fixed. Regards
    Already mastering AS3. It was so fun. Now into Javascript and PHP and all its libraries

  10. #10
    Client Software Programmer AS3.0's Avatar
    Join Date
    Apr 2011
    Posts
    1,404
    If you cant solve the problem just sit down in agony while watching this http://www.facebook.com/photo.php?v=10151107925657478

  11. #11
    Member
    Join Date
    Jul 2008
    Posts
    49
    Quote Originally Posted by Alloy Bacon View Post
    Thanks for this link and I managed to show the status in the web, but the problem is there is one spot over the " Skype Status Button" ( Refer my attached image). I tried but failed to remove it. If you kindly look into my code I think you can solve this one. Here is my code that I am using.

    At first kindly look into this link

    www.flashybee.com/gaf/test

    Here you can find one spot over the "Skype status button"

    This is the code, I think something is wrong here.


    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    <style type="text/css">
    body {
    	background-color: #14191E;
    	margin-left: 0px;
    	margin-top: 0px;
    	margin-right: 0px;
    	margin-bottom: 0px;
    }
    #face {
    	float: left;
    	height: 20px;
    	width: 460px;
    }
    #shout {
    	float: right;
    	margin-right: 10px;
    }
    
    #show_status_1{
    float:left;
    margin-left:300px;
    }
    
    </style>
    </head>
    
    <body>
    <div id="fb-root"></div>
    <script>(function(d, s, id) {
      var js, fjs = d.getElementsByTagName(s)[0];
      if (d.getElementById(id)) return;
      js = d.createElement(s); js.id = id;
      js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
      fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>
    <table width="980" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td><object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="980" height="705">
          <param name="movie" value="main_v8.swf" />
          <param name="quality" value="high" />
          <param name="wmode" value="opaque" />
          <param name="swfversion" value="8.0.35.0" />
          <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
          <param name="expressinstall" value="Scripts/expressInstall.swf" />
          <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
          <!--[if !IE]>-->
          <object type="application/x-shockwave-flash" data="main_v8.swf" width="980" height="705">
            <!--<![endif]-->
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="8.0.35.0" />
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
            <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
            <div>
              <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
              <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
            </div>
            <!--[if !IE]>-->
          </object>
          <!--<![endif]-->
        </object></td>
      </tr>
      <tr>
        <td>
    	<div id="face">
        <div class="fb-like" data-href="http://www.flashybee.com/" data-send="false" data-width="450" data-show-faces="true" data-colorscheme="dark"></div>
        </div>
     <!-----------
    	
    	<div id="shout">
        <embed src='http://www.shoutcast.com/media/popupPlayer_V19.swf?stationid=http://yp.shoutcast.com/sbin/tunein-station.pls?id=731538&play_status=1' quality='high' bgcolor='#14191E' width='200' height='50' name='popupPlayer_V19' align='middle' allowScriptAccess='always' allowFullScreen='true' type='application/x-shockwave-flash' pluginspage='http://www.adobe.com/go/getflashplayer' ></embed>
        </div>
    -------------->
    	
    	</td>
      </tr>
      <tr>
      <td><div id="facebookimage"><img src="images/facebook-images.png" /></div></td></tr>
    </table>
    <script type="text/javascript">
    swfobject.registerObject("FlashID");
    </script>
    <div id='show_status_1'></div>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
    <script type="text/javascript" src="http://download.skype.com/share/skypebuttons/js/skypeCheck.js"></script>
    <script>
    /* ****************************************************************
     * @skypeId  :  skype id of the user you want to show status.
     *
     * @iconType : which type of skype status icon you want to show.
     *      balloon   - Balloon style
     *      bigclassic  - Big Classic Style
     *      smallclassic - Small Classic Style
     *      smallicon  - Small Icon (transparent background)
     *      mediumicon  - Medium Icon
     *      dropdown-white - Dropdown White Background
     *      dropdown-trans - Dropdown Transparent Background
     *
     * @skypeEvent : which event you want to call on onclick event of skype status icon
     *     caht   - Opne chat window
     *     call   - Call that user
     *     add    - Added that user to contact list
     *     userinfo  - Show user info of that user
     *     sendfile  - Send selected file to that user
     *
     * @statusShowId : id of the HTML element where you want to show the status icon
     * **********************************************************/
     
    function getSkypeStatus(skypeId,iconType,skypeEvent,statusShowId){
     var image = new Image()
     $(image).attr('src','http://mystatus.skype.com/'+iconType+'/'+skypeId);
     var src = $(image).attr('src');
     var html = skypeId +  '<a href="skype:'+skypeId+'?'+skypeEvent+'" onclick="return skypeCheck();"><img src="'+src+'" border="0"></a>';
     $('#show_status_1').append(html);
    }
     
    $(function() {getSkypeStatus('berjozkin_23','dropdown-trans','chat','show_status_1');
    });
    </script>
    
    
    </body>
    </html>
    Attached Files Attached Files

  12. #12
    Designer, Programmer, Musician angelhdz's Avatar
    Join Date
    Mar 2010
    Posts
    971
    The issue is lying in the skypeCheck.js javascript file located in http://download.skype.com/share/skyp.../skypeCheck.js

    If you don't need that, just remove this script:

    PHP Code:
    <script type="text/javascript" src="http://download.skype.com/share/skypebuttons/js/skypeCheck.js"></script
    Already mastering AS3. It was so fun. Now into Javascript and PHP and all its libraries

  13. #13
    Member
    Join Date
    Jul 2008
    Posts
    49
    Quote Originally Posted by angelhdz View Post
    The issue is lying in the skypeCheck.js javascript file located in http://download.skype.com/share/skyp.../skypeCheck.js

    If you don't need that, just remove this script:

    PHP Code:
    <script type="text/javascript" src="http://download.skype.com/share/skypebuttons/js/skypeCheck.js"></script
    Thanks , I will make a try by removing this one.

  14. #14
    Member
    Join Date
    Jul 2008
    Posts
    49
    Quote Originally Posted by trnghosh View Post
    Thanks , I will make a try by removing this one.
    Oh! When removing this script it will delete the Skype status button, actually I need the button but not the spot. Is it possible?

  15. #15
    Designer, Programmer, Musician angelhdz's Avatar
    Join Date
    Mar 2010
    Posts
    971
    I removed it, and the button still showed.

    Here is the preview
    http://sofistica2.zzl.org/asd.png


    If you want, download the http://download.skype.com/share/skyp.../skypeCheck.js, modify the spot, it must be there, then upload it to your server and link it in your script.

    "http://yourserver.com/skypeCheck.js"
    Already mastering AS3. It was so fun. Now into Javascript and PHP and all its libraries

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center