In this article I am going to discuss how you can use transparent PNGs in IE6 while also satisfying normal browsers; such as FIREFOX. Till recently it wasn't possible to use transparency on the web. Internet Explorer 6 lacks the ability to display these file types. Until IE7 becomes the standard web browser, designers still have to find a way help out these dying breed of internet users. So here we go.
In your CSS file you're going to create two classes. One class which is normal and the second which is prefixed with the title *html ( This prefix calls for IE6 bowers) which is followed by a space and the class name; (example: *html .classname). You may notice that the background color tag has a forward slash in between the word. This is on purpose and not by mistake. This bit of code will be bypassed by IE. Lastly you need to create a 1px by 1px clear gif that will be read in as the foreground image. Then in the filter tag, indicate where your PNG is located.
Take note that the height and the width of the div needs to be the exact height and width of the PNG otherwise the image will become distorted. Also this bit of code dose not work as a repeating background for PNG's, weird stuff happens.
Stop! Don't reach for that magic wand tool. The magic wand tool isn't very effective for complex shapes. There is an easier way to select a background from a complex shape. It's time to simply your life by using the "color range" tool. Select a layer and then choose from the menu.
Then click on the background of your image in the pop up menu. The area you want to extract will be white and the areas you want to keep will be dark. Adjust the fuzziness to get the proper edging.
I recently I found a way to select an individual layer inside a grouping in Photoshop CS2 without having to search the layers palette to select it. It's very easy and a HUGE help. This enables you to click on the image and it jumps to the appropriate section.
First, inside Photoshop CS2 press "V" button to select the selection tool.
Then right below, the file/edit/image/layer menu options you will see three check boxes.
The middle is grayed out. Put a checkmark in the first checkbox, which will make the second checkbox active.
Then uncheck the middle check box.
Then uncheck the first check box which you first selected.
All done! Now to click on any layers within any layer set or any grouping, by just "Ctrl & click"
on the image and it will jump to the appropriate layer. This is a tool I guaranteed you'll use.
I was one of the attendees from Colin's "ActionsScript 3.0 - From the Ground Up Tour" the conference coved a vast
area of object oriented programming in Flex. But surprising did not cover as much of the new ActionScript keywords
I was looking to hear. I was hoping to hear more about how ActionScript evolved from 2.0 to 3.0. I was eager to
hear about how development of ActionScript has improved. He did cover some new materials in which relates to classes
in external AS files and new import methods from separate media types. His main focus was converting beginners of
ActionScript to a strong background in object oriented programming with an emphasis on setting
"access-control modifiers"(public items VS private items). I did gain quite a bit of knowledge from his technique,
but on the other hand wish it gave a little more of overhead in the actual flash environment. One of the most useful
pieces of information bestowed was his overview of graphical application display. It gave a designer (like myself) a
chance to understand how flash renders the parent child relationship in the user interface of flash, including the new
addition of a sprite. Overall I enjoyed the conference, but it was way to much linear focus on building an application
and not enough new information on Flash's ActionScript 3.0.
Learning XML in Flash and trying to create Nodes for a designer can be come one of those things that drives you crazy. So I will keep this as simple as possible. I will give you a couple of different example of creating nodes. To start of, below is an image of how nodes are laid out.
Directly below is the written expression in XML of the picture above.
Think of an XML structure like a family tree. The "root node" being the monarchy of your family tree. Everything the family wants to do have to be passed through the top. (A) being your Root node. Walking down the structure (b) and (d) are the "firstchild" of the "root", now also consider that (b) and (d) are also siblings to one another. And looking down one more level (c) and (c2) are "firstchild.fistchild" to the root as well as "nextsiblings" to each other. This logic is the same for (e) and (e2). Understanding where you are from the top will help eliminate confusion. Here are two example of how you can walk down the structure in flash.
Or you can use this method
Setting up an XML document is fairly basic. Use the code below and rename your function and your directory structure.
More and more, today's actionScript animation is necessary due to either keeping file size low or creating a site that's truly interactive. I have been going through several tutorials and finally found an Undocumented Class that Flash MX 2004 built into actionScript. It's called Tween/Easing Classes.
What it does is allow you to set the beginning and end X or Y positioning of a movie clip and set the amount of time you want to do this in. The most interesting features about easing class are that it has several features such as bounce effect, elastic effect, and ease in and ease out effects. This code seems to work most accurately at 25 frames per second and is fairly straight forward. To use this code place it on the main timeline in the first key frame and switch out the movie clips names.
The code below allows you to change out the types of tween you can use by replacing the words after
mx.transitions. with one of the choices below.
Bounce.easeOut,
Bounce.easeIn,
Bounce.easeInOut,
Back.easeOut,
Back.easeIn,
Back.easeInOut,
Strong.easeOut,
Strong.easeIn,
Stong.easeInOut,
Elastic.easeOut,
Elastic.easeIn,
Elastic.easeInOut,
Regular.easeOut,
Regular.easeIn,
Regular.easeInOut,
None.easeNone,
In some of the interactive websites you see now days, you will notice a thing called "reaction scrolling". It is a unique tool that has evolved in the last few years. It allows the designer to import an image into Flash which is longer than the stages dimensions. Based on mouse movement and positioning on the X or Y coordinates you can create the illusion of 3D environment. Allowing the user to feel like he can look left and right of the screen and not confined to one visual space. Using this technique with the proper zoom in and out can become very interesting.
Now I search several tutorials and found that most reaction scrolling is fairly complex, and has a lot of unnecessary attributes. So I took on the task of creating one myself.
To get this work you need to: