| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
|
I created a ComboBox with the following labels. [car,house,ball] .
I want getURL when the item ball is selected. I wrote this code: onClipEvent (enterFrame) { if(mycombobox.getSelectedItem().label = ball ); { getURL("www.flashkit.com", "_blank"); } } When i test the movie,it's opening continuosly a new window automatically,without the click. it almost crashed my compu |
|
|
|
|
|
#2 |
|
Allez les Bleus!!!
Join Date: Oct 2002
Location: Paname
Posts: 2,495
|
There are 2 problems in your code:
Your test: ActionScript Code:
ActionScript Code:
So you have to create your own function and assign it to the component. Something like ActionScript Code:
pom |
|
|
|
|
|
|
|
|
#3 |
|
Dosed...By Flash!
|
Beat me to it....lol
|
|
|
|
|
|
#4 |
|
Allez les Bleus!!!
Join Date: Oct 2002
Location: Paname
Posts: 2,495
|
Hey JH, I was wondering: how do you put that line under your name?? I looked in the user cp but didn't find it and I don't want to ask on the general forum... too ashamed of myself
|
|
|
|
|
|
#5 |
|
Dosed...By Flash!
|
you've done it! lol
YAAAAAAAAAAAAAAAAAY! lol it's just the olde ____ Underscore ____ Magic-cal |
|
|
|
|
|
#6 |
|
Allez les Bleus!!!
Join Date: Oct 2002
Location: Paname
Posts: 2,495
|
Nonono, I meant where it says "member"
|
|
|
|
|
|
#7 |
|
Dosed...By Flash!
|
ooooooooooooooooooooohhh,
USER CP Edit Profile Custom text there you go chappy |
|
|
|
|
|
#8 |
|
Allez les Bleus!!!
Join Date: Oct 2002
Location: Paname
Posts: 2,495
|
???
I don't have it OR I'm going blind. Dunno yet. |
|
|
|
|
|
#9 |
|
Dosed...By Flash!
|
kayyyyyyyy
USER CP (at the top of the forum, next to register, TOP BAR) Then in the other menu that it brings EDIT PROFILE then search down the page for Custom User Text: This is the title that appears beneath your name on your posts. You may enter up to 25 characters. Check the reset box if you wish to use the the default title for your usergroup and post count. HTML is not allowed. then edit it, DONE! Last edited by JHallam; 10-11-2002 at 12:16 PM.. |
|
|
|
|
|
#10 |
|
done
Join Date: Jun 2001
Location: portland, or
Posts: 8,048
|
gh, for some reason, some members don't have that option, i don't know if it depends on number of posts, or what...
__________________
tg --- what the hell was i thinking? |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|