Sie sind nicht angemeldet.

Suchergebnisse

Suchergebnisse 1-10 von insgesamt 10.

Mittwoch, 14. Oktober 2009, 02:50

Forenbeitrag von: »nmakarov«

[solved] Making .swf hotspots by hand?

In order to save my hair (whatever is left, at least), I spend last two hours in research and finally found the solution. Klaus, there was no need to center the image! The problem was with the canvas size. By default it was something like 800x600, so my circle was in the upper left corner. That's why it moved sideways if I looked straight at the circle. The only line I needed to include in my .as file is Quellcode 1 [SWF(width="50", height="50")] immediately before the class declaration.

Mittwoch, 14. Oktober 2009, 00:27

Forenbeitrag von: »nmakarov«

[solved] Making .swf hotspots by hand?

Zitat von »Jarredja« Have you cleared your browser cache after each attempt? Yes, I did. I even created a new .as hotspot (just in to be sure), compiled it and everything. The same flying dutchman effect. Help!!! Just give me a complete .as example and I will stop crying.

Mittwoch, 14. Oktober 2009, 00:11

Forenbeitrag von: »nmakarov«

[solved] Making .swf hotspots by hand?

Still doesn't work... Here's the full code: Quellcode 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 package { import flash.display.Sprite; public class Circle extends Sprite { public function Circle() { init(); } private function init():void { graphics.beginFill(0xff0000); graphics.drawEllipse(0,0,50,50); graphics.endFill(); this.x = -this.width / 2.0; this.y = -this.height / 2.0; } } } I have even combined both tecniques... Still the same effect... Klaus, can you post here a full .as example (as simple a...

Samstag, 10. Oktober 2009, 00:53

Forenbeitrag von: »nmakarov«

[solved] Making .swf hotspots by hand?

if I set zoom="true", it stays at the spot on zoom. Cool. But I do not want my hotspots to be zoomable. When I open the .swf in a browser, it is not centered, so you're right. But I do not know how to place it in the center...

Freitag, 9. Oktober 2009, 23:18

Forenbeitrag von: »nmakarov«

[solved] Making .swf hotspots by hand?

Hello, I am trying to make an .swf hotspots. If I do it in Adobe Flash CS3 and export to .sfw, everything works as expected. But if I try creating a hotspot .swf from scratch, I have a very odd behavior. Here's how I am doing it: 1. I have a Test.as file: Quellcode 1 2 3 4 5 6 7 8 9 10 11 12 13 package { import flash.display.Sprite; public class Test extends Sprite { public function Test() { init(); } private function init():void { graphics.beginFill(0xff0000); graphics.drawEllipse(50,50,50,50);...

Sonntag, 4. Oktober 2009, 10:20

Forenbeitrag von: »nmakarov«

How do I know if panorama is fully loaded and ready to use from javascript?

I can use things like krpano().call(...) assigned to some HTML buttons and it works perfectly. But if I try it from window.onload, I have a javascript error:krpano().call is not a function. I could have used a few seconds delay before calling krpano() functions, but it is not really cool. Any ideas how can I check whenever krpanoSWFObject is ready to manipulate without causing javascript errors?

Sonntag, 4. Oktober 2009, 08:22

Forenbeitrag von: »nmakarov«

"preload" parameter doesn't work for me

I am trying to activate a predefined spot on googlemaps from "onstart" action this way: Quellcode 1 2 3 4 5 6 7 8 <krpano version="1.0.8" onstart="action(onstart_krpano);"> <action name="onstart_krpano"> plugin[maps].activatespot(s1); </action> <plugin name="maps" preload="true" url="%SWFPATH%/plugins/googlemaps.swf" ... And I have the following error: WARNING: unknown action command: plugin[maps].activatespot I deduced that a 'googlemaps' plugin is not loaded (yet) despite that "preload" parame...

Montag, 28. September 2009, 23:47

Forenbeitrag von: »nmakarov«

Security Error - googlemaps.swf

Found the way to fix it. Oh, it was my bad. Just had to update the flash security settings for the folder :-)

Montag, 28. September 2009, 23:31

Forenbeitrag von: »nmakarov«

Security Error - googlemaps.swf

Trying the new 1.08 beta, googlemaps example doesn't work for me (got the above mentioned error). Just bought the plugin with source code, tried to replace the one .swf file with the one I've downloaded on the purchase page, still got the same error. What should I do?