Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 26th, 2003, 01:38 PM
visualsun visualsun is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Midland, TX
Posts: 4 visualsun User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to visualsun Send a message via MSN to visualsun
Flash MX Button help

Ok, I am trying to create a button when they click on it, it sends them to a url.
I have tried many things but cant seem to get it to work. What I have now is it just automatically sends them without clicking the button.
Help

Reply With Quote
  #2  
Old July 26th, 2003, 05:07 PM
dkkz dkkz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 50 dkkz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
you can put the script on the button:

on(release){
getURL("http://whateverurl.html", _blank);
}



OR

you can give your button an instance name (i used linkButton as example), and put the script on the keyframe that button resides:

linkButton.onRelease = function(){
getURL("http://whateverurl.html", _blank);
}


the _blank part means it will open the url in a new browser window, and it's optional.


ps to the pros: how do you make indentation on the post? LOL.
eta: oh the space bar works wonders while composing the message, but after I post it, some internet starving chipmunk ate them.

Last edited by dkkz : July 27th, 2003 at 01:42 AM.

Reply With Quote
  #3  
Old July 26th, 2003, 05:28 PM
kevinv033 kevinv033 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: Philadelphia, PA
Posts: 6 kevinv033 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to kevinv033 Send a message via AIM to kevinv033
just hit the space bar

Reply With Quote
  #4  
Old July 26th, 2003, 05:49 PM
visualsun visualsun is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Midland, TX
Posts: 4 visualsun User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to visualsun Send a message via MSN to visualsun
TKS.
I figured it out right before I received this post... go figure

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > Flash MX Button help


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

IBM developerWorks




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway