| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12
Comments:
<0> 15ooo <0> 15could you please help ? <1> where's the text input located? <1> :/ <0> 15in the main page <0> 15i use scene <1> no, path to it <1> _level0.instancename ? <1> if thats where it is.. <0> 15yes <0> 15level0 <0> 15_level0.textbox <0> 15with variable: answer <0> 15and the button is in the same page <1> on(release) { if(_level0.textbox.text.length > 0) { _level0.window.gotoAndPlay("out"); } else { trace("maybe throw a notice?"); } } <1> dot notation is a little more direct
<0> 15ok <1> the pref since v5 really <1> but all works.. <1> anyways, what ya do is check the length of the .text property of the textinput component <1> if its more than 0 ... there's something there... <1> might want to trim and check length or such ... to ensure its not just spaces <0> 15i got it <0> 15where will the notice will be <1> or restrict space not required for input anyways <0> 15the trace thing <1> well trace() just writes to your output window <1> its a more direct 'debug' .... <2> 'more direct'? heh <1> _level0.window.gotoAndPlay <1> ya <0> 15cause there is no output <0> 15the answer is a movie clip <0> 15i was wondering if it can be shown in the input textbox ? <1> a movieclip? <1> no <1> erm <0> 15so input text box <1> maybe - cell renderer <0> 15and button pressed <0> 15then movieclip played <1> i'm not really sure wtf yer actual intent is <0> 15which is the answer <1> kinda confusing at best :) <0> 15heheh sorry <0> 15can i show it to you ? <1> you can post a url sure, but i cant take anything <0> 15ok <1> and to be honest, i got stuff i'm workin on too <0> 15brb <3> what the hell <3> we can use colours in here?! <3> omg. <0> 15SHiZNiT: can i PM you the link please ? <0> 15it's crapy <0> 15i dont everyone to see it :P <1> heh <0> 15the url <1> i guess, make it quick man, i got stuff i wanna do before bed too :( <1> 11:42pm here <0> 15k <0> 15all i'm trying to do is <0> 15the answer only shows when there is something in the inputbox <0> 15else, the button wont play the movieClip ( which is the answer) <0> 15did you get the link ? <1> well - thats what script above would do yes... <1> but is that 'textinput' a textinput - or a textfield being used with input text option selected? <0> 15but how can i make the trace msg to show in the inputtextbox <1> remove trace <1> and add script to do such <1> lol <1> if you put msg in input box <1> then length is > 0 <1> thats not a good idea really <0> 15oooo <0> 15maybe i just delete trace <1> why dont you have a little text area that displays 'errors' when users are using it
<0> 15should be ok right ? <1> you could yup <0> 15ok, i'll just do that <0> 15thank you <0> 15i'll try to play with it <3> DUMB4EVER: you sure know how to stand out in a crowd :D <1> on(release) { if(_level0.textbox.text.length > 0) { _level0.window.gotoAndPlay("out"); } } <4> SHiZNiT: you know where i can find a tutorial to do the LOADING thing? <0> 15?? <0> 15what did i do ? <3> lol <1> the loading thing? <3> never mind <3> SHiZNiT: I thinks he means loading of a flash file <3> Loading...1% 2% <3> etc. <1> heh <3> i had a premade one on my site once, but it's gone. meh <0> 15anyway, thanks SHiZNiT <3> Goo***2: get one of newgrounds <4> SHiZNiT: you know before flash files load up . They'll have the LOADING thing while its loading <0> 15i appreciate the help <4> wtf , turn of your colors <3> why <3> dude <0> 15me ? <3> this is like the only channel in efnet that allows colours! <3> *gasp* <4> heh <1> lookup MovieClipLoader cl*** ... press F1 in flash, you have 'books' on the left side, from the menu select Actionscript 2.0 Language Reference ... lookup the cl*** there, read its methods, there's examples of usage within the readings <0> 15btw SHiZNiT: that pastebin is pretty <3> im eating the healthiest dinner you can get <3> Nachos :D <3> lol <1> i knew you'd like it <0> 15LoL <1> goose - http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00002538.html <3> I have a glowing mouse pad <0> 15but u're violating the channel rules too <1> click on some methods - (read the whole page, wth, why not) <0> 15u paste the code here <0> 15:) <3> pff <1> examples of usage are there <3> nobdoy cvares about the rules in flash <3> it's like the best channel out there <3> no abuse, whatsoever <3> !! <3> *waits to be kicked* <3> lol <1> nah <0> 15btw SHiZNiT: do i have to put something in the name for variable ? <1> never when yer expecting it <1> :) <0> 15for the textbox ? <3> lol <1> you dont need to name VAR if you are using instance name <0> 15ok <1> VAR just reflects a variable from the current timeline textfield is within <3> who else has a glowing mouse pad? <3> with elite lights? <3> :) <0> 15SHiZNiT: it's working :) <3> *claps hands* <1> yay <1> :) <0> 15just out of curiosity, could i add another textbox on top of my input box <0> 15for the trace output ? <5> Morning <6> remove that text background <0> 15> me ? <0> 15how do i do that ? <0> 15test
Return to
#flash or Go to some related
logs:
#delphi efnet teencool #heroin suasage
#politics cock shwarma #politics #politics #stocks #nhl
|
|