View Full Version : loading pano.swf in other swf
jeremix
01-04-2007, 12:22 PM
Hi,
I haven't purshased yet your flash panorama because i'm not shure that it's exactly what i'm looking for. I need precisions.
Is it possible to load your pano.swf with a simple loadMovie in an empty movie clip of another swf ?
Do you plan to work on an mxp package for flash to use your panorama as a flash component ?
Thanks,
Jeremix
Denis
01-04-2007, 08:00 PM
Yes, it's possible to load the player inside another swf movie or site but only AS3 movie can load other AS3 movie.
Yes, I have an idea to create Component v.3 version of the player for Flash CS3 especially for Flash developers.
mathew.er
01-30-2007, 08:26 PM
Hello,
We've just purchased this panorama player and I have some problems loading the panorama application .swf file into another SWF. I tried both Flex and Flash 9 alpha and it doesn't work. I've been trying to load it with flash.display.Loader and mx.controls.SWFLoader classes.
It throws an exception saying:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at PanoMain$iinit()
The swf I'm loading works fine by itself.
All the code I'm using looks like:
import flash.display.*;
import flash.net.URLRequest;
var l : Loader = new Loader ();
l.load ( new URLRequest ( 'assets/image.swf' ) );
this.addChild ( l );
Am I missing something? Is there a problem in me, my configuration or the panorama player?
Any help would be highly appreciated. Thanks,
Matthew :)
Denis
02-01-2007, 09:15 PM
Yes. This is a problem. Next version can be loaded for sure, I will give you a source example.
Blake
02-02-2007, 10:39 PM
I believe I'm having similar issues - I'd like to have an entirely flash website - and to be able to call a pano (and subsequent virtual tour via hotspots) display it (with the option to fullscreen) from within my current full-browser-flash website.
Low Resolution - sample site: www.nwpropertyphotos.com/SHM/index.html
It's a master.swa that calls main_menu.swf which then calls specific swf's for each menu item... I'd like to add a menu item for "Virtual Tour".... and show a starting pano with a "load" and then "open" button on it similar to the two that are located at the bottom of this page: http://flashpanoramas.com/player/
Any suggestions?
Thanks, Blake.
PS - This is a truly excellent product BTW - I just need to learn how to correctly implement it!
Denis
02-03-2007, 11:23 AM
Example at http://flashpanoramas.com/player/ dosn't load the player inside, it reload the Flash movie completely: loadMovieNum(0,...);
You can see the source of this file in the plugin folder of your Flash Panorama Player package (preview_pano.fla).
cweems
03-28-2007, 11:22 PM
Yes. This is a problem. Next version can be loaded for sure, I will give you a source example.
In version 2, I see no way yet to load pano.swf into another .swf file. I did see in the new features (on blog page http://flashpanoramas.com/blog/) that #7 has also listed this Panorama player inside other Flash movie (with file source). Have I overlooked something, or is there any reference on how to do this?
Denis
03-29-2007, 03:01 PM
You can find this example and the source for it (Flash 9 Preview format) in examples folder of Flash Panorama Player package.
cweems
03-29-2007, 03:14 PM
You can find this example and the source for it (Flash 9 Preview format) in examples folder of Flash Panorama Player package.
Hi Denis,
I believe my Examples Folder may be incomplete. I only have one other file in another folder:
examples/files/pano.swf
Is that it?
Canny
Denis
03-29-2007, 03:20 PM
No. This is FPP_up_to_v2.0.1_.zip but you need FPP_v2.0_.zip (about 2mb).
Contact me at flashpanoramas@gmail.com if you did't get it.
cweems
03-29-2007, 03:52 PM
No. This is FPP_up_to_v2.0.1_.zip but you need FPP_v2.0_.zip (about 2mb).
Contact me at flashpanoramas@gmail.com if you did't get it.
Denis,
OK, I did get that. Somehow I got a bit confused on the update that was sent to me shortly after that. I must have overwritten some files upon recieving the update, but I have restored things from the FPP_v2.0 zip file.
I am still a bit confused then on what to update?
Canny
Denis
03-30-2007, 04:29 AM
Denis,
OK, I did get that. Somehow I got a bit confused on the update that was sent to me shortly after that. I must have overwritten some files upon recieving the update, but I have restored things from the FPP_v2.0 zip file.
I am still a bit confused then on what to update?
Canny
Yea, it was shortly, so it was a quick bug fix. :)
The instruction is simple:
1. Unzip all files from FPP_v2.0_.zip in some folder
2. Then unzip FPP_up_to_v2.0.1_.zip to the same folder, this will rewrite 4 files.
panoramat
09-04-2007, 12:25 PM
Hi denis,
I actually have problems loading fp swf into my existing swf.
I ve been looking at embedPano.fla.
For instance when i simply paste all the images and code of embedPano.fla
into a test.fla when i publish that test.fla into swf i get :
"1118: Implicit coercion of a value with static type flash.display:
DisplayObject to a possibly unrelated flash.display : MovieClip"
Any idea ?
Is there an easier way (less code) to load my flash panam into my swf ?
THANKS !
Hi Matthew,
If you are still looking for a Flex
solution, have a look at this post:
http://flashpanoramas.com/forum/showpost.php?p=3144&postcount=10
Maybe this helps you out a bit!
Regards,
masu
Hello,
We've just purchased this panorama player and I have some problems loading the panorama application .swf file into another SWF. I tried both Flex and Flash 9 alpha and it doesn't work. I've been trying to load it with flash.display.Loader and mx.controls.SWFLoader classes.
It throws an exception saying:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at PanoMain$iinit()
The swf I'm loading works fine by itself.
All the code I'm using looks like:
import flash.display.*;
import flash.net.URLRequest;
var l : Loader = new Loader ();
l.load ( new URLRequest ( 'assets/image.swf' ) );
this.addChild ( l );
Am I missing something? Is there a problem in me, my configuration or the panorama player?
Any help would be highly appreciated. Thanks,
Matthew :)
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.