Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
ADOBE FLASH: Adobe Flash ForumAdobe Flash TutorialsAdobe Flash Video TutorialsWeb Streaming ForumAdobe Flash

HighLightingText setting link to URL

Cow Forums : Adobe Flash
cowcowcowcow
HighLightingText setting link to URL
by TedLogic on May 27, 2006 at 10:42:59 am

Is it possible to set text in a flash movie as a link to an URL, I'm thinking I may need to make a button and set it to link an URL.

If so Can the button be invisible so just the text is the button...

I know I may be getting ahead of myself or I may be total off base..hopefully my goal is seen clearly.

Ty cowheads

TedLogic



Respond to this post   •   Return to posts index

Re: HighLightingText setting link to URL
by thumbslinger on May 30, 2006 at 4:34:02 am

Yes. Create a new button. Put a little square on the first frame and drag that all the way over to the last "Hit" frame. So you don't have anything on the Over, Down or Up frames.

Now you have an invisible button.

Drag an instance from your library of that button and size it accordingly on the stage over whatever text you'd like to become a link.

Name the instance down in the Property Inspector. Let's say you call it myButton.

Then, on a layer on the main Timeline use this:

myButton.onRelease()= function() {
getURL("http://www.whatever.com", blank);
}

The 'myButton' is the instance name you gave your invisible button that you dragged onto the stage.

Hope that helps.

Respond to this post   •   Return to posts index

<< PREVIOUS THREAD   •   VIEW ALL THREADS   •   PRINT   •   NEXT THREAD >>


FORUMSTUTORIALSMAGAZINEDVDsBOOKSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]