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.

mds

Intermediate

  • "mds" started this thread

Posts: 152

Location: Athens, GA

Occupation: Designer

  • Send private message

1

Friday, February 4th 2011, 9:46pm

Plugin Scale Problem

Hi all,

I'm working to migrate my thumbnail scroller as3 interface into a plugin. I've got everything working minus one part. The mask for the thumbs which needs to scale to equal screenwidth works fine when testing in flash but doesn't work properly when used as a plugin. *the pink bar represents the mask

Testing in flash scales properly to 100%


Testing as a plugin in krpano stops it from properly scaling



I'm using it like this:

Source code

1
2
3
4
5
6
<plugin name="gallery"
	        url="assets/gallery.swf"
	        keep="true"
	        align="leftbottom"
	        visible="true"
	        />


Any ideas?
*huh*
Say "Hi!" on twitter

VN2011

Professional

Posts: 1,336

Location: Duluth MN

  • Send private message

2

Friday, February 4th 2011, 10:28pm

maybe you need to add a little more code as a plugin?

add edge="leftbottom" and width="100%"

just a thought

mds

Intermediate

  • "mds" started this thread

Posts: 152

Location: Athens, GA

Occupation: Designer

  • Send private message

3

Friday, February 4th 2011, 10:30pm

add edge="leftbottom" and width="100%"


if I add width="100%" everything gets scaled including the thumbnails and the bg pattern. For some reason it's not detecting the browser resize when it's used as a plugin ...
Say "Hi!" on twitter

mds

Intermediate

  • "mds" started this thread

Posts: 152

Location: Athens, GA

Occupation: Designer

  • Send private message

4

Sunday, February 6th 2011, 4:40am

To make matters worse, I realized that my plugin gallery is overriding the xml programmed loader. Maybe the scale and the loader issue have to do with plugin registration?

XML

Source code

1
2
3
4
<progress showload="none"
        showwait="loopings(0xffffff,8,8,10,0,0xffffff,2,0.5,0.5)"     
        showreloads="false"
        />



AS3

Source code

1
2
krpano.set("progress.showload","none");
krpano.set("progress.showwait","none");
Say "Hi!" on twitter

mds

Intermediate

  • "mds" started this thread

Posts: 152

Location: Athens, GA

Occupation: Designer

  • Send private message

5

Sunday, February 6th 2011, 6:02am

Ok I fixed it! Turns out that I had some weird bug in my gallery AS3 code and I was looking in the wrong places for an answer! *w00t*

BUT ... my gallery plugin is still overriding my loader set in XML .... perhaps I'll post a new thread.
Say "Hi!" on twitter

Similar threads