Tooltips and smart scale plugins

Two more open source plugins: long-awaited ToolTips and SmartScale plugin.

tooltips example


tooltips.swf, tooltips.fla (source).

smartscale.swf, smartscale.fla (source).

ToolTips plugin

ToolTips plugin is very simple: add alt tag to all hotspots you want to see the tooltips:

<spot id="left" alt="move left" static="1" align="BC" salign="BC" staticX="-225.5" staticY="-5" url="images/black_l.png" /> <spot id="right" alt="move right" static="1" align="BC" salign="BC" staticX="-150.5" staticY="-5" url="images/black_r.png" />
ToolTips plugin searches and shows alt tags using nice yellow box. That’s all, nice and easy.

So alt tag is a part of Hotspots code, you can change it dynamically, I’m using in example above:

onEnterFullscreen="full.alt=exit fullscreen" onExitFullscreen="full.alt=enter ullscreen"
This code is changing the tip for fullscreen button depends on the stage state.

SmartScale plugin

SmartScale works with hotspots too. It searches tags with smartStale=”1″ attribute and changes the scale and positions of navigation buttons depends on the screen width (good for flexible windows). This functionality cannot be done using Hotspots script so it doesn’t support conditions. But some Actionscript in the plugin did the trick.

Linear scaling looks a little inaccurate (too big buttons if your screen is really wide), so I added an additional scale mode in SmartScale plugin: it reduces the size of buttons only if the width is less than 800. It prevents missing buttons if your screen is small, but it do not scale the buttons more than 100%. Check the second example.

This second scale mode is switching on by additional parameter in XML:

<smartscale> mode=reduce </smartscale>

Both examples are good if you want to create your own plugin to work with Flash Panorama Player hotspots.

This entry was posted on Saturday, November 17th, 2007 at 1:27 pm and is filed under Flash, Flash Panorama Player. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

84 Comments so far

  1. Now I hope to see an avalanche of plugins for FPP! And even more if you release the API docs. ;)
    The Smartscale plugin is interesting. If I’m thinking about it a little, it’s quite great! Solves some nasty issues about interface design…

  2. Hi Denis,

    Very nice Tooltips.
    For hotspots (not static), I suggest to add the following code under the line 34:

    hotspots.addEventListener(MouseEvent.CLICK, doOut, false, 0, true);

    Congratulations and thanks!

  3. Thanks for the tooltips- you’re always one step ahead of me. I was about to request that feature!

    I noticed a glitch with the tooltip not fading after a loadpano action (this is with a non static hotspot, box object, distorted). The toolip persists even after the second pano is loaded. This doesn’t happen if I move the mouse away from the hotspot before the second pano finishes loading. I see this when viewing offline with both Safari and Firefox.

    Once it occurs, it will disappear only if I mouse over another hotspot (static or non-static) in the new pano.

  4. I should have tried Ricardo’s suggestion first. Yes! this cured the problem. Thanks.

  5. Hey,

    I was googling for blank screens loading for a flash movie, can you let me know what the bug was and how you fixed it?

    If you could email me that would be great, as Im ahving a similar prob!

    Toni x

  6. alot fo people have created the panorana.

    The thing I was looking for was that when I “zoomed in” I want to be able to look around like I had move a couple of steps forward, not just scaled up the graphics.

  7. Is there a problem with the latest Adobe Flash plugin? none of my Flash produced panoramas seem to work anymore after installing it…

    Michael

  8. It seems that flashpanoplayer had no update for a long time,is it stopped develop?

  9. To vrp: not at all.

    The current version utilizes the main panorama funstions. Thousands of site are using this version.

    FPP API allows to build new simple extensions, so now you can find new updates for Flash Panorama Player outside this site. I want to mention this site especially: http://flashpanos.com/ Great job, guys!

    Now I’m accumulating the material for the next big update.
    Let’s see what am I woking at (have alpha/beta status):
    1. Flash Component for Adobe Flash CS3.
    2. AIR application as GUI for FPP.
    3. New Hotspots (makes possible interactive swf application instead of faces images).
    4. Fisheye panoramas.
    5. Video panoramas.
    6. Extended FPP SDK.
    7. Single SWF file compiler for FPP.

    And last couple of months I taked participation in some custom projects based on FPP. So, guys, forgive me for temporary silence, I was busy a little. But I’ve never stop working on new FPP features because it is my favourite project. :)

    Also, I’m waiting with impatiently for Adobe Flash 10. It will be really great step for Flash panoramas. The update to new Flash version will really easy for FPP’s customers. ;)

  10. Friends, I bought the FPP but the package sent to not filed an executable to install the program on my computer Apple. Someone help me?
    Edson@edsonchagas.com

  11. Hi

    I added a FlashPanorama to http://www.stonesailing.org.uk – which works fine .. but I can’t get tooltips to work.
    As far as I can see I’ve followed your instructions and I’ve placed the swfs in a folder /files on the site. The following is part of the implemented code:

    Any thoughts please?

  12. I started using the panorama player at work recently and want to know if this program is still
    being maintained. I havent seen anything new since this tooltips plugin.
    Thank You

  13. The tooltips plugin seems to work fine – except:

    When you use national characters in the “alt=” field (above 0x7F) there seems to be a problem – at least when using ISO 8859-1 encoding. These characters just don’t show at all. And you can’t use HTML encoding (&auml;) either.

    I havn’t tried UTF-8 encoding, but none of my other HTML pages use it, so…

    Any bright ideas?

  14. Chris (and others).

    FPP is still being maintained and a new version is expected to be released soon.

    The blog is not very active, but you should check the forums for updates and answers to your questions and everything else related to the player.

    The forums are found here: http://flashpanoramas.com/forum/

    Hope this helps.

    Trausti

  15. HI. I`ve just buy the FPP and here are some bugs that I`ve met with:
    not working externalTest.html. It shows the pano, but I could not start to rotate panorama using buttons.
    preview_pano.html – it shows the preview of panoramas, but on the clicks nothing happens
    bw_preview_detection.html – it is not working at all on my machine

    The tooltip plugin do not shows russian letters in tips.

    I`m using opera browser it it helps you to fix this troubles

    all other exemples are working properly.

    That`s it.

    FPP helps me a lot but it takes time to understand how it works.. Hope sometimes it gets users-friendly interface, that would be very important step!

  16. I can’t get the smartscale to work.
    Could you tell me what I’ve done wrong please?

    Here’s the xml code:

    panoName=images/mas_solars_por_la_noche/mas_solars_por_la_noche

    loaderText =
    layer_50 = files/plugins/glassMeter.swf
    layer_1 = files/plugins/cashe.swf
    layer_2 = files/smartscale.swf
    layer_6= files/plugins/hotspots.swf
    //layer_5= files/plugins/editor.swf
    layer_4= files/plugins/autorotator.swf
    layer_7= files/plugins/mp3player.swf
    layer_8= files/plugins/234.swf
    layer_25= files/plugins/tooltips.swf

    panHome = 0
    tiltHome = 16
    zoomHome = 0.65

    //—–hotspots—–/

    /

    />

    //——-shadows———//

    //——-thumbinals———//

    //navigation//

    />

    //labels//

    //music//

    mode=reduce

  17. Hi!

    Is there a way to display ISO-8859-2 characters (like: ?, ??, ??, ??, ??) in the tooltips?
    I’ve tried to use ä instead of “?”, but it displayed white space only.

    Thanx

    Peter

  18. Sorry, it shold be:

    “I??ve tried to use ä instead of ???????, but it displayed white space only.”

  19. simply i’ve tried tu use HTML entity instead of character “?” (the entity was parsed as the actual character in my previous posts)

  20. Hi,

    I was wondering if there was someone out there who could help..I am using tool tips quite successfully but I have encountered a problem. I need to italicise the scientific names in my alt tag but can’t work out how to do this (I can italicise the whole alt tag but not just a few words).

    Is there a way to achieve this?

    Thanks.

  21. I was looking for these tooltip! Thanks!

  22. Thanks for giving us objective information, much appreciate this !

  23. Hi there, I read your blog like every week. Your writing
    style is witty, keep doing what you’re doing!

    Also visit my web-site … Asshole Dumby

  24. here

    Tooltips and smart scale plugins | flashpanoramas.com blog

  25. Buy Diet Pills Australia

    Tooltips and smart scale plugins | flashpanoramas.com blog

  26. dot hack quarantine

    Tooltips and smart scale plugins | flashpanoramas.com blog

  27. http://www.voucherslug.co.uk

    Tooltips and smart scale plugins | flashpanoramas.com blog

  28. You made some good points there. I did a search on the topic and found most persons will agree with your blog.

  29. We pay a visit each day a few web sites and blogs to see content, but this web page presents quality based content material.

  30. I do not know if it’s just me or if everybody else experiencing issues with your site.It appears like some of the text within your posts are runningoff the screen. Can someone else please comment and letme know if this is happening to them as well? This could be a problem with my browser becauseI’ve had this happen before. Many thanks

  31. According to me not very credible statement. I advise you to be careful.

  32. As a Newbie, I am permanently browsing online for articles that can be of assistance to me. Thank you

  33. Could you make a list all of your social

  34. This really answered my drawback bdisus, thanks!

  35. very nice

  36. BEST SUPPLIER

    Tooltips and smart scale plugins | flashpanoramas.com blog

  37. Very interesting information!Perfect just what I was looking for! “Love endures only when the lovers love many things together and not merely each other.” by Walter Lippmann.

  38. Both examples are good if you want to create your own plugin to work with Flash Panorama Player hotspots.

  39. What a great post.. Thank you for your share..

  40. I conceive this site has some real great information for everyone :D. “I like work it fascinates me. I can sit and look at it for hours.” by Jerome K. Jerome.

  41. Suas dicas s??o muito ut?is ajuda bastante

  42. ????????

    Tooltips and smart scale plugins | flashpanoramas.com blog

  43. You made some good points there. I did a search on the topic and found most persons will agree with your blog, Thank you very much.

  44. Please make it as user-friendly as Apple does it. No wonder no one can be better than Apple.

  45. Great post.The post is very informative for me and gives us multiple ideas

  46. This is a really super post. Must admit that you are amid the best writer I have read. I appreciate your making the effort to discuss this class of article.

  47. Well, this is my first visit to your blog! Your blog provided us valuable information .You have done a marvelous job

  48. Hi, this weekend is nice in favor of me, for the reason that this time i am reading this enormous informative article here at my residence.|

  49. What’s up it’s me, I am also visiting this site daily, this website is in fact pleasant and the viewers are in fact sharing good thoughts.|

  50. Oh my goodness! Impressive article dude! Thank you, However I am going through troubles with your RSS. I don’t know the reason why I can’t join it. Is there anyone else getting similar RSS issues? Anyone who knows the answer can you kindly respond? Thanks!!|

  51. I truly wanted to write down a brief word in order to express gratitude to you for some of the fabulous recommendations you are giving out at this site. My time consuming internet lookup has now been rewarded with sensible facts to exchange with my neighbours. I would assume that most of us visitors are rather fortunate to exist in a fantastic website with very many perfect professionals with beneficial strategies. I feel quite fortunate to have seen your webpages and look forward to tons of more amazing minutes reading here. Thanks a lot once more for a lot of things.

  52. Hi there, I desire to subscribe for this blog to take most up-to-date updates,
    thus where can i do it please assist.

  53. Oh my goodness

  54. My developer is trying to persuade me to move to .net from PHP. I have always disliked the idea because of the expenses. But he’s tryiong none the less. I’ve been using WordPress on a number of websites for about a year and am worried about switching to another platform. I have heard excellent things about blogengine.net. Is there a way I can transfer all my wordpress content into it? Any kind of help would be really appreciated!|

  55. I think this is an informative post and it is very useful and knowledgeable. I really enjoyed reading this post. big fan, thank you!

  56. I have read your article. it is very informative and helpful for me.I admire the valuable information you offer in your articles. Thanks for posting it, again!

  57. I really loved reading your blog. I also found your posts very interesting. In fact after reading, I had to go show it to my friend and he ejoyed it as well!

  58. Wow! This can be one particular of the most useful blogs We’ve ever arrive across on this subject. Actually Excellent. I am also a specialist in this topic therefore I can understand your effort.

  59. I have read your article. it is very informative and helpful for me.I admire the valuable information you offer in your articles. Thanks for posting it, again!…

  60. Great web site. A lot of useful information here. I am sending it to some pals ans also sharing in delicious. And certainly, thank you in your effort!

  61. Just you agree, for me you are an eternal god

  62. Your topic is very nice and helpful to us … Thank you for the information you wrote.

  63. thnaks for the tooltips and smart scale plugins

  64. Magnificent website. Plenty of helpful info here. I’m sending it to a few friends ans also sharing in delicious. And of course, thanks for your effort!

  65. Magnificent website. Plenty of helpful info here. I??m sending it to a few friends ans also sharing in delicious. And of course, thanks for your effort!

  66. I have read your article. it is very informative and helpful for me.I admire the valuable information you offer in your articles. Thanks for posting it, again!??

  67. Hi dude …. nice article, very useful, thanks a lot

  68. Tuve problemas para implementar el c??digo pero al final me dio resultado en mi web

  69. Excellent information on your blog, thank you for taking the time to share with us. Amazing insight you have on this, it’s nice to find a website that details so much information about different artists.

  70. Pretty section of content. I just stumbled upon your weblog and in accession capital to assert that I acquire actually enjoyed account your blog posts. Anyway I??ll be subscribing to your augment and even I achievement you access consistently quickly.

  71. Thank you for your analysis. It is new and different aspects I know before. Looking forward to reading more of your posts.

  72. Great tips as always.

  73. https://www.vouchers4u.com/

    This was very helpfull!

  74. Your web journal is superb and i genuinely welcome you and seeking after some more accommodating posts.

  75. Extraordinary Post !! Extremely intriguing theme will bookmark your for visit again..nice post…….

  76. Great post! I am actually getting ready to go across, this post is very informative. By the way, Get talkatone apk

  77. good article is the best

  78. A great blog, I will share it with my friends, thanks for your valuable posts

  79. Thanks for your post! Through your pen I found the problem up interesting! I believe there are many other people who are interested in them just like me! How long does it take to complete this article? I have read through other blogs, but they are cumbersome and confusing. I hope you continue to have such quality articles to share with everyone!
    http://iogames-online.com

  80. Whats up very cool website!! Guy .. Excellent .. Amazing .. I will bookmark your site and take the feeds additionally??KI’m happy to seek out numerous useful info here in the put up, we want develop more techniques on this regard, thank you for sharing. . . . . .

  81. hats up very cool website!! Guy .. Excellent .. Amazing .. I will bookmark your site and take the feeds additionally??KI??m happy to seek out numerous useful info here in the put up, we want develop more techniques on this regard, thank you for sharing. . . . . .

  82. Thanks for the tooltips!!!

Have your say

Fields in bold are required. Email addresses are never published or distributed.

Some HTML code is allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
URIs must be fully qualified (eg: http://www.domainname.com) and all tags must be properly closed.

Line breaks and paragraphs are automatically converted.

Please keep comments relevant. Off-topic, offensive or inappropriate comments may be edited or removed.