Include flash file in HTML

Before few days I have a requirement to include flash file in my html code.

To fulfill my requirement I have used html embed tag as under:


<object width="550" height="400">

<param name="movie" value="MyFlahFileName.swf">

<embed src="MyFlahFileName.swf" width="550" height="400">

</embed>

</object>

 

Now to use the above example one should have to put proper path of their flash file at “MyFlahFileName.swf”.

Hope this will help you.

Advertisements

How To Insert the Tween Shape In Flash?

“In the timeline window, select any frame from 2-24 with left-click. In the properties window you can now see an option to tween which is currently set to none and from choose Shape from the tween drop down selector.Now insert another KeyFrame at frame 26. Left Click any frame from 27-49 & then select the Shape Tween from the Properties window.

Be sure that you follow the instructions up to this point exaclty is you have a dotted line, rather than a solid line in your Timeline window.”

Importing a layered Photoshop file (.PSD) into Flash CS3

Here, you can look at how Flash handles layered Photoshop files (PSD). I will show you all the process step by step to import PSD into Flash CS3.

First you have to examine as image in Photoshop and check some preferences, and then you can import the PSD file into Flash.

First we see that how to set preferences in Flash CS3.

1)      Open Flash -> Add New file (Action Script 3 or 2)

2)      Now, Edit menu, click on Preferences or Ctrl + U

3)      In Preferences Pop up window, Click PSD file Importer so here you can customize your option when you import PSD file, finally click OK


Now we see the steps for importing PSD file

1)      Select file menu, click on import and select Import to Stage or press Ctrl+R

It open pop window for importing PSD file, select your PSD file path to import.

After selecting path, your layered psd file import layers by layers

You can see all layers of your PSD. When you are importing, you have to insert instance name for your layers for future use, and last click on OK.

So now you can see in flash, PSD image should be arranged with layers by layers.

How to import images in Adobe Flash CS3?

We can import different image files in flash like .jpg and .gif. Most of these files are bitmap images and they have large size.

Whatever we are drawing in flash are vector images. Vector images are smaller in size and they can be enlarged without losing quality.

While bitmap images will stretched when enlarged.

In Adobe Flash CS3 we can import the image from File Menu -> Import -> Import to Stage / Import Library option.