oksoft
06-25-2007, 03:40 PM
Hi All,
I have a button inside the pano I am doing and i want to load the 2nd pano preview when the user clicks on this button.And when the 2nd transition effect finishes,it willl then load the 2nd pano with high resolution images.
The first onTransitionEnd command executes correctly.But the 2nd onTransitionEnd command in my following code snippet just doesnt work. It just loads the 2nd low res image pano preview and dont execute the load2ndMain function.And when i click another button load back the first pano with loadPreview function,it doesnt execute the onTransitionEnd command either.
I couldnt see what is the problem in my code. Could any one give me some advices?
Thanks
loadPreview = "
loadPano(?panoName=images/dm_small,300,stripes);
onTransitionEnd=loadMain()
"
loadMain = "
loadPano(?panoName=images/dm,600,stripes);
onTransitionEnd=
"
load2ndPreview = "
loadPano(?panoName=images/dm2_small,300,stripes);
onTransitionEnd=load2ndMain()
"
load2ndMain = "
loadPano(?panoName=images/dm2,600,stripes)
onTransitionEnd=
"
I have a button inside the pano I am doing and i want to load the 2nd pano preview when the user clicks on this button.And when the 2nd transition effect finishes,it willl then load the 2nd pano with high resolution images.
The first onTransitionEnd command executes correctly.But the 2nd onTransitionEnd command in my following code snippet just doesnt work. It just loads the 2nd low res image pano preview and dont execute the load2ndMain function.And when i click another button load back the first pano with loadPreview function,it doesnt execute the onTransitionEnd command either.
I couldnt see what is the problem in my code. Could any one give me some advices?
Thanks
loadPreview = "
loadPano(?panoName=images/dm_small,300,stripes);
onTransitionEnd=loadMain()
"
loadMain = "
loadPano(?panoName=images/dm,600,stripes);
onTransitionEnd=
"
load2ndPreview = "
loadPano(?panoName=images/dm2_small,300,stripes);
onTransitionEnd=load2ndMain()
"
load2ndMain = "
loadPano(?panoName=images/dm2,600,stripes)
onTransitionEnd=
"