PDA

View Full Version : Multiple (embedded) .swf files not displayed..


hyung
05-03-2008, 10:41 AM
Hi,

I have multiple hotspots in my pano and when I click them,

.jpg image or .swf file are displayed. JPG images are displayed

fine but the problem is that only one .swf, which is coded lastly,

is displayed correctly.

Here is my pano:

http://vrnet.webzero.kr/test/vr.html


and I have three .swf files I wish to show:

http://vrnet.webzero.kr/test/pics/matrix1.swf
http://vrnet.webzero.kr/test/pics/matrix2.swf
http://vrnet.webzero.kr/test/pics/matrix3.swf


In the pano, if you click on pictures, the clicked picture is diaplyed
in the center. Following is my xml code - .swf part.

<!-- 최금자 - Matrix 1 -->
<box id="matrix1_hs" url="./pics/matrix1.jpg" pan="21.00" tilt="-1.00" distance="2.74" orientation="sphere" rotationX="35.00" rotationY="4.00" alignX="-0.53" alignY="-0.50" depth="25" scaleX="1.05" scaleY="1.12"
alt="최금자 - Matrix" onClick="matrix1.visible=1;matrix1.alpha=1,1000;" />

<spot id="matrix1" static="1" salign="C" staticX="-350" staticY="-265" url="./pics/matrix1.swf" blockMouse="1" scaleable="0" alpha="0"
onClick="matrix1.alpha=0,1000,,disappear;" disappear="visible=0" visible="1" depth="200" alt="이미지를 닫으려면 본 이미지를 클릭하세요."
/>


I am quite confident that there is no bug.. Could it be a problem with
hotspot plugin?

Any help & suggestion would be appreciated.

Regards,

Hyung

uudu
05-03-2008, 11:26 AM
I fighted with object movies also.
At first try to remove all the smoothing and opacity changes in opening time of them.
Second suggestion is - try code from here
http://flashpanoramas.com/forum/showthread.php?t=1046&page=2
Worked for me.

hyung
05-07-2008, 02:59 PM
Hi uudu,

Thanks for your reply but I still have the same problem..

Maybe it's a bug of hotspot plugin. I have sent a mail to Denis

and I am hoping he could help with this :)

Hyung.

uudu
05-08-2008, 06:43 AM
Your problem seems to be in the software you made swf's. Am I right, you made them with Pano2qtvr? I made now one for testing and it didn't open either. Mine, working ones are from 3D Photobuilder. Even it's a bit difficult to control the rotating speed of object movie versus rotating of pano..
Let us now the answer from Denis and the solution of problem - if you find it out.

hyung
05-10-2008, 04:53 AM
I think you are right uudu. The problem seems to come from Pano2QTVR. I got a reply from Denis:

These files can't work together even without my pano player:

var v1:Loader = new Loader()
addChild(v1);
v1.load(new URLRequest("matrix1.swf"))
v1.scaleX = v1.scaleY = 0.3
v1.x = 200
var v2:Loader = new Loader()
addChild(v2);
v2.load(new URLRequest("matrix2.swf"))
v2.scaleX = v2.scaleY = 0.3

Next loaded file kills the previous one, check their code, I think they are using some global objects (incorrect implementation).

Denis.

I don't understand the code perfectly but it seems that only one Pano2QTVR's object vr file is referenced and if you load the next one, the reference to the previous one is lost and the new one is referenced.

I should try a new software for creaing object vr. Is 3d Photobuilder recommendable or any other recommendation??

Regards,

Hyung

uudu
05-10-2008, 09:30 AM
Your .swf files are more slideshows than object movies. If you don't have Macromedia Flash, can recommend SwishMax2 as cheaper alternative for making your swf files. It's easier to use and quite powerful to do nearly everything you need in flash. Download trial. Files made with it working well inside of FPP.
3D Photobuilder is more for making rotating object movies. Probably there are others also but I dont have experiense.