Scrolling through movie clip inside mask - image

I am using Flash CS5 and trying to make a movie clip scrollable inside a rectangle mask.
I have tried different codes but it doesn't seem to assume the movieclip as the scrollable area and the rectangle as the mask.
I'm very new to this, there is probably an obvious solution.
Please help!

The link http://www.kirupa.com/developer/flash8/scrollbar.htm has a tutorial for scroll movieclip. I thing this tutorial will help you.

Related

animate rotation button on wp7

Hello, I'm trying to create a rotation animation on a button between 2 images one for the and another for the front, just like what's happening in tiles.
Any ideas please?
thanks
Very similar to this thread. Check out Tile Slider or Hub Tiles. Alternatively, you could create your own animations.

Zooming NSScrollView like Preview.app

I want to implement zoom that works like an image opened in Preview.app, that does the same when zooming out and in. I have tried different ways but can't get it 100% correct, I have tried Apple's IKImageViewDemo but it doesn't work like Preview. Does someone know about a tutorial, example or something that could help?
You have to create an NSImageView that's the size of the image and center it. Then scroll and zoom that.

save current view to bitmap WP7

I just started to WP7 Dev, and I would like a bit of help on solving this:
I have a Canvas in wich I have 2 StackPanels where I draw like 10 Rectangle. So my question is, how do I save the canvas to a Bitmap?
here is what I want to achieve, that from this:
I get this:
Any help that points me in the right direction would be much appreciated.
What you want to do is to create a WriteableBitmap and then call it's Render method with the UIElement you want to render to it.

How to make UIImage rounded,Not rounded corner

Draw a circle,make a rounded UIImageView in it.How to get this, please guide me.
thx!
Let's put it this way,
First we create a UIImageView to the size of the circle you want.Let's say you want this image to be a circular image,
http://united4iran.org/wp-content/uploads/2010/11/cell-phone-in-canada.jpg
Then you create another UIImageView one top of the previous one to the size of 320x480 and set this image to it (Assume this image size is 320x480),
Note: also remember that inner area of the circle in above image is transparent.
Then you should get a image like this,
http://img580.imageshack.us/img580/782/testjkn.png
Hope this will help you.

Blurry NSImageView

I have an NSImageView in a view that utilizes Core Animation. Prior to using Core Animation the image looks fine but now its blurry and low quality. If I let NSImageView have a bezel border the issue goes away but I need it to have no border. Had this happened to anyone else?
Imgae in the background with no border, same image in the front with a border.
Thanks
EDIT: I forgot to mention that the image is an icon file (ICNS) so it has various sizes. The bordered view loads the correct size and the transparent one loads the smallest and stretches it.
Although not the way I wanted to, I managed to create a fix for the issue. The issue seemed to be the way that NSImageView was drawing the image so I created a custom NSView subclass with support for the same bindings I used in my original image view. Im not sure why the blurry-ness happend in the beginning, but drawing the image by hand in an NSView seems to do the trick.
Your image may be drawing in a non-pixel-aligned way. Have you tried shifting it by a half pixel?
Apple has a good demonstration of this in the BlurryView app in their "Cocoa Tips and Tricks" sample code.
Cocoa Tips and Tricks

Resources