| |
| |
| |
|
Page: 1 2 3 4 5 6
Comments:
<0> please send again <1> do i type it like this margin-top:50px; <1> or is something missing? <2> <style> body { margin-top:50px; } ></style> <2> right under </header> <1> ok <3> I need some help ... I want to make an if statement that checks several things ... : if (a && (b || c || d || f)) ... is my use of parentheses allowed? <4> Hmm <4> For m*** bitmap tracing.. <4> Err. <4> Batch bitmap tracing, any recomendations? <5> yeah <5> don't <3> how about this.. is there a way I can combine conditions .. such that this: if (a == b || a == c || a == d) would be the same as if (a == b || c || d) ? <5> Kevin1981: no the first way is the only way <3> ok
<3> how about wildcards in strings? if (a = "string*") .. such that this would be performed on "string1" "string3" or "stringamazoo" <6> http://www.jurjans.lv/flash/RegExp.html <6> you have to use regular expressions <7> good evening fine gentlemen <3> ok <3> num.. I have very limited experience w/regex.. do you think you might humor me on the syntax for my special requirement... <6> well <3> I need to match string[0-9] <3> its always gonna be "string1" or "string2" etc <6> if (string_var.match(/^string*/)) <6> or, ok <6> well <6> haha <6> you did it right <6> if (string_var.test(/^string[0-9]/)) <3> well... I still don'tt hink I get ti... my if statement... what is "string_var" ? <6> er <6> dammit, if (string_var.match(/^string[0-9]/)) <6> the string_var is the string you're trying to search <6> a variable of :String datatype <7> i require aid with a most puzzling conundrum <7> i constructed a script that places a bunch of mc's and then makes them repulse each other when they get in each others personal space as seen here http://snottlebocket.com/actionscript2/pinky1.html <7> works perfectly fine, if mc's get too close to each other they'll gently displace each other out of their personal bubbles <7> then i wanted to expand the script so that each movieclip is attracted to the stage centre but not at the expense of the personal space, so i expanded the script to basically state that if the personal space is not violated, the mc can move towards centre <3> so... wouldn't work on an array element? if (sound_array[s_count].match(/^next[0-9]/)) <3> this gives "unexpected '/' encountered" <7> the problem is that they do seem to violate personal space allthough not entirely predictable, they keep distance from some while gathering in other spots as seen here http://snottlebocket.com/actionscript2/pinky.html <7> http://pastebin.com/740123 <-- script, any help/explanation is welcome <6> kevin, ah... set the RegExp first <6> var re = new RegExp("^string[0-9]") <3> oh <6> if (re.test(sound_array[s_count])) <3> works well <3> thanks :) <6> yah <6> regular expressions are POWERFUL <6> learn them. <3> I know; I've tried.. I always need them in PHP too <3> I need a good resource I guess <6> they're everywhere <7> they gave me a headache in php <6> ereg() was a bitch <6> then they did preg() <6> heh <6> or the simulated Perl regular expressions <6> kinda a hogwash <7> i don't suppose anyone has time/inclination/knowledge to help me with my problem? <0> How does it look so far? <0> http://www.freewebs.com/jarrettsweeney/navvv6.html <4> I see a black bar... <4> With uhm <4> almost non-existant blue mouse overs <7> you got better eyes than me, i just saw a black bar <0> omg <0> i dont want it bright blue <4> Uhm <4> Thats fine <4> but no one will tell the difference anyway <7> it doesn't have to be bright but in the visible spectrum might be convenient <4> lol snottle <4> I enjoyed the way you phrased that.
<4> JarrettS: You can't see what is there now. <7> capital old bean, i do so relish the oppurtunity to amuse you with my elected words <4> Quite so. <0> what color tho <4> I dunno <4> It's a black bar.. <4> Thats all we see. <7> just lighten the blue a bit untill it's visible <7> you can make it fairly crisp and still have it look good on black <4> Neons work really well with black <4> I just ate two KFC Poatoe bowls. <4> I need a smoke, brb ;) <1> what is the html code to make an image go to the VERY top of the page and centered? <7> i'd use css not html <7> but the <centre> image</centre> tag would probably do it <1> and that would make it go to the top of the page too? <7> html works from the top down, if you code a picture to be at the bottom you can't magically make it go to the top with html <7> if the picture is the first thing on your page it'll be at the top <1> what's the difference with css and html? <1> ok <1> before the background <7> html is markup language, it's only meant to divide things in paragraphs and tables and such, for real design CSS is much better <1> but css is all code <1> i don't know that much, obviously <7> css and html is quite easy really but not something i can explain to you in a few minutes <1> lol <7> if you're really interested it's worth looking into and not very hard <1> that <center> code didn't work <1> I mean it centered it, but it didn't put it at the top <7> try centre instead of center <1> then I moved the code to the very top, and lost everything <7> yeah well that has more to do with the rest of your html <1> is php the same as html? <6> no <6> php is a scripting language <6> that's pre-processed by a server <1> so if I upload index.php anstead of index.html nothing will show up? <6> as opposed to being processed by the client's browser like HTML <6> that's a very tough question to answer <1> lol <6> well <6> takes a lot to explain <6> index.php can contain html <6> AND php code <6> but if the server doesn't know what PHP is, index.php will not work <7> short answer, php is a scripting language designed to take information and process it, you can mix it with html or have it do something really simple to show up as an index page but why would you do that if you don't even know what it is <7> yeah there's that to, the server must be running php to recognize it <6> yup <6> otherwise it might serve index.php up as a plain text file <1> is this on the right track... <1> nm...lol <1> my server supports php <6> or serve it up as an HTML file, but with all the php code in it <6> hah, then toss it up and see what happens <7> why would you want to use a php page if you don't know what it does? <1> you know how if I type with a font I have on my computer, it doesn't show up like that on someone elses...will php fix that? <4> no <4> Are you into cars? <1> somewhat <4> Think of it like power windows.. <4> Your web browser is the button on the door.. <4> the button sends a request to the window system, aka: php, which then sends back information based on your request. <1> so why is it used? <7> what happens is when you render any kind of text the browser will simply select from the fonts available on the computer of the user <1> what's it's main purpose? <7> php won't magically send them a set of fonts <4> PHP stores and sorts information <1> oh, ok <4> html displays things. <7> html only shows static information, the text the webpage author wrote, php stores and processes information <1> got it <1> no need for php for me :) <4> Nope. <4> You should learn the basics first.
Return to
#flash or Go to some related
logs:
#computers #hardware #nhl toshiba satellite p105-s9722 #networking #gamedev #computers #computers #beginner #politics
|
|