I am using AS3 to load my panorama swf into Flash. Everything works great, except when I reposition the swf from 0,0 the control buttons don't move.
Has anyone encountered this problem before? And is there some way to fix it?
Thanks!
AS3: Controls buttonns dont move when I reposition panorama
-
- Posts: 4
- Joined: Tue Oct 05, 2010 6:32 pm
I figured out what the problem was. The code I was using was simply moving the panorama itself and not the whole movieclip.
So I fixed it by changing the original line of code from vr.pano.setWindowSize(256,180) to:
vr.x = 256;
vr.y = 180;
Worked perfectly!
Hope this can help someone else with the same problem.
So I fixed it by changing the original line of code from vr.pano.setWindowSize(256,180) to:
vr.x = 256;
vr.y = 180;
Worked perfectly!
Hope this can help someone else with the same problem.
- Hopki
- Gnome
- Posts: 13005
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Cool, thank you.
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/