Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Turning a movie into a button. 1

Status
Not open for further replies.

eddiesshorts

Technical User
Apr 9, 2001
25
US
Hi,
I am having problem... I can not figure out how to turn a flash 5 movie file into a button that will call up a web page when clicked on.
Like the type you see on websites. There is an add that is a flash file you click the movie as it is playing and it takes you to a different web site.
Thanks so much.
 
Put an invisible button over your whole stage area on the top-most layer and simply add a getURL to it...

on(release){
getURL(" "_blank");
}

Use "_self" rather than "_blank", if you want the page to open in the same browser window the Flash movie is in.

Regards,

cubalibre2.gif
 
Hi thanks for getting back quick. Customer is in dier need of this. I mostly just make movies without buttons I use dreamweaver to make my buttons but this time I need the movie to be the button.
I am having problems making the blank button and I know it is a simple one.
Here is what I am doing...
Insert/new symbol, I name it click on button...
it goes to button mode I make a box the size of the movie and change the alpha so you can not see anything....
When I try to put code in the hit area it does not let me...
So I then put the button on the top most layer and in sert the code
on(release){
getURL(" "_blank");
}
Nothing
I have also put and it does not work?
Any chance of me sending you this small .fla so I can see how you do it?
Thanks so much
 
You can send it to me (hit my handle for an address), but this should be quite simple...

First off copy the box you made in the UP state of the button in the HIT state. Clear all other states. In the HIT state the box can be left at 100% alpha and won't show up in the final movie. It's just defining a hit area, and will be light blue while you manipulate it on the stage, but as I said won't be seen in the movie. Non once it's positioned, simply right-click it and open the actions windows. That's where you should be adding your on (release) action. Test it, and it should work. If you can't still get it to work, e-mail it to me, but zip it up!

Regards,

cubalibre2.gif
 
And oh by the way this is what the code should look like...
Code:
on(release){
getURL("[URL unfurl="true"]http://www.symmetrymortgage.com/",[/URL] "_blank");
}


Regards,

cubalibre2.gif
 
I am a real dork I can't figure it out.
I sent you the file last night.
What part am I doing wrong???
Thanks
 
Was expecting a .fla. Can't open this file if it is one. Are you by any chance on Mac?
You would have to zip it up, so that I can open it.


Regards,

cubalibre2.gif
 
Check out the .fla I posted in this thread:

thread250-636507

Regards,

cubalibre2.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top