| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Comments:
<0> i have no clue how to do this <0> !google director put tutorial <1> http://www.ils.unc.edu/dempsey/multimedia97/labs/lab3/director0.htm <2> stop abusing the bot <0> !google director message window tutorial <1> http://www.vtc.com/products/directormx.htm <0> i dont know how this all works, im sorry <2> snakeyes here you go <2> http://www.herts.ac.uk/lis/mmedia/directortutorial/lingo8/lingo.html <3> hey.. how do i use multi-dimentional arrays in actionscript ? <2> strand what specifically do you want to do with them <4> is there something special about using multi-dimensionals arrays in actionscript? <3> well.. im used to php... and there i can use arr[i][a] = 'value'; im using this to send news-info from php to flash and then print them in flash. so i'd use something like news[id]['header'] = 'Strandmyr ****es it up'; <2> my_array:Array = [[1,2,3],[4,5,6],[7,8,9]]; trace(my_array[0][0]); trace(my_array[1][0]); trace(my_array[2][2]); <3> oh.. <3> that looks.... messy:p
<3> but ok.. <2> 'header' isnt a value <2> its not messy <4> nothing messy about that <3> i cant use ***osiative arrays? <2> what do you meant <3> no im just kidding.. just used to another way:) <2> mean* <3> i mean arr['index'] = 'value'; isnt possible ? <3> since you say 'header' isnt a value .. <2> index being a integer yes <2> but it would be <3> cant the index of the value be a string ? <2> arr[index] = 898; <3> but wont index in that case refer to a variable with the name of index ? <4> strandmyr: I can't imagine how <2> neither <2> i think you got your logic mixed up <3> ok ? <4> I suppose there are other data structures for that kind of stuff instead of arrays <2> strandmyr yes it would <3> ok <3> but how would you arrange data in my case? <2> var index = 5; arr[index] = "blah"; <3> sending news-info to flash <2> !find -c Array.sort() <2> !find -c Array.sortOn <1> Array.sortOn == http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary069.html <2> !find -c Array.sort <1> Array.sort == http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary068.html <5> i need too buy some really good flash/actionscript books, any suggestions? <4> is there such thing as struct() in actionscript? <6> any movable type geniuses in here? <3> i have a news-id and all news have headers, id's, and an imagestring.. <2> goddamn this is a flash channel! <6> heh.. well its flash-related MT <3> isnt this channel also supporting actionscript ? <6> just wondering if anyone is using that backend <2> thats cool sick :) <2> strandmyr nah it isnt, what have we just been helping you with -_- <3> hehe <2> :P <3> can i just ask how you would arrange data in my case? <6> spasmface:are u ona mac? <2> i wish sickpup :( <4> strandmyr: look into struct() <3> hm ok <3> ill do that;) <3> new at this AS-thingy hehe <2> !find -c struct <7> http://www.winterrowd.com/maze.swf <3> lots of different way of thinkin <6> spasm: heh, usually people here hate me for using a mac <4> I sometimes hate myself for using one <2> Warren why do you keep posting this thing here <7> thats the first time <7> i posted that here. <2> you still didnt get rid of your damn mousedown bug <2> no its not <7> uh.. i didnt script the thing. <3> decoder: any links to struct? i cant seem to get any correct hits @ google
<2> ahh k, its been posted here before <2> strandmyr what do you want to do <3> hehe;) ok i wanna send news-info from php to flash <3> each news have 4 info-bits.. <2> no i mean with the array <3> id, header, image and link <3> yes.. store this data... <2> okay <4> well by the sound of things there is no such thing as struct with AS <2> so your id is what? <4> at least by that name <3> a number <3> ranging from 1-1.000.000 <2> right <2> sorry im confused <2> why do you want to reference an array using a string ? <2> i mean a cell in an array using a string <8> easier to type and then to remember <3> for simplisity... refering to arr[id]['header'] would be easy.. :D <2> why not just inset an object into the array? <3> agreed painz:) <8> afterall we have pentiums <3> an object? do tell :D <9> why not just have arr[id] = {}; and pop in props for the obj instead of using a 2d array <8> i keep objects in arrays <8> and arrays in objects <8> and all that in the tree <2> array[id] = {header: "hello", image: "blah.jpg", link: "blah.html"}; <2> which you can then refer to as <3> thats possible ? <2> array[id].header; <8> dont understand what you guys trying to come up to anyway <3> damn <3> that looks ***y spasmFace:) <2> ahuh :D <3> but.. <2> and thats variables in tehe object can be arrays as well <2> or whatever you want <3> do you know how i send these from PHP ? with the loadVars-thing? i know how to send normal values.. but im guessing i cant send the values like you described ?;) <2> but? <8> xml or amfphp <2> you could make a loop <8> or just some wikkid strings <2> yeh wikkid strings :D <8> i give the answer to you <8> xml or amfphp if you need objects transfer <2> he doesnt <8> who <2> crumpy numpy <3> hehe <3> but.. ok.. if i wanna send "var=value" with php to flash i just print "&var=value" and use loadvars to fetch it <2> !find -c loadVars <1> LoadVars == http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary427.html <3> ok;) ill look <9> i just want to stop coughing :( <9> and sleep <9> GOD DAMNIT! <2> stop smoking strep boy! <2> strandmyr your best bet is to actually use the XML object and send xml between your php and flash <2> its clean, and easy to handle <2> and you wouldnt need the arrays <2> ive never looked at amfphp*looks now* <2> oh cool, use amfphp strandmyr <2> objects turn into ***ociative arrays for ya :D <3> hm <3> is it for advanced users? cause when it comes to AS i am nothing of the kind.. :d <2> http://www.amfphp.org <3> *lookin* <3> thanks <2> look under resources for tutorials <3> ok <3> thanks;) <3> ill be back.. my manager must not find out that i cannot script:p <3> hehe
Return to
#flash or Go to some related
logs:
#mirc #ubuntu #netbsd why study lingusitics #nhl #beginner #tcl nekkidwolf #computers #worldcup
|
|