Forums  

Go Back   Forums > Talk > General FPP Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 08-30-2007, 12:33 PM
nmendes's Avatar
nmendes nmendes is offline
Member
 
Join Date: Jul 2007
Posts: 53
Downloads: 0
Uploads: 0
Default Several hotspot problems and questions

I'm having trouble dealing with swf (Flash) hotspots.
1)
I can use PNG images as hotspots without any problem, but when I change the XML file to load a .swf instead of a .png for the hotspot, I get the hotspots moving from their location when I rotate the panorama. Why is that?

2) I need to have different text appearing next to the hotspot. As I can't find any other way, I thought that it could be done with a swf as a hotspot with a textfield to which I could pass the text. But how can I pass a parameter like a string to the swf hotspot?

Thank you.
Reply With Quote
  #2  
Old 08-30-2007, 03:23 PM
nmendes's Avatar
nmendes nmendes is offline
Member
 
Join Date: Jul 2007
Posts: 53
Downloads: 0
Uploads: 0
Default

Ok, about my question 1) above, I found out that the weird behaviour was because the stage size of the flash movie was bigger (was the default size) than the object I've used inside. I've resized the stage to the size of the object and it's working ok now.
Reply With Quote
  #3  
Old 09-14-2007, 06:40 PM
zleifr's Avatar
zleifr zleifr is offline
Senior Member
 
Join Date: May 2007
Posts: 609
Downloads: 0
Uploads: 0
Default

Don't know if you've solved it on your own. I just solved it for myself:

Make a dynamic text field with instance name Caption_txt

put this in actions:
Caption_txt.text = root.loaderInfo.parameters.cpn;

Save as textPrint.swf

Then in the spot xml call url="textPrint.swf?cpn=Caption Text here"
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 04:48 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.