sun in tur

Specific Q&A about the new Flash export
Locked
natdem
Posts: 4
Joined: Sat Aug 09, 2008 7:42 am

sun in tur

Post by natdem » Mon Aug 25, 2008 3:49 am

Good afternoon! Prompt as to make effect of the sun as. http://flashpanoramas.com/blog/2007/11/ ... are-plugin / # more-43. I try here so

Code: Select all

var vr:MovieClip =_root.createEmptyMovieClip("vr", 500);
//задать расположение
vr._x = 200;
vr._y =50;
vr._lockroot = true;
function loadPanorama() {
   var myLoader = new MovieClipLoader();
   var myListener = new Object();
   myListener.onLoadStart = function() {
	 vr.pan =-44;
vr.radiance="0,3";
  vr.tilt=45;
  vr.blendmode="lighten";
  vr.scaleable="0";  
vr.align="LT";
vr.buttonMode="0";

   };

   // add the Listener 
   myLoader.addListener(myListener);
myLoader.loadClip("lensFlare.swf", vr);
vr_full.pano.addHotspot('p2q',-730,5,vr);
hotspots.push(vr);
_root.onEnterFrame=function() {
	vr._x=200;
	vr._y=50;
	}
 }
 
var vr_full:MovieClip = _root.createEmptyMovieClip("vr_full", 400);

function loadFullscreen() {
   //vr_full._lockroot = true;
   // Create a Movieclip loader
   var myLoader_full = new MovieClipLoader();
   var myListener_full = new Object();

   //create Listener--------------------------------------------
   myListener_full.onLoadStart = function() {
      // Set the dimentions and position of the pano
      vr_full.window_width = 600;
      vr_full.window_height = 400;
      vr_full.window_x = 0;
      vr_full.window_y =0;
      // change autorotation  
      vr_full.autorotate =1,2;
      vr_full.autorotate_delay = 30;
      vr_full.pan = 60;
   };
   myListener_full.onLoadProgress = function() {
   };
   myListener_full.onLoadComplete = function() {
   };
   myListener_full.onLoadInit = function() {
   };
   // add the Listener 
   myLoader_full.addListener(myListener_full);

   // ... and finally load the pano!
   myLoader_full.loadClip("new.swf", vr_full);
}
loadFullscreen();
loadPanorama();
lensFlare.swf rotate together with a panorama. How to make that swf a sun file remained on one place?Thanks

User avatar
thomas
Chief Gnome
Posts: 2537
Joined: Fri Sep 01, 2006 3:56 pm
Location: Vienna, Austria
Contact:

Re: sun in tur

Post by thomas » Mon Aug 25, 2008 11:52 pm

What exactly do you mean by that?
MfG, Thomas

natdem
Posts: 4
Joined: Sat Aug 09, 2008 7:42 am

Re: sun in tur

Post by natdem » Tue Aug 26, 2008 3:00 am

Whether it is possible to make such effect using actionScript2 code http://flashpanoramas.com/blog/2007/11/ ... re-plugin/?
How to make hotspot from swf a file?
Thanks :D

Locked

Who is online

Users browsing this forum: No registered users and 3 guests