How Do You Mask A Dynamically Sized Scrollview In Corona?

How do you mask a dynamically sized scrollView in corona??

It looks like it wants me to make one that is exactly the size of the view (+8,8) but I wrote the code to scale based on the platforms screen res.

Any ideas?

Thanks,

Gullie

The scroll view mask is passed into the widget at creation time.  You cannot dynamically change it.

Yeah, I am not changing it once the window is generated, only upon creation. IE, some percent of the display.contentWidth / Height when the scrollView is initially created.

Ideas?

This post is really lucrative for every information seeker and person who is willing to put their efforts for better updates.

The scroll view mask is passed into the widget at creation time.  You cannot dynamically change it.

Yeah, I am not changing it once the window is generated, only upon creation. IE, some percent of the display.contentWidth / Height when the scrollView is initially created.

Ideas?

This post is really lucrative for every information seeker and person who is willing to put their efforts for better updates.

I’m stuck at the same point atm. I try to create a display.newRect of the correct size, display.save it to the TempDir and load the maskFile on from there on the creation of the scrollView.

But for some reason the mask-File-argument isn’t working? It’s size is 360x496.

In the code exchange there’s a crop class that uses dynamically created mask maybe that will help

I’m stuck at the same point atm. I try to create a display.newRect of the correct size, display.save it to the TempDir and load the maskFile on from there on the creation of the scrollView.

But for some reason the mask-File-argument isn’t working? It’s size is 360x496.

In the code exchange there’s a crop class that uses dynamically created mask maybe that will help