PDA

View Full Version : Plugins Problems


africano
12-12-2008, 11:06 AM
Hi, Ive got my pano setup inside an html page and Ive noticed that Tooltips and flvplayer are not working.

If instead of opening the index.html I set it up so I open Mypanoname.SWF then I see that tooltips and flvplayer do work....

Any ideas?ї

I would like to sort this out as I have to produce final result and only have these two features missing!
Cheers

allSaints
12-12-2008, 11:13 AM
Hi africano,

are you sure that you have the right path to tooltips.flw and flvplayer.flw? Maybe you start your pano from another directory when you run the index file.

Tommy

africano
12-12-2008, 11:55 AM
Hi, yeah Im preety much sure the paths are correct....Actually now I can get the video to play....but it doesnt respond to the mouse. What I mean is, if I click on the video...It doesnt stop.....

Cant really see where the problem is or why its behaving like this...:confused:

EDIT: I get this error(think it might be the problem)SecurityError: Error #2121: Violaciуn de la seguridad Sandbox: LoaderInfo.loader: file:///C:/Documents and Settings/Admin/Escritorio/webdesigngoodies/A12/files/flvplayer.swf?file=../images/video2.flv no puede acceder a file:///C:/Documents and Settings/Admin/Escritorio/webdesigngoodies/A12/files/hotspots.swf. Una posible alternativa consiste en llamar a Security.allowDomain.
at flash.display::LoaderInfo/get loader()
at flvplayer_fla::MainTimeline/initHandler()
I think its saying that the video cant access the hotspot.swf file.
How can I change the permissions to get rid of these security problems!

allSaints
12-12-2008, 01:29 PM
Have you set the allowScriptAccess parameter?

I'm not sure how you embed your pano in your webpage, but I use SWFobject and I include the parameter:

so.addParam("allowScriptAccess","sameDomain");

A useful link: http://www.adobe.com/devnet/flash/articles/fplayer8_security_09.html

Tommy

africano
12-12-2008, 03:41 PM
Thankyou for your responses allSaints, I do use so.addParam("allowScriptAccess","sameDomain");

But I was still having the problem....I went to Flash Security Settings Manager and allowed acces to the folder where All my files were and its worked.

My video now plays and I can click to start and stop it.

Im going to try Tooltips now, Although Autorotator isnt working for me...

this is my code and I also declare it in the parameters:

<autorotator>
speed = 0.2
interval = 30
pause = 2000
quality = low
</autorotator>

nidrig
12-12-2008, 04:32 PM
hi,

Just my two cents..

How are you testing your tour?

Locally?

From what I see in your error log, you're launching your tour from a directory, without a webserver. I am correct?

If so, the security error is normal.

Either test your tour online or use a webserver (wamp for instance) on your local machine.

cu

africano
12-12-2008, 05:05 PM
Hi Nidrig, thanks. Yes I was testing everything locally with no webserver.
Now Im a bit concerned...To fix my error messages as I mentioned I went to flash security manager page online and allowed access to my folder(locally stored on my pc). From then on I have no more security errors.

Is this an unwise thing to do?ї

phberlin
12-13-2008, 10:47 AM
Hi Nidrig, thanks. Yes I was testing everything locally with no webserver.

Hi africano,

you might use a local server solution like XAMPP (http://www.apachefriends.org/en/xampp.html) or something similar. It gives you a "web server" as localhost, so you can test everything locally like it would be when put online.

Regards, Philipp