Showing posts with label Flash. Show all posts
Showing posts with label Flash. Show all posts

Tuesday, July 13, 2010

Scrolling ViewStack Contents

I ran into an interesting issue with a Flex app today as I couldn't constrain the contents of a viewstack properly. I ultimately wanted a scrollbar to appear if it's contents were larger than what the parent would allow. To enable this properly, the children all had height of 100%, the viewstack had a height of 100%, and the key setting was to give a minHeight of 50 or something small to the viewstack itself.

I also tried using resizeToContent which is great, but it still wouldn't allow the viewstack to get very short until I put the minHeight in.

Friday, March 09, 2007

Animator vs Animation

A friend of mine just passed me the following YouTube video. It's a great example of someone who is extremely talented and creative with Flash. It's worth a watch.

Enjoy!

Tuesday, December 19, 2006

More on Flash Activation

Continuing with my last post, SWFObject is another script that can be used to automatically activate a flash movie. I prefer this as it's a bit more flexible when dealing with menus that can hover above flash movies.

http://blog.deconcept.com/swfobject/

Activating Flex Apps and Flash Movies

It amazes me how many flex and flash apps that I run into that don't account for the ActiveX Activation Issue in IE. To prevent making a user click on the flash movie to activate it, and then interact with it, you can include a simple JavaScript file to automatically activate all flash movies upon load.

Learn more and download the necessary files from http://www.sitepoint.com/article/activex-activation-issue-ie. Then go ahead and add the following line to your application:

<script type="text/javascript" src="objectSwap.js"> </script>