Groups | Blog | Home
all groups > flash (macromedia) > march 2004 >

flash (macromedia) : Image Flipping


Obtruse_Man4
3/2/2004 11:06:06 PM
How do I create the same effect in Flash that this line of code produeces?

<a href="welcome.html"
onMouseOver="document.banner.src='Images/home_banner.jpg'"
onMouseOut="document.banner.src='Images/title.jpg'"><img
src="Images/home.jpg" border=0 name="home"></a>

Simpy when the mouse cursor is put over a link an image located somewhere else
on the page changes. I've seen it done in flash, is it simple? Thanks
Obtruse_Man4
3/3/2004 12:28:26 AM
urami_
3/3/2004 7:24:03 AM

[quoted text, click to view]

Help - Lessons - look for button information




Regards


urami_*

<hol>
http://flashfugitive.com/
</hol>

Laiverd.COM
3/3/2004 10:23:17 AM
Straight from the manual. How hard can it be?

Creating buttons
Buttons are actually four-frame interactive movie clips. When you select the
button behavior for a symbol, Flash creates a Timeline with four frames. The
first three frames display the button's three possible states; the fourth
frame defines the active area of the button. The Timeline doesn't actually
play; it simply reacts to pointer movement and actions by jumping to the
appropriate frame.

To make a button interactive, you place an instance of the button symbol on
the Stage and assign actions to the instance. You must assign the actions to
the instance of the button in the document, not to frames in the button's
Timeline.

Each frame in the Timeline of a button symbol has a specific function:

a.. The first frame is the Up state, representing the button whenever the
pointer is not over the button.
b.. The second frame is the Over state, representing the button's
appearance when the pointer is over the button.
c.. The third frame is the Down state, representing the button's
appearance as it is clicked.
d.. The fourth frame is the Hit state, defining the area that responds to
the mouse click. This area is invisible in the SFW file.
You can also create buttons using the ActionScript MovieClip object. See
MovieClip class. You can add buttons to your document using button
components. For more information on the PushButton and RadioButton
components, see Button component.

For a lesson on creating buttons with ActionScript, select Help > How Do I >
Quick Tasks > Write Scripts with ActionScript.


--
----------------------------------------------------------------------------
-----------
RESOURCES
http://groups.google.com/advanced_group_search?hl=en&as_ugroup=*flash
----------------------------------------------------------------------------
-----------
TUTORIALS at
www.laiverd.com
Flash & PHP Emailform
Using textfiles in Flash
----------------------------------------------------------------------------
-----------
[quoted text, click to view]
you please be more specific or does someone else know how to do this?

AddThis Social Bookmark Button