![]() |
|
#1
|
||||
|
||||
|
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. |
|
#2
|
||||
|
||||
|
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.
|
|
#3
|
||||
|
||||
|
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" |
![]() |
| Thread Tools | |
| Display Modes | |
|
|