Galaga
10-22-2008, 08:18 PM
Hi,
I have a problem for that I would like to ask your help.
I want to let show in Flash the online status of Skype. Everything works fine but has a small problem: if a visitor has no Skype installed, can see an error message that the system does not recognise the Skype software.
I found a solution on Skype's page:
Skype JavaScript detection
- first I need to put a small tag into our homepage header:
<script type="text/javascript"
src="http://download.skype.com/share/skypebuttons/js/skypeCheck.js">
</script>
And I would need to use the following link:
<a href="skype:echo123?call" onclick="return skypeCheck();">
when the visitor clicks on Skype status button.
In my Flash the Actionscript now it looks like:
on(press) {
get URL("skype:echo123?chat");
}
How can I convert the requested
<a href="skype:echo123?call" onclick="return skypeCheck();"> link to Actionscript?
The best would be if the skype is not installed on the computer the Flash would pop-up a custom small page. It would be better solution as the Skype error message is in English, but I am using a not Skype-supported language (Hungarian).
Thanks!
I have a problem for that I would like to ask your help.
I want to let show in Flash the online status of Skype. Everything works fine but has a small problem: if a visitor has no Skype installed, can see an error message that the system does not recognise the Skype software.
I found a solution on Skype's page:
Skype JavaScript detection
- first I need to put a small tag into our homepage header:
<script type="text/javascript"
src="http://download.skype.com/share/skypebuttons/js/skypeCheck.js">
</script>
And I would need to use the following link:
<a href="skype:echo123?call" onclick="return skypeCheck();">
when the visitor clicks on Skype status button.
In my Flash the Actionscript now it looks like:
on(press) {
get URL("skype:echo123?chat");
}
How can I convert the requested
<a href="skype:echo123?call" onclick="return skypeCheck();"> link to Actionscript?
The best would be if the skype is not installed on the computer the Flash would pop-up a custom small page. It would be better solution as the Skype error message is in English, but I am using a not Skype-supported language (Hungarian).
Thanks!