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 / October 2008



Tip: Looking for answers? Try searching our database.

Linking buttons in a SWF to a webpage. Please Help!

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kalokiari - 20 Oct 2008 01:49 GMT
I created a swf to put up on a website (using Dreamweaver) here:
http://www.youthscape.ca/New_Stories.html    

I need to get those buttons (the swirly ones) to link to other pages.  In
Flash, it won't let me put any code in for the buttons when I click on a button
or click on a keyframe in the button; it says "Current selection cannot have
actions applied to it." .   Assumed that you'd put in:

on(release){
getURL("http://www.whateverSitePage.com");
}

I just need to know where to put that, or if I'm totally wrong and there is
another way.

Any help would be greatly appreciated!
Thanks!
webqaflash - 20 Oct 2008 05:23 GMT
Hai, I think you are using Flash CS3 action script3.In actionscript3 ,we are
not allowed to apply actions on buttons or movieclips.
To fix this problem target on actionscript2 or use the eventlistener and
navigatetoURL method in AS3.
Thanks
Kalokiari - 23 Oct 2008 06:05 GMT
Thank you!!!  That worked!  :)
daiviien - 23 Oct 2008 23:16 GMT
I still do not understand

What is the ActionScript we are supposed to put in there?

When I put

on(release){
getURL("http://www.whateverSitePage.com");
}

in CS4 using AS2 it gives me an error about the brackets not being needed, I
took them out it says its ok but when I click the button it does not go to the
site. (Nor will it go to the site with the brackets)
***^SAKI^*** - 28 Oct 2008 07:57 GMT
Hello

I am in new in this forum. Actually i want to learn Flash online for free. Can
any one give me a website which helps me. If intersted then contact me at my
e-mail kasim_ali69@hotmail.com.

Best regard's
Muhammad Qasim

[q][i]Originally posted by: [b][b]Kalokiari[/b][/b][/i]
I created a swf to put up on a website (created the website with Dreamweaver)
here: http://www.youthscape.ca/New_Stories.html   

I need to get those buttons (the swirly ones) to link to other pages.  In
Flash, it won't let me put any code in for the buttons; when I click on a
button or click on a keyframe in the button; it says "Current selection cannot
have actions applied to it." in the Actionscript window.   I had assumed that
you'd put in:

on(release){
getURL("http://www.whateverSitePage.com");
}

I just need to know where to put that, or if I'm totally wrong and there is
another way.

Any help would be greatly appreciated!
Thanks!
[/q]
 
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.