| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14
Comments:
<0> How do I get the width of the stage? <0> : <0> :o <1> Jihad. <2> jihad! <1> Hello my brotha! <1> If only channels were WTCs eh. <1> Anyway, I'm just bugging someone. <1> Don't deport me, please. <3> ahou <4> va=dunno yo, they seem to have that **** locked down hard <4> d'oh <4> wrong chan again <4> sry <5> spaz <5> =)
<4> lolol <4> i'm a dumb*** <6> can someone decode this pls "Question" + pad(nRandomLangPart, 3) + "_" + pad(nLanguage, 2) + ".xml" <1> You can say that again, spazzah. I'll clap this time. <1> :P <4> lol ph4nt0m <4> va=dunno yo, they seem to have that **** locked down hard <4> clap plzkthx <4> +) <0> I created a basic cl***, and I have my movie clips using Linkage towards them; however, can I modify an objects property for the instance? like MyCl***.Value = 32; <7> hrm <7> exporting cl***es to anything but the first frame breaks everything <7> ahh <7> haha <7> must make sure the linkage on all the components/etc in the library are not checked to "export for first frame" <8> makes sense for a framework doesnt it? <8> or does it.. <0> <blah><cow>hey</cow><cow>hi</cow></blah> <0> var test = this.firstChild.childNodes; trace(test.length) <0> Is 0, guess im navigating that wrong? <4> err... traces 2 <0> thanks spazzah <4> no prob fredg <0> How do I instance a movieclip within as <4> thru the properties panel <4> instance name in properties panel <0> within actionscript <4> after mc has instance name, then just ref thru as <4> _root.instanceName <0> I dont have it instanced yet, i want to instance it within the code <4> _root.instanceName.instanceName <4> oh... <4> yu creating dynamically? <0> yes <4> duplicating or attaching from library? <0> attaching from library <4> using waht method, a for loop? <0> yes <4> for(i = 0;i<yourVar;i++){attachMovie("clipFromLibraryName", "name" + i, i);} <0> Awesome, thanks <4> where clipFromLibrary is the name ***igned in library, name + i = new instance name, i = mc depth <0> yep, thanks <4> cool <0> how can I modify properties of the newly instanced movieclip <4> cliptoModify = eval("name" +i); clipTomodify._visible = 0; <4> all done in the for loop <0> ah, need to eval it <4> yep, to identify <0> I just tried var name = ("name" + i); _root.name.property <4> eval will do it <4> !w000t <4> (. Y .) <0> Alright, can I pastebin something, the xml is making me angry :p <4> hehe ... RozaBG ... lol <4> do it <0> http://pastebin.com/754507 <0> http://pastebin.com/754509 -> that's the xm <0> xml* <4> name + x //need to increment the instance name <4> or everything will have the name "name"
<0> var name = "iButton" + x; <4> need to have unique names <0> that's what that is <0> im resetting the name var everytime <0> so its a string, then I eval it when I want to modify the properties <4> you're doing it b4 it is happening <0> ? <4> therefore, it's not being appended to the mc <0> attachMovie("Button", name, x); <4> you have to do it after the mc is attached <4> attachMovie("Button", "name" + x, x); <0> but that's the exact same as doing var name = "name" + x; attachMovie("Button", name); <0> isnt it? <4> might work you way, not sure, but that would mean it woyuld be 1 name behind what you actually want <4> it's not the same <0> regardless <0> that's not the problem <0> the problem is its not reading the xml correctly <0> giving me undefined <4> you're creating the name, then creating the mc, so the mc will take the name on next loop <4> better to do within the attach statement <0> alright, but that wasnt the problem (its working fine) <4> hmm...not reading the xml eh? <0> my problem is i dont have the xml reading correctly <4> ahh... <4> var xml = this.firstChild; <4> but you shouldn't call your xml var xml <0> I have that <0> var buttons = this.firstChild; <4> var xml = new XML(); is defining the name of your xml obj <4> in this case, your xml obj is called xml <0> yes... <4> var myXml = new XML(); <4> would be the better wqay, then... <4> var buttons = this.firstChild; <0> Just a different naming convention <4> damnit <4> instead of var buttons, var myXml <4> you are referencing the name of your xml obj, but it doesnt exist <0> ok, forgetting about the names of my variables.. i just want to fix the problem ;o <4> var buttons hasnt been defined yet <0> yes it has <0> if ( loaded ) { <0> var buttons = this.firstChild; <4> nope, as doesnt understand that var buttons = your xml obj <4> var buttons = new XML() would do it <0> I just got it workign ;o <4> replace var xml = new XML with var buttons = new XML(); <4> cool <0> newClip._y = (newClip.height * x) + padding; <4> you fix byed switchin buttons with xml <0> Why isn't that moving my clips down ;o <0> no, <0> there we go, i forgot the _ before height <7> hah <7> no way <7> got this preloader / export issue almost ironed out <7> BUT, i can't get the font to show unless I export to first frame <7> can't drop a font from the library onto a frame either <0> Alright, it's all working, got buttons generating from xml <0> first little actionscript project i did, thanks spazzah <4> nice <4> no prob <0> http://pastebin.com/754539 <0> Any suggestions? (It works) <4> for future ref, not good to call your variable xml, since xml is reserved keyord <4> even tho case sensitivy is active in flash 8, would be better to call your var myXml <4> or sumthin of the likes <0> XML is a function name, its not a variable <0> it's not reserved <4> its reserved for use in acttionscript <0> Not as a variable <4> well, XML is reserved <4> could create a conflict
Return to
#flash or Go to some related
logs:
#politics shitty google browser sync
X4vnc firefox www.lannibarbie.com/members/ #politics #online #debian #redhat looks just like jessica alba sghyrona
|
|