PDA

View Full Version : openFullscreen plugin in embedded?


Kallikanzaros
05-13-2007, 09:35 PM
The subject tells it all; the openfullscreen plugin doesnt seem to work when the panorama is embedded. Is it simply not working, or is it some special code i have to write?
no dealbreaker, since it was just something i wanted to try, but it would be cool if i could get it to work.

cheers
and thanks again for a great application!

Denis
05-14-2007, 10:46 AM
Yes. You are right. It places buttons depends on stage size.
Try fixed version (it uses Area size instead of stage): http://flashpanoramas.com/player/test/openFullscreen.zip

Kallikanzaros
05-14-2007, 02:18 PM
thanks for the quick reply!
but unfortunately it doesn't work. it doesnt turn up when embedded.

This is my xml-code:
<?xml version = '1.0'?>
<panorama>
<parameters>
loaderBackColor=#cccccc
loaderTextColor=#FFFFFF
layer_1 = loadMeter.swf


qualityMotion=high
qualityStatic=best
sensitivity=60
keySensitivity=60
zoomMax=0.45
zoomMin=1
disableWheel=1
layer_2 = borders.swf
layer_3 = openFullscreen.swf
</parameters>
<borders>
pan_min = ""
pan_max = ""
tilt_min = -14
tilt_max = 14
</borders>
</panorama>


and this is my AS3 code:
var panorama:MovieClip;
var loader:Loader = new Loader();

loader.load(new URLRequest("p1k.swf"));
addChild(loader);

loader.contentLoaderInfo.addEventListener(Event.CO MPLETE, loadComplete);

function loadComplete(e:Event) {
panorama = loader.content;
panorama.setArea(107,85,450,300);
panorama.loadPanorama("p1k.swf?xml_file=p1k.xml");
}

Kallikanzaros
05-14-2007, 05:25 PM
nevermind, it was just in Flash it didnt work. in flashplayer and safari the fullscreenoption was present.
thanks again.