| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Comments:
<0> merZikain: as a game developer, do you have a preference between setInterval and OEF? or something else perhaps? <0> grfx <1> yes? <0> search for fscommand <0> in your help <2> !find -c fscommand <3> if i can i go with OEF <4> fscommand == http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary372.html <3> intervals tend to be a huge pain in the *** <3> they have their own uses though <3> the thing i use the intervals for when actually going to the game system is for setting pauses in the script <3> otherwise i avoid them <5> I'm having problems adjusting newHeight with values from an array, any ideas? <0> nizad, want to post the code? <0> in the pastebin? <5> sure
<5> idealist: I put it in a bin right now <0> link me <5> http://pastebin.sekati.com/?id=Nizad@189a1-3a1003b1-t <0> and in the xml your code.. myXML.firstChild.childNodes[i].childNodes[j].firstChild.nodeValue; ... returns a number of a height? <5> yeah, the values get loaded into the array <5> however on the frame I'm trying to adjust the newHeight it just wont work <5> unless I actually put in a number newHeight=333; <0> what happens when you trace newHeight? <5> I'll try it <5> I returns the exact value I'm looking for <0> there ya go :) <0> then what's the problem? <2> i'd have to ***ume the clip with onClipEvent(load) is beyond the frame with this myXML obj <5> yeah <2> since myXML obj takes time to get info - while the load would happen instantly <2> :/ <2> plus <2> its looking for <5> however the object I'm resizing - does not appear to change at all <0> ah, there ya go <2> arr1[1] <2> inside the movieclip <2> not on its _parent <2> onClipEvent's <2> automatically look for variables inside itself <2> 'on clip' looks for stuff 'in the clip' unless otherwise stated <5> should I change the reference? <2> oh wait <2> its global <5> yeah <2> shouldnt matter :) <2> newHeight however would be local to clip with onClipEvent ... <2> sounds right though <5> it's really strange <2> change details fires? <5> would you look at it for me? I could send you the file? <2> change details fires? <5> yes, it does <5> I'm creating a simple graph (columns) with a few labels underneath <2> ya, i cant really take files and such right now, i'm on someone else's clock :/ but in 2hrs or so can slack it up abit ya :) <2> if still a prob them <2> i'm just 'lookin away' right now due to own stress <2> lol <2> :> <2> umm <5> hehe <5> idealist: would you mind having a look at the file? <0> sure, post it somewhere with the xml <5> okay <6> anyone have <6> pdf tutorials on xml and flash <0> kirupa has some good tutorials, i don't know whether he has any pdfs <5> ymerej: what are you looking for? <6> well just looking for some simple how to tutorials step by step on how to use xml in flash <2> www.macromedia.com/devnet/flash/ <0> check out kirupa.com <6> i realise the need to have everying dynamic <6> what i really want to start off with is a simple how do i get info from something like <6> <body> <6> <stuff>blah 1</stuff> <6> <stuff> blah 2</stuff>
<6> </body> <5> ymerej: did you try the link I sent you? <6> oh <5> idealist: any luck? <7> when I load a movie to a MC, how do I get it to load to the center of the MC? <0> dude, you didn't send a link <5> idealist: eh, yes I did (private) <8> somebody here <8> ? <8> who knows about <8> JAvascript and html <8> www.uefa.com <8> check the background... <8> That gradient <8> how do i do that? <8> it's stays nice <8> on every resolution.. <7> when I load a movie to a MC, how do I get it to load to the center of the MC? <2> load it inside another mc, on load complete, set its _x -= its width - same for height <2> move the outer mc <2> content will be centered within <2> or use a mc from library that has a center registration - that might work <2> cant remember offhand <2> but any mc created with createEmptyMovieClip has a topleft reg - cant change it <2> in which case, you need to offset for such <2> depending what it is and your version of flash - you might wanna use bitmapdata <7> hrmm <7> I can just mc._x = 0-(mc.movie._width/2); or something? <3> i'm iller than a porno, i got skillz like zorro <7> MerZikain: super man? <3> no <2> mc.movie._x -= mc.movie._width/2; mc.movie._y -= mc.movie._height/2; // .movie centered within mc. <3> singin along with Funkdoobiest <2> ... ***uming loads has completed so size is definately correct <2> -s <8> what about me!:P <8> -__- <2> set your css <2> :| <7> Sanz: you would make a tall skinny gradient image <7> and <body style="background-image:yourimage.jpg background-repeat:repeat-x;"></body> <7> you may have to position it too <7> background-position: 0 0; <3> www.email***ault.com/walktest.swf <-- what do you think of that effect? <3> it's looping but it won't continue after it fades back out once i put it in the game <7> heh, for some reason when I _root.contents.loadimage('http://www.jamieherzlingerinteriors.com/dev/projects/carbone1/living_room/01.jpg',_parent.imagearea); do that it works, but when I _root.contents.loadimage(projectsURL+'carbone1/living_room/01.jpg',_parent.imagearea); it doesnt <7> I mean <7> they both work <7> but the first one gets centered <7> and the other doesnt <7> well **** me sideways <7> SHiZNiT: if I keep clicking the thumbnail to load the image, it moves away lol <1> yet another problem: I'm using a masked graphic in a button. The displays properly in the stage, but the mask becomes visible when testing the scene <7> if I create an empty movie clip, can I delete it? <1> ok, I switched it from a graphic to a movieclip and it works <9> OnoSendi: yes <9> mv.createEmptyMovieClip('bob', mv.getNextHighestDepth()); mv.bob.removeMovieClip(); <7> getNextHighestDepth? <7> mermage, you still there? <10> Hey <7> sup <7> wtf is getnexthighestdepth <11> what do you think <11> it might be <7> get the ****ing depth? <12> wow you dont have the help installed? is that the issue? <7> I read the help file <7> if I create a mc, I HAVE to do that? <10> No <10> It's preferable you don't <10> There is a bug with having AS2 components in the library and using getNextHighestDepth <12> there is? <10> I think it best to manage my depths manually
Return to
#flash or Go to some related
logs:
#politics #sex shmax linux #gentoo #sex #politics #beginner #computers #politics #red
|
|