| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Comments:
<0> I think it best to manage my depths manually <1> wtf is a depth? <1> heh <2> sigh <3> yeah its best until you need it <0> Squee-D, any AS2 component reserves teh highest depth available for itself <3> VgSlag ahh <0> getNextHighestDepth goes 1 higher than legal allowed <3> stupidity :) <0> Making an immovable clip <2> vgslag so (getNextHighestDepth() - 1) ? <3> yup i get it <0> removeMovieClip wont work <0> So you need to change depth <0> It's fine if you know about it <0> But a pain if you don't
<4> al_x, you see a market for freelanced flex developers <2> there's a market for everything <4> ahh yes <4> the flex framework is expensive though <3> VgSlag any idea what v2comps do with that layer? <1> these help files are horrible <1> then again it's macromedia <3> the help for flash is pretty good <1> nah <1> ****s <1> doesnt explain **** <3> perhaps it ***umes basic competency.. which comes from doing the tutorials <2> yeah it does <1> STFU <1> ALL OF YOU <1> IM RIGHT <0> Squee-D, they reserve it in case they need it <3> you shut the **** up <0> As to whether they do or not <1> lol <0> New monitor arrives tomorrow <0> :D:D:D <2> i always found flash help to be clear and good <0> But new gfx card doesnt :(:(:( <1> how do I name a movie clip once it's created so it can be called? <3> dude you name it in the creation <1> oh, heh. <2> .. <0> ono, you can specify in the creation or retur it as a reference <1> createEmptyMovieClip("myname here", getNextHighestDepth())); <1> ? <3> myclip = someTargetClip.createEm...("nameOfNew".. now you have myclip, or someTargetClip.nameOfNew <3> dont use spaces in the name <2> if you want it to be on the next highest depth yeah <3> just fyi, the name should conform to variable naming guidlines <2> but you need to specify the depth <5> should var myclip so it expires :| <5> :P sup <1> var myclip = blah.createEmp..("name",depth); <3> heh <1> then I can remove it with removemovieClip? <3> myclip.remove.. <1> k, ty <5> as long as depth is >=0 <3> Shiz i dont bother overeducating. I always use cl***es, never use dynamic. so by nature, i always predeclare my vars. <3> But i'm not gunna force any of that onto someone who hasn't got depths worked out yet :P <3> And im good, u? <5> eh - i got as2 cl*** infront of me with 74 private vars listed right up front, i hear ya on that :P <5> even if undefined - stated and accounted for <5> and i'm tired :( <5> lol <1> do I want to getNextHighestDepth of the path I'm creating the movie to, or the path of the new created movie? <3> the former <1> blah.create("mname",blah.mname.getNext...); <1> ? <3> nah blah.get. <1> cool <3> a moviclip can contain many movieclips. However visually, overlap has to be managed, so each clip must be on it's own depth. the higher the depth, the more 'to front' the clip is <1> I see. <3> so you are just asking for the frontmost available depth for the clip
<1> I dont understand why you have to set it to a variable when you create it <1> why not just createEmpty... instead of setting it to a variable? <3> you dont have to <3> it just makes it easier to grab the target reference <3> imagine you're creating a hand of cards for a card game <3> you would run a loop creating the clips, and storing a reference in an array so you can do something with them later <6> shouldn't only buttons display hands on rollover? The cursor turns into a hand when rolled over a movieclip <1> grfx: you have a mouse event set to it <6> hmm.... <6> the AS window is empty when the object is selected <7> can someone post the pastebin link please? it seems to have disappeared from the topic.. <6> I have named it <7> :S <3> pastebin.sekati.com <7> ty <1> grfx: mc.useHandCursor = false; if you want it gone <6> OnoSendi: ah, thanks <7> hmm can someone take a look at this please.. http://pastebin.sekati.com/?id=asdefafff@fd4d5-de9d2977-t <7> and explain to me why my function on line 141 isn't being called correctly :P <1> does createEmty() apply the mc to the top layer? <7> even thought i seem to be calling it on line 121 <6> OnoSendi: still displays a hand <7> if anyone could take a look i'd be grateful :) <3> alx <1> grfx: your not doing it right then <3> Al. Its because its a private function <3> its only accessable inside that function <1> how do I check if a movieclip exists? <7> oh <3> You need to put that function outside the others <7> 2 sec <8> Al` what do u mean with "isn't being called correctly"? <7> well <3> that should fix it, otherwise when onEnterFrame calls it, it will be out of scope <7> i put a trace inside the function that i want called and it doesn't show <3> I don't like functions in functions <7> 2 sec squee i'm fiddling with it now ;) <5> ono trace(mc); would return the path to mc _level0.path.to.mc; <3> Thats what cl***es are for <5> if(mc != undefined) ... <1> I tried if (mc) ... <5> or == <7> but squee <3> if (the.path.to.mc != null) <7> when i call a function on line 135 via line 97, that works perfectly and it's the same layout? <3> that will test if it exists <1> hrmmm I have a function being called <1> and I have <1> imageClip = path.createEmptyMovieClip("imagearea", path.getNextHighestDepth()); <1> and if (path.imagearea != null) { trace("blah); } <1> and no worx0r <7> squee, do you know how i can correct my problem? <8> no <8> OnoSendi u'r creating that movieclip inside the root <8> or the mc which contains path <8> and not inside path <8> so if (imagearea != null) { trace("blah); } <1> why am I creating it in the root? <1> im creating it in "path" <1> no? <8> ops...no sorry...i read it wrong :| <1> hrmmm <3> oh right my bad <3> enemyLayer_mc.specnm.onEnterFrame = mx.utils.Delegate.create(this,specEnemyEnterFrame); <3> try that <7> what the heck does that do? lol :S <8> lol <5> .call( ) :P <7> well i just put it in and it didn't work <1> SHiZNiT: what's my problem? <3> al i gave you something to try <3> enemyLayer_mc.specnm.onEnterFrame = specEnemyEnterFrame; <3> becomes
Return to
#flash or Go to some related
logs:
#computers #beginner #murder german goalie looks anuit coeptis #politics #beginner #battle #computers Matrox g350 card
|
|