| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Comments:
<0> oh joy, another flash release that won't support Linux! <1> frb-work, Macromedia is working on a 8.5 linux version. <1> frb-work, they skipped 8 since 8.5 is out so soon after that <0> will it support alpha blending? <1> they in fact have larger team than ever for the Linux version <1> frb-work, alpha blending against the page? <0> yes, flash7 on linux doesn't support transparency or alpha blending <1> frb-work, what do you mean "or".. what is the difference? anyway. One reason could be that the browser have to support that :) another reason was that flash 7 was a rushed release and they know it <1> not only on linux, but on all os <0> gifs are transparent, pngs are alpha <1> ok <0> opacity works in firefox on linux anyway, as does png alpha, so teh technology is there <2> http://www.gkmotu.com/little_fellas.html qucik work in progress shot <0> anyway, what do I use to make a scrollable list of items? <3> nice <1> frb-work, the technology to display a static image and a binary plugin are totally different
<0> I'm really a programmer, but I need to solve my media problem <4> hey question... when you credit a photo to somone, do you use a copyright symbol? <3> you don't have to <3> you can just write something under it, or just use the same copyright for the rest of the site if it is your picture <1> JonM`, when you "credit" it..? <4> like a little text in the left hand corner of the photo <0> does flash have xmldoc.getElementByTagName() ? <1> frb-work, no <1> frb-work, it has XMLNode.nodeName <1> but that's not the same exactly <1> or at all :P <0> so I have to go through the children myself <1> yup <0> does it have (for var foo in bar) ? <1> no <1> this is E4X <1> and this, and the other similar tools are part of 8.5 <0> well, js based on the same ecma has it :/ <0> parsing xml is hard, lets go shopping <1> well actually ECMA is based on JS <1> Flash has for..in it just doesn't work with XML <0> hey, flash8 pro says it does do iterator in object <1> err yea <1> see up ^ <0> that seems odd, how is an xmldoc different than any other object? <5> where would I be able to find an old version of a software? <0> it looks like for (var cn in thisnode.childNodes) { stuff } should work in theory <1> frb-work, the nodes in an XML object are not regular objects in an object tree, this is called XML DOM <1> no it shouldn't <0> so I have an XML DOM with no dom functions <1> but it will in 8.5 <0> and no object functions <1> of course you have DOM functions <0> this ****s :( <1> did you look XMLNode at all? <0> yes, and according to the docs, XMLNode is an object, and childNodes is an Array which is an Object <0> but you're telling me the iterator over an object doesn't work on these <1> yes <1> the iterator works when an object is an ***ociative array, i.e. contains other Object indexed by their name <1> which is not the case for XMLNode <1> which uses XMLDOM <0> I've used that on arrays before too <1> it works on arrays too <1> which are a special case of an ***ociative array <0> childNodes:Array <1> this will work <1> but it will tax the CPU <1> why I don't just tell you :) <1> this is how you loop through XML nodes: node = yourXML.firstChild while(node) {... operations.... node = node.nextSibling} <1> you will need to do this recursively for multiple nested tags <0> I only have 3 levels, root <movieList> <item> and item's chilren <0> movieList is the root <1> then you'll have three nested while-s basically <0> do I even need the movieList then? <1> oh that's your root tag <1> then this is two levels <1> to get to the first item, poll for .firstChild.firstChild of the XML <1> and then loop with nextSibling until you hit "null" <1> this is how it works basically <0> blah
<1> well that's XML DOM :) <0> for (var item in myXML.childNodes) { } sounds cleaner <1> yea it sounds cleaner but it pulls out entire array of nodes out of order. <1> for..in doesn't guarantee particular order of looping <1> in fact it usually works reversed <1> from last to first item <1> but this is not always <1> with Flash 8.5, the order for for..in will be totally random <0> that sounds totally useless <0> isn't that why arrays have indeces? <1> that sounds totally whiny :) <1> if you wanna loop by index use normal for <1> which will basically create the full array for each iteration, thus making everyting a lot, a lot slowe <1> lower <1> slower :) <1> for .. in is intended to loop through all members of an ***ociative array, which has no order, the fact it works on normal arrays is a side effect <1> why don't you just do it like I suggested, which is the fastest, most efficient and proper way <0> I am, but I'm trying to find better ways that agree with my programmer nature <1> this is not programmer nature, the programmer uses the tools he's given in the proper manner, not trying to hack his way out of it so his code looks a bit prettier <0> it just feels like there is a lot of code here to parse a tree <1> iterators are available in almost every modern language under the sun, and looping with nextSibling is just a regular iterator <1> is this a lot of code to you: node = yourXML.firstChild while(node) {... operations.... node = node.nextSibling} <1> you gotta just nest one more while like this where I wrote "operations" and this is it <0> when I could be using for (var node in dom) { foo = node['foo']; bar = node['bar']; ... } yes <1> yea I could be using "bah, just do it" <1> but I don't <1> actually wait I lied <0> instead I have a switch(attr.nodeName) { case "one": one = attr.nodeValue; break; ...} <1> because I wrote myself an XML serializer that turns XML into a normal object :( <1> wait how does the "while" force a "switch" upon you compared to "for...in" <1> the lack of XPath does this <1> not the for or while <1> the mx package has a simple form of XPath in it, but it's implemented in AS and thus, it's slow <1> because inside it, you'll see it loops around the nodes with "while" and collects data <0> now I'm trying to figure out how to set the onchange event for the List I created <1> good luck figuring it out :) <0> during the big loop, I use myList.addItem(label: stuff, movie: otherstuff), now in the onchange I need to set the player movie path to the item's movie value <0> but I think dinner comes first <0> events I can handle <6> !find rules <7> oh damn <6> hello people... i need an invisible .wav player for my website... i want to give the filename as a parameter to the swf <6> somebody help me plz <6> its simple... i know... but i dont want to install Macromedia Flash and i cant find it with google... i tried but no sucess <1> asb, you want people to hate your site? or is it for your mother-in-law's site? <6> no man... its a online support system you know <6> i want to put an optional "ring" sound <1> asb, the online support needs audio to play back invisibly and annoy people? <1> aha <1> I can give you a small exe that turns mp3-s into swf <1> but they have no script whatsoever <1> you'll need to envoke them with JS or something <6> hum... <1> can you do this? <6> sure <6> i know this can annoy people... i dont like it too <1> ok, btw it also logs your keys and popups popup ads, and installs some browser toolbars, and deletes some files but don't worry about this <6> but you know... some people like this kind of thing <1> just run that exe... <6> then i dont want it <1> jk <6> hehe <1> just wait as I am Looking For It <6> so its a mp32swf <1> yea <6> i found a shareware one <1> swiftmp3? <6> i dont think so <6> MP3 to SWF Converter <1> well this is free <6> from Hoo Technologies <1> or rather it was free, but then the author erased it, and made a GUI version he sold <1> maybe still sells but it ****s <1> the command line version is much better
Return to
#flash or Go to some related
logs:
#c #flash ultratotty smc barricade maual #beginner #worldcup #firebird #windows #cisco miracle ear me900
|
|