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.

1481 downloads, 26339 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

show all 13 comments