You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Shanti

Intermediate

  • "Shanti" started this thread

Posts: 301

Location: Puerto Vallarta

Occupation: Web Developer

  • Send private message

1

Thursday, January 22nd 2009, 10:59am

Scrolling Thumbnails

Has anyone been able to create a scrolling thumbnails plugin?

I was trying to modify this one for Krpano, but i failed miserably.

Simple ActionScript 3 XML Gallery
http://www.blog.noponies.com/archives/16

or does anyone have any idea how to call a pano from a plugin ? that way I can modify the code, I tried just adding


loadpano(null,pano,KEEPALL,BLEND(1));

where pano is a variable containing "qtvr=test.mov"

but i got this error
1180: Call to a possibly undefined method loadpano.
1120: Access of undefined property KEEPALL.
1180: Call to a possibly undefined method BLEND.

any help would be greatly appreciated :)

2

Thursday, January 22nd 2009, 3:47pm

Hi,

in the plugin, you must get the a interface to krpano and then call loadpano
in this way:

krpano.call("loadpano(null," + pano +"KEEPALL,BLEND(1));");

also have a look at the .as Actionscript3 source files from the plugins,
for more details

best regards,
Klaus

Shanti

Intermediate

  • "Shanti" started this thread

Posts: 301

Location: Puerto Vallarta

Occupation: Web Developer

  • Send private message

3

Friday, January 23rd 2009, 7:28am

Well Thanks Klaus, that fixeds that part.



but I give up, after 2 nights trying to figure this out, I could not make it work, ir works, when i run the swf file by itself, but once i embed it with krpano I get this error



TypeError: Error #1009: Cannot access a property or method of a null object reference.
at as3Thumbs_fla::MainTimeline/frame1()


and for the sake of me I cannot find where th problem is...



any ideas on how to debug this kind of problems?



Thanks

4

Friday, January 23rd 2009, 9:45am

Hi,

this looks for me, like a access to the Stage object somewhere
in the beginning of the plugin, note - it's takes some time
until a object is already on stage and can access it,

do you have a ADDED_TO_STAGE event ?

you should do that first, before doing any other,

best regards,
Klaus

Shanti

Intermediate

  • "Shanti" started this thread

Posts: 301

Location: Puerto Vallarta

Occupation: Web Developer

  • Send private message

5

Friday, January 23rd 2009, 7:04pm

I don't seem to have any of that... but



IT WORKS NOW :D



I removed EVERY piece of code that was not needed, and it works perfectly now :)



if anyone is interested I can post the code or the plugin :)



Thanks Klaus!



Shanti Gilbert

Graydon

Professional

Posts: 614

Location: Texas

Occupation: Industrial gas turbine services.

  • Send private message

6

Friday, January 23rd 2009, 10:32pm

I'd be very interested in seeing an example... and trying the plugin. : )

7

Saturday, January 24th 2009, 4:07pm

Yes thanks a lot interresting too *thumbsup*

Shanti

Intermediate

  • "Shanti" started this thread

Posts: 301

Location: Puerto Vallarta

Occupation: Web Developer

  • Send private message

8

Sunday, January 25th 2009, 8:33am

Ok guys here is the example.

http://www.vallartarestaurants.com/panoramas/krgm/m.php

its in NO way finished, but it works :)

I will make a zip and upload it, I a bit worried that the guy who wrote might get mad because i borrowed hes code, but i will include everything he has in the zip as well as a link to where the original was taken from, I am also going to email him and ask for permission, that way maybe Klaus can put it here to download as a plug in :)

9

Sunday, January 25th 2009, 3:25pm

Wahou great !!

it's work well

thanx

Shanti

Intermediate

  • "Shanti" started this thread

Posts: 301

Location: Puerto Vallarta

Occupation: Web Developer

  • Send private message

10

Wednesday, February 4th 2009, 7:28am

guys, sorry I have had no reply from the creator of the original plugin, that's why I have not uploaded it yet, but what do you guys think?

create a zip file with all the files (original and modified) and upload it? or wait more for a reply?

11

Wednesday, February 4th 2009, 2:59pm

I think you have to wait for reply

With many work we finish to make one with xml (thanks a lot to Mael.B)

Here in action

12

Wednesday, February 18th 2009, 1:43pm

news

any news on the scrolling thumbnails plugin?

Shanti

Intermediate

  • "Shanti" started this thread

Posts: 301

Location: Puerto Vallarta

Occupation: Web Developer

  • Send private message

13

Thursday, February 19th 2009, 10:05am

sent the guy another email, i guess if he says no, I can always post the code changes and you download the code from hes website.

:) but hopefully he will say yes it will be much easier :)

job.1 that's nice, but I don't know if its me... or the plug in behaves weird, the thumbs move to wherever they want.

the one I adapted moves really nice and smooth (I think)

14

Thursday, February 19th 2009, 1:36pm

website

could you tell me his website. Its probably over my head to do the changes but i would like to look

Thanks
Chris Blake

Shanti

Intermediate

  • "Shanti" started this thread

Posts: 301

Location: Puerto Vallarta

Occupation: Web Developer

  • Send private message

15

Thursday, February 19th 2009, 7:31pm

Good news! I got a reply and he said we can use it!

let me create a little zip file with all the necessary files and i will upload it :)

This post has been edited 1 times, last edit by "Shanti" (Feb 19th 2009, 9:24pm)


machart

Trainee

Posts: 135

Location: Ostfriesland

  • Send private message

16

Thursday, February 19th 2009, 8:13pm

hey, shanti, great news.... *thumbsup*
__close to the rainbow__
_D300S|Sunwayfoto|iMaci7|PM|APP|KRP_
www.panographie.net

Shanti

Intermediate

  • "Shanti" started this thread

Posts: 301

Location: Puerto Vallarta

Occupation: Web Developer

  • Send private message

17

Thursday, February 19th 2009, 11:06pm

ok, here it is! *thumbsup* I commented the source as much as I could *whistling* and please read the included readme.txt


http://rapidshare.com/files/200136633/as3Thumbsforkrpano.rar

all I ask is please no mirrors to this file, download it from there as many times as you need, don't re-upload *cool*


Thanks
Shanti Gilbert

18

Thursday, February 19th 2009, 11:15pm

thanks

alot of people will find that usefull. i will download when i get home. i still have to get my license to krpano

Graydon

Professional

Posts: 614

Location: Texas

Occupation: Industrial gas turbine services.

  • Send private message

19

Thursday, February 19th 2009, 11:50pm

how do you "unzip" a .rar file?

Or, more specifically, which free utility program should I look for online (Win Vista user here).

Shanti

Intermediate

  • "Shanti" started this thread

Posts: 301

Location: Puerto Vallarta

Occupation: Web Developer

  • Send private message