@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22



Comments:

<0> or rather this.firstChild.firstChild.firstChild.childNodes[3]
<0> oh wait
<1> firstchild.nextsibling.firstChild.childNodes[3]
<0> Squee-D, man... E4X's gonna be hot :P
<1> firstchild.nextsibling.childNodes[record].childNodes[3] for all your 'nam' needs
<2> lol trace("the answer is: " + this.firstChild.nextSibling.firstChild.childNodes[1]); returns bal
<1> you know i dont have much trouble with the current dom, so long as im only reading it, creating return data is where it gets real ugly
<1> you may have to add a firstchild
<1> deka, work it out yaself, you've got trace
<2> ok
<1> i always have trouble with c ounting root
<0> Squee-D, since forever I used DOM to read and string to write as well
<2> thanks
<0> but the biggest issue is lack of XPath or alternative way to select nodes in other way than their order... which is why E4X
<1> i've spent the last week optimising the geaos
<1> geospatial data for our collection of nz maps



<1> into a fast searchable data collection that can be retrieved from XML
<1> its been freaking painstaking
<0> Squee-D, on at least 4-5 projects I had to tell the server guy "dude p*** the tags in this exact order since for speed reasons I'm not checking names and expecting them in THAT order". Silly dom
<1> yeah i had to exlain that to a coworker this week to
<1> no we're not doign this **** for readability we're doing it to create a nice big hefty pre-calc, so dont make it slow
<0> Squee-D, yea well once 8.5 is spread out, it'll be pretty easy, we even have binary sockets, and can zlib that xml
<0> Squee-D, you learning .NEt 2/ Avalon/ XAML just in case btw :)?
<1> man my biggest excitement is still 'real private' and overload
<0> do we have overload? bah I missed this
<1> Well i know my c#. i poked around avalon
<0> maybe this is why they moved it to October ...
<1> yes we do
<1> thank god
<0> oh wait I mixed up you mean function overload based on parameter signature ?
<1> yes :)
<0> ok when I hear overload I tune out everything but operator overload for some reason..
<1> yeah prolly best we dont have that
<1> i can just imagine the nightmares in this channel
<1> hopefully we ave access to the native value of the native cl***es tho
<0> Squee-D, well given we have no protos to hack anymore actually I'd appreciate if I could "+" my SuperString cl*** instead of SuperString.add(SuperString); .. but anyway
<1> well in this case im going to guess that access to the native value of the basic types would succeed for yo as well
<1> cl*** Mycl*** extends String { in here we can access the 'string' in the string and even watch it.. }
<0> Yea, I remember something went wrong there though..
<1> well its not possible
<0> not sure exactly what
<1> if it were, it would be nice
<1> and i'd have much less concern for opertor overloading
<0> ah yea I remember what went wrong, you ***ign string literal to it and it becomes normal String :) i.e. what you say there
<1> you cant access the native value
<1> at all
<0> well yes -> it just replaces it
<0> the whole object
<1> totally sux :)
<0> but if we could overload = ...
<0> I'm overload bitch
<1> nawww
<1> nooo
<1> i mean i'd like it
<2> Is there a good website that covers parsing xml in flash?
<1> but omg..
<1> the help does a decent job of it
<1> Deka remember you can take references any time you like
<3> mc1.setMask("dynmask"); <- is it possible to set mc2 and mc3 masken on same line?
<2> what do you mean?
<1> bugiam2 no
<1> deka for example say you find a 'record'
<3> ok
<2> yes
<3> does dynmask have to be on layer/depth above mc1?
<1> firstRecord = myXML.firstChild.nextSibling;
<0> bugiam2, nah
<3> ok
<2> ok
<1> you can now treat firstRecord as a bookmark if you like..
<2> Is ther such a thing as nextnextSibling?
<2> there
<1> and take copies of that bookmark too.
<1> no
<0> DekaPatro, well yes: nextSibling.nextSibling :)
<2> okay
<4> yo



<4> i'm having a problem
<4> i'm using flash 7 for the first tome
<4> time
<2> Squee-D did you look at my pastebin?
<4> (i haven't used flash since flash 5)
<1> anyway, mix this entry level incompetence with overloaded operators suv4x4, and this channel would be murder..
<4> and a movieclip function i used won't work
<1> and i'd be the one doin the killin
<1> dek yeah i did
<4> can u tell me whats wrong with:
<4> http://flash.pastebin.com/514506
<3> but i can do mc1.setMask("dynmask"); mc2.setMask("dynmask"); in same frame right? have one mc mask several mc's
<1> daurnimat you have a scope problem
<4> ??
<1> those function run in the scope of the clip you place them on
<0> daurnimat, at first gl*** nothing rings wrong
<0> daurnimat, glance that is
<4> they are in the root, on frame 1
<1> and subfolder and imagefilename will have gone out of scope when the user clicks
<1> when the code on line 7 is called, it's being run muc later, in the scope of the clip
<2> trace("the answer is: " + this.firstChild.nextSibling.childNodes[1].childNodes[1].childNodes[2]); - returns australian rules
<0> Squee-D, I think Flash keeps the activation object and those two vars active until those inner are defined. That's a common 'hack'
<1> if you go _root[subfolder+"__"+imagefilename].target = _root[subfolder+"__"+imagefilename]; and in the function put target._visible = false;
<1> you'll be better off
<4> say again...
<1> suv no it doesnt.
<2> that is lines 1 to 161
<4> squee: please explain what i have to fix
<0> Squee-D, maybe I don't understand what you mean
<1> subfolder and imagefilename are in function scope only
<1> and he's definining an anonymous function that uses those
<1> inside the same function
<2> Is there a program that gives you the node structure for an xml file?
<1> there are some reverse schema generators areound DekaPatro
<3> that would be nice indeed.
<2> ok
<1> only one i used is kinda spendy
<4> squee: how do i fix it?
<0> yep, well I do that a lot too when in a hurry (even though it's bad for the garbage collector)
<1> it doesnt work
<2> spendy - nooo
<0> Squee-D, maybe -> I'll do a little test to see what you mean
<4> squee: so how do i fix it???
<1> daurnimat hold your horses
<4> ok...
<1> http://flash.pastebin.com/514513 try that
<1> oh dude
<1> no
<0> Squee-D, doesn't this cover the case (it works): function start(x) {_root.onEnterFrame = function () {trace(x)} }; start('hello');
<1> this is a total mess
<1> loadmovie breaks everything
<1> it mwont work for many reasons
<4> squee: not working
<4> ...
<1> loadMovie will not complete immediately and it will kill the .target and the .on Rollover
<4> :(
<1> suv no it doesnt, thats cascaded fallback
<1> put the function on a clip and try it
<0> Squee-D, when I run it I see "hello" on each frame.. so
<1> hats not the same suv
<1> and its bad reliance anyway
<4> squee, can u help me please?
<1> daur no
<1> go read up on MovieClipLoader
<4> what do i do then
<4> arg
<1> don't even try to set properties and ethods until you get an onLoadInit event
<1> methods*
<0> daurnimat, you can run onEnterFrame and check if _width>0, the moment it's bigger than zero your image is on and you can set x, y and so on.. That's a hacking quick way. If it was a clip you could put onData on it but..
<0> daurnimat, oh that's Flash 7 - you gotta check MovieClipLoader, it's the best way
<1> it is a clip
<1> just remember onLoadInit, not onLoadComplete
<0> Squee-D, I mean on stage clip (you can put instance actions on)
<4> squee: do i need to initialize the moviecliploader cl***?


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #flash
or
Go to some related logs:

#politics
#beginner
#solaris
steep parallax mapping
www.live break.com de torture
vsftp dos format
#freebsd
#computers
#nhl
masterxxxpasswords old lady



Home  |  disclaimer  |  contact  |  submit quotes