View Full Version : hotspot in panorama
reachthegoddess
04-28-2009, 02:24 PM
have created a 360 tour and when i'am dragging the image right to left or vice versa the hotspots moves along with it...they do not stay at there specific locations
im new to actionscript and i wanted help with this:confused:.. thnx a lot
kkbbcute
04-29-2009, 06:50 AM
Create the hotspot in a seperate MC, not as prt of the paranoma MC. ;)
reachthegoddess
04-29-2009, 01:32 PM
thanx;)..but now iam having a new problem.
each hotspot is getting linked to the same file. i want each hotspot to link to different file
im using -
for hotspot1:
on (release) {
loadMovie("field.swf",1);
}
for hotspot2:
on (release) {
loadMovie("school.swf",1);
}
.....and so on
kkbbcute
04-29-2009, 02:50 PM
Are you familiar with variables, if so, when each new paranoma is displayed, change the vraibale to something else, for example, if your paranoma depicts Tokyo, then you could have
var myVariable:String = "Tokyo"
Then with your on(release) code, you put something like this:
on (release) {
if(myVariable == "Tokyo") {
loadMovie("field.swf",1);
} else if (myVariable == "Berlin") {
loadMovie("field2.swf",1);
}
}
reachthegoddess
05-02-2009, 09:20 AM
wel i tried button handlers as well as movie clip events to link those hotspots but its nt wrkin
u can download from here
http://www.2shared.com/file/5547981/f1459e5b/MAIN2.html
my id is reachthegoddess@gmail.com
reachthegoddess
05-02-2009, 09:24 AM
i hav made a movie clip acting like a button.. this movie clip is nested in two more movie clip.. when i call it using an clipEvent handler the clip gets linked.. but i want each botton(or mc) to direct to a seperate swf
:confused:
kkbbcute
05-05-2009, 01:33 PM
I didn't really get what you meant by you want it to direct to a different swf. Didn't I already solve that in my last post? What's the problem that you have with my code that makes it not work? Any errors? :confused:
reachthegoddess
05-05-2009, 06:38 PM
i mean that i'am unable to load the swf file when i click on the movie clip button . all the movie clip buttons are loading the same swf but i want each mc button to load a separate swf. also if i click anywhere on the clip it loads a swf
my movie clip buttons are inside a parent movie clip. thats why they are acting strange
please chek my file from http://www.2shared.com/file/5547981/f1459e5b/MAIN2.html
reachthegoddess
05-09-2009, 07:08 PM
??????
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.