@# 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



Comments:

<0> i know how to load the images n stuff, just cant get my head around creating each clip and making em scroll
<0> what is a good fps to use on a flash page?
<0> i remember something about using 60
<1> 60 is not good
<1> even broadcast tv is only 29.995
<1> cartoons are only 24
<2> my feeling is, machines that can't handle a high framerate will just drop frames anyways, so, what's the harm? i use 40fps, but i see a lot of stuff that looks like it's at 60fps and looks/runs great, so i've been contemplating speeding things
<2> i've never had any complaints at 40fps, which i've been using for years
<1> I worry more about bandwidth
<1> bigger framerate -> bigger files
<2> only on physical tweens
<2> try to stick to scripted tweens and you're golden
<3> 42fps is what i normally use
<3> works fine
<2> why 42? because it's the answer to the ultimate question?



<3> no, just cause it seems to work fine
<2> well why not 43?
<2> because 42 works fine, so why change?
<2> or how about, because stfu fearx
<4> hrm, when I try to use: import mx.xpath.XPathAPI; mx.xpath.XPathAPI.selectNodeList() from within a cl*** I get:
<4> There is no method with the name 'mx'.
<4> what am I doing wrong? :)
<2> try just XPathAPI.selectNodeList() ... i think mx.xpath before it isn't necessary since you're importing the cl***
<4> thanks
<4> hrm still: There is no method with the name 'XPathAPI'
<4> this is my line: var test = mx.xpath.XPathAPI.selectNodeList(this.XMLObj.firstChild, "/config/frontImage/*");
<4> im using Flash MX 2004 Professional
<2> ok, well i didn't know if it would work or not, i just know that i never do var myTween = mx.transitions.Tween(blah);
<2> sorry, i'm of no help on this one, Smurf might know though, he's crazy like that
<4> ok, ill try to grab him when his back
<4> Smurf: around?
<2> he was here 9 minutes ago :D
<4> do I dare msg him
<2> i wouldn't - just yell
<4> SMURF!
<2> smurf aka smurfmx - any ideas on png's issue?
<4> :)
<4> maybe theres something wrong with my cl***path
<4> what cl***path is default? I have $(LocalData)/Cl***es and .
<5> import mx.xpath.* first
<4> of course, I have that line above my own cl*** declaration
<4> import mx.xpath.XPathAPI;
<5> ok
<4> It works if I try a xpath method from outside my cl***
<4> it must be a cl***-issue
<5> then you can do var whatever = mx.xpath.xPathAPI.selectNodes();
<4> var test = mx.xpath.XPathAPI.selectNodeList(this.XMLObj.firstChild, "/config/frontImage/*");
<4> There is no method with the name 'mx'.
<5> so go to edit->preferences and then in the actionscript tab click settings or whatever it is and add yoru path to your cl***
<5> add the path to your cl***
<5> what error do you get
<3> png i haven't dealt with the xpath API
<5> nib just introduced me to xfactors xpath
<5> i just used it
<4> Smurf: I think this is a cl***issue, not just the XPATH api
<3> but my guess would be that you don't have the cl*** in the right place on your HDD
<5> png: then add the directory where the cl*** is to the path list
<3> are you doing import mx.xpath.xpathAPI;
<4> ill pastebin my code, one sec
<3> or just listen to pacabel
<5> i literally just dealt with xpath like a few days ago
<4> http://pastebin.sekati.com/?id=Anonymous@c6c1c-30af729e-t
<3> him
<4> pacabel: well, is this the path to the XPATH api: C:\Program\Macromedia\Flash MX 2004\en\Configuration\Components\Data Components
<4> should I add that to my cl***path?
<5> what version of flash are you using
<4> MX 2004 Pro
<5> thats why
<5> i had this similar problem
<4> yeah, I figured
<5> i forget where the paths are
<5> but get the library i got
<4> I tried this on Flash 8
<5> and it will work fine



<5> lert me get you the url
<4> thanks
<5> its xfactors xpath api
<5> http://www.xfactorstudio.com/ActionScript/AS2/XPath/
<5> nib just introduced me to this library a few days ago
<4> is this a bug in flash mx 2004?
<4> maybe one should report it
<5> no the library isnt that
<5> its somewhere else i forget where
<5> but im not sure it is included with mx 2004
<5> then the function you want is selectNodes()
<4> yeah
<5> so import com.xfactorstudio.xml.xpath.XPath
<3> wow...
<3> i spent the last 3 days trying to get something to work, i change one line thinking it'd be better to have my bitmapdata have an alpha of 255, bam, everything works :|
<5> then var whatever = com.xfactorstudio.xml.xpath.Xpath.selectNodes(whateverxml.firstChild,"searchstring");
<4> works perfectly
<4> thanks
<5> no problem
<4> does this library support the selection of a single nodes value, like /display/config/frontImage/*
<4> I remember doing this with the original mx xpath cl***
<5> well selectNodes is an array
<4> I could just do .firstChild though, but I think that is ugly :)
<5> i did firstChild and i dont feel the slightest bit guilty about it
<5> :)
<4> :)
<3> i perfer the built in method
<4> Smurf: for xpath?
<6> all your base are belong to me
<4> heh
<3> png no just xmlObj.firstChild.childNodes[a].firstChild.nextChild.childNodes[b]; or whatever
<3> allows greater control IMO
<3> nextSibling?
<3> i forget
<3> hehe
<4> Smurf: well, say you swap position on one of your childs
<4> then its fubar
<3> why would i need to do that if my xml file had a standards based structure to it?
<3> i've just never had a circumstance where i've had to use the xpath API
<7> hi
<3> sup NiB?
<6> i think xpath is a 180 degree turn of the sushi table
<7> i was cleanin my room..found an old pic of me when i was playin/singin in a band...loads of fun
<4> arggg, isnt onLoadProgress supposed to work on a MovieClipLoader listener?
<4> it just never gets invoked
<7> if u try locally it may load to fast
<4> I use "Simulate download"
<4> I think its a scope issue, flash has some issues when comming to OOP
<7> lol
<3> _some_
<3> :D
<7> there is no scope issues
<3> sometimes it gets a bit sketchy IMO
<7> png, pastebin ur stuff
<4> sure
<7> it has rulez..they may be strange, but no issues :)
<4> http://pastebin.sekati.com/?id=Anonymous@9b674-30af729e-t
<4> NiB: :) im just dont used to OOP in flash, I think its great though
<4> row 38
<3> like if i have obj myLoader and i have myLoader.onLoadProgress i would like to be able to do this._parent inside of the onLoadProgress to access the cl*** methods, instead you have to make a var outside the event and use that to call a method
<7> other events are called ?
<4> yes
<4> its just onLoadProgress that isnt called
<7> so imo it's just it download too fast...forget simulation..try in real conditions
<4> alright
<7> or use somethin like netlimiter or an apache bandwidth limiter mod
<4> err, its a shame to have a simulate download function when it doesnt work
<4> ill continue then, thanks :)
<7> the simulate download stuff is fine for the first swf (the one u work on) when u load external stuff...it's not really good
<7> i use netlimiter
<4> roger, thanks again


Name:

Comments:

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






Return to #flash
or
Go to some related logs:

#computers
#windows
cost and neccessity of techology for bird flu
rhel ntp start
#stocks
asvab score to become airborne infantry
#gamedev
#worldcup
avifix
#sunos



Home  |  disclaimer  |  contact  |  submit quotes