alert This appears to be a flash file, you cannot see a preview because flash player is no longer supoorted in browsers, but you can still download the file to study it's source code.
You can open/play the swf file with Flash Player exe
user scriptonomy
scriptonomy (1)

PanBox Image Pan Component

PanBox is an image panning component. It is very easy to use and can be set to display any size image.

Just simply tell the component what size to use and which image to show. that's it.

1479 downloads, 26310 views

panbox pan


Download (461.43 KB)

Comments

You need to login to post a comment.

user winandhi
winandhi 13 years ago

Hello scriptonomy, what you've done is good, but how can i modify on pointing the pic till the edge, which file (AS) should i have to change.

When i placed my pic there i can not see the edge of the pic.

thanks...

user scriptonomy
the listing author scriptonomy 14 years ago

Sumeshsn2, I don't write in AS2 anymore.

user scriptonomy
the listing author scriptonomy 14 years ago

gringociclista, if you are new to flash nothing is really simple. Files here are meant for you to learn from, give you examples, and a jumpstart on certain projects. The net is a great place to learn all kind of stuff. Just google stuff like, AS3 flashvars. The basic idea here is to capture flashvars coming from the host html, then load the file as specified in flashvars, then pass the loader contents or the loader object itself to the PanBox component. It's really simple, but again nothing is simple when you are fresh to AS3 or Flash. Hint: LoaderInfo is where you need to pull the parameters from (flashvars), once you load the image file make sure its reference is accessible to other frames in the timeline.

user Sumeshsn2
Sumeshsn2 14 years ago

I'm new to action script.but this is good.I just wanna know that is it possible to do the same in as2.if possible pls let me show the as2 script...
thanks...

user gringociclista
gringociclista 14 years ago

I'm very new to Flash - maybe you can give me a few hints what I have to change in the .fla file to make it use flashVars? (gringociclista ( a t ) gmail.com) I know there are panorama players that create some kind of immersive effect - I don't like that however. The Panbox is great and does exactly what I want.
thanks for any help in advance,
Phil

user scriptonomy
the listing author scriptonomy 14 years ago

This file is not setup to use flashVars. However you can configure it to do so in a few steps (you have to edit the fla file). Another point is that this file is not really meant to view panoramas especially equirectangular ones. But you can still do so with some limitations.

user gringociclista
gringociclista 14 years ago

Is there a way to tell the Image Pan Component which image to use via FlashVars? I need to set the path for the image in the HTML file for a panorama foto gallery.
thanks, Phil

user gotDESIGN
gotDESIGN 14 years ago

nice

user scriptonomy
the listing author scriptonomy 14 years ago

bjarne_f, thanks for your excellent suggestion, but I already have a similar project in the works.

user ALEPREMIER
ALEPREMIER 14 years ago

good job, thanks

user bjarne_f
bjarne_f 14 years ago

Nice. Perhaps you could show the full image first and when you click on the image, it will go to zoom mode.

user scriptonomy
the listing author scriptonomy 14 years ago

Jorgerosa, you make a good point, let me know how you make use of it.

user jorgerosa
jorgerosa 14 years ago

This is a great effect, even its "simple", using it as an interactive game background could give an awesome result. Great work! :)