Computer Help Forums

Computer Help Forum > Software & Internet > HTML & Coding > Flash buttons

Reply
Thread Tools Display Modes

Flash buttons

 
 
sudo rm -rf /
Join Date: Jun 2003
Location: Tyler, TX
Age: 33
Posts: 1,455
Core's Avatar

Core has much to be proud of his / her geeknessCore has much to be proud of his / her geeknessCore has much to be proud of his / her geeknessCore has much to be proud of his / her geeknessCore has much to be proud of his / her geeknessCore has much to be proud of his / her geeknessCore has much to be proud of his / her geeknessCore has much to be proud of his / her geeknessCore has much to be proud of his / her geekness
 
      Jun 30th, 09, 1:09 AM
I'm new to Flash. I am working with a Flash template and trying to edit it; I've found this to be the most effective way for me to learn stuff.

The template has some buttons but they are not associated with anything. They are just set to do a motion (movie, essentially) when cursor hovers over them. I would like to use a getURL function somehow to load a URL of my choice when I click on the button.

However I haven't been able to figure out how to code it. Currently the buttons just have this in Actions:
Code:
on (rollOver) {
    gotoAndPlay(2);
}
on (rollOut) {
    gotoAndPlay(11);
}
What should I add to this to get the desired effect?
 
Reply With Quote
 
 
 
 
I broke it again.
Join Date: Dec 2008
Location: Georgia
Posts: 204
danperteet's Avatar

danperteet has a spectacular geekish aura aboutdanperteet has a spectacular geekish aura aboutdanperteet has a spectacular geekish aura about
 
      Jun 30th, 09, 1:14 AM
you need to look into some actionscript tutorials. Actionscript is what makes the actions happen in flash. what version of flash you are using would determine what version of actionscript your using. Back when I used mx 2004 it was as2. in cs3 its as3.
 

 
Reply With Quote
 
sudo rm -rf /
Join Date: Jun 2003
Location: Tyler, TX
Age: 33
Posts: 1,455
Core's Avatar

Core has much to be proud of his / her geeknessCore has much to be proud of his / her geeknessCore has much to be proud of his / her geeknessCore has much to be proud of his / her geeknessCore has much to be proud of his / her geeknessCore has much to be proud of his / her geeknessCore has much to be proud of his / her geeknessCore has much to be proud of his / her geeknessCore has much to be proud of his / her geekness
 
      Jun 30th, 09, 1:51 AM
Well it said online that for CS3 I need to use navigateToURL instead of GetURL.

This is what I have now, I found it from an AS3 tutorial but it doesn't work:

Code:
on (rollOver) {
    gotoAndPlay(2);
}
on (rollOut) {
    gotoAndPlay(11);
}
on (release) {
navigateToURL("www.salakka.com","_self");
}
 
Reply With Quote
 
I broke it again.
Join Date: Dec 2008
Location: Georgia
Posts: 204
danperteet's Avatar

danperteet has a spectacular geekish aura aboutdanperteet has a spectacular geekish aura aboutdanperteet has a spectacular geekish aura about
 
      Jun 30th, 09, 3:04 AM
I will look into it tomorrow afternoon and see what I can find. I've been looking for a reason to use flash again. I'll either post my findings tomorrow or Wednesday. Sorry I can't help you right now but I have alot to do before 2:30a.m. and it's 10:01p.m. right now.
 

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OT: Flash plug in R D S DIY Computers 7 Jul 31st, 07 8:46 PM
Flash James HTML & Coding 4 Jul 7th, 07 10:13 PM
Customizing mouse buttons binarysoul General Hardware 3 Jul 3rd, 06 4:50 AM
Flash FPS game Goober Computer Gaming 1 Apr 26th, 06 8:17 AM
setting mouse buttons vishnu General Hardware 10 Feb 5th, 05 3:20 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36