Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Site Design / April 2007



Tip: Looking for answers? Try searching our database.

Flash Link

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
M-ManLA - 29 Mar 2007 09:34 GMT
I want to link my banner to my website on non-dreamweaver pages (myspace, msg boards). I just copied and pasted the code from dreamweaver. I am a noob so any help I greatly appreciate it.
wwscoper - 31 Mar 2007 03:25 GMT
Is the banner in flash? Create an invisible button over the whole banner with

on(press){
getURL("http://www.yourwebsite.com")
}

when a user clicks on the banner, the button, or movie clip with code attached
will link to your site. if you want a new window to open use:

getURL("http://www.yourwebsite.com", "_blank");
M-ManLA - 02 Apr 2007 18:55 GMT
Yes I am in flash. How do I create an invisible button? Do I just draw a box with no fill in it?
M-ManLA - 02 Apr 2007 19:18 GMT
[q][i]Originally posted by: [b][b]wwscoper[/b][/b][/i]
Is the banner in flash? Create an invisible button over the whole banner with

on(press){
getURL("http://www.yourwebsite.com")
}

when a user clicks on the banner, the button, or movie clip with code attached
will link to your site. if you want a new window to open use:

getURL("http://www.yourwebsite.com", "_blank");[/q]

I keep getting error msg on the first line for the on(press). It says
"**Error** Scene=Scene 1, layer=Invisible Button, frame=1:Line 1: Mouse events
are permitted only for button instances
     on(press){

Total ActionScript Errors: 1     Reported Errors: 1"
mjjp - 02 Apr 2007 20:26 GMT
You need to create a button to use mouse events, not just a drawn object or a
normal symbol. You need to start by creating a new symbol. When you do this,
you can select either Movie clip, Button, or Graphic. Select Button. Then,
double click on the new button in your library to enter the edit screen for the
button. There you can draw the actual button. After you've made the button, go
back to your main timeline. Once there, drag an instance of the button to the
stage. Select the button on the stage and then add the actionscript. Also, make
sure that your button uses a fill (you don't need a border), or it won't work
correctly. To hide the button, once it's on the main stage, adjust the alpha to
0.
littleredwagon - 22 Apr 2007 12:12 GMT
Hi,

I've followed your instructions and got a button on my page, but when I check
it although I see the little hand identifying it as a link when I click on it
nothing happens.

hope you can help?

regards
M-ManLA - 26 Apr 2007 08:45 GMT
That might be a Flash text that you are seeing. Some flash text is just to look good. I don't know why they have the cursor change, but some of the is just for looks.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.