| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13
Comments:
<0> var obj = _root[each]; <0> if(obj instanceof MovieClip) { <0> var objDepth = obj.getDepth(); <0> trace(obj._name + ":" + objDepth) <0> } <0> } <0> try sticking that in both the pic and the page to get thier depths <0> then take this <0> my_mc.attachMovie(idName:String, newName:String, depth:Number [, initObject:Object]) <1> oh isee <0> and use it for the page movie clip <0> that should solve the depth issue, or at least tell you where its going wrong <1> p3:-16383 <1> thats very odd <0> hm its being p***ed from somewhere <1> definitely
<0> _level0.pages.p1.page.pf.ph.pic.getNextHighestDepth()) I think this isnt right <0> have you tried just _root.getnexthighestdepth <1> **** i totally havent <1> occam's razor <1> lol <0> or _level0.getnexthighestdepth <0> generally I dont use _level0 unless I used lockroot for something specific <1> ok <1> pleft = pages.p1.page.pf.ph.attachMovie(pageOrder[p1],"pic",0); <1> this is how the page is being attached <1> through its linkage identifier <1> so then <1> i could do <1> pic.getNextHighestDepth() <1> ? <2> pages.p1.page.pf.ph.getNext... <1> yea i tried that <1> thats what i had when i first came in <2> yeah thats the one you want <2> pic doesnt exist until after the command completes :) <2> also <2> if you do that more than once.. <2> pic needs something to make it unique <2> pic1 pic2 pic3 or summin.. <2> usual trick is to give it the depth as well.. ie: <1> well if pleft = pages.p1.page.pf.ph.attachMovie(pageOrder[p1],"pic",0); <1> cant i just do <1> pleft.getNext... <2> var d:Number = targetClip.getNextHighestDepth(); newClip = targetClip.attachMovie(someLinkage,"pic"+d,d); <2> no <2> pleft will point to pic <2> and neither pleft or pic exist until after the execution <1> oh isee <2> and its the depth as it pertains to the clip you are attaching to. <2> which in this case is pages.p1.page.pf.ph <0> is there a program that will take actionscript 1 and rewrite it to do the same thing but using as 2 <2> dunno <2> it's certainly compatible <0> hm, I have this code for rotating a movie clip to follow a mouse and fire a shot, but for some reason the hittest only works on every other generation, like its not p***ing the variable to the hittest code until it generates another random instance <0> and its old code, but I really dont want to rewrite all of it <1> with as1 to as2 i usually find that character case makes a huge difference <1> varname to varName <2> well yeah, its enforced <2> but you should only encounter that as a typo coz we all know that only the worst kind of people mix the case of their identifiers. <2> :) <0> lol <0> http://pastebin.sekati.com/?id=Anonymous@e756e-fa0065fa-t <2> omg <0> take a look at that, and see if you can figure why it doesnt work for the hittest after you shoot first object, then when second object expires and third generates it allows you to shoot it <2> thats as1 with flash4'isms <0> exactly <2> i gotta make my wife a coffee, bbiab <0> its from an old tutorial <2> and i aint lookin at your code, sorry man, rewrite it :) good excercise anyway <1> nice conditionals <1> every heard of for loops :P <1> jk <1> ever* <0> which part are you talking about thesis? <3> i'm trying to put my main code into its own movieclip to make it easier to create/destroy <3> am i allowed to use onEnterFrame in that new movieclip?
<4> hello <4> wondering if there is any good 3D plugins for Flash? <5> google for swift3d <6> what is a good flash program <6> does not require much knowledge of code <5> oh ffs <5> what is the deal with people asking that? <3> lol <3> that's a rubbish question isnt it <6> anyone <6> no <3> what do you want to do? <6> just knowledge of little code + be able to import AI files <3> AI? <5> Illustrator <3> yeah, but what do you actually want to create <6> well menus <0> okay how would you fire something using actionscript along the angle towards the mouse, IE what vars need to be p***ed to the dupmovieclip <3> flammingo: why dont you just use html <6> i want the little bit of spice to it <3> Wildburn: there's some good example code of this top down shooter type stuff lurking about on flashkit <4> MerZikain: i want to be able to do the same 3D anims as BBC WORLD got <4> if you know what i mean <4> :) <5> i don't <5> and i answered your question, the rest is up to you <4> seen bbc world vignets? <5> meaning arbeit macht frei <5> <-- american <5> i don't watch tv either <4> ;p <3> the spinning earth thing? <5> so you're kinda lost with me on two fronts <5> hehe <4> David___: yes <3> lol <4> and with the first news headline text scrolling over it <4> how is it done? <3> dunno, probably with something like maya, surely <5> i'd be quicker to guess a video editing program than 3d software <4> hmm <0> David, all the stuff I find on flashkit has really strange code and tweens to make a bullet move, shouldnt be that hard, just cant figure out beyond p***ing the rotation of the gun clip to the bullet, what I have to do to make it move in the right direction <3> well i think there's crazy stuff going on which is probably easier with something like maya <0> amix, your best bet for getting 3d into flash is using something like 3ds max or maya then exporting to 3ds and using swift 3d <0> as far as size goes, but mats **** in swift 3d <3> Wildburn: you can get the target mc location by doing target._x and target_y <4> oki <3> Wildburn: find the difference between the target x and y, and the start x and y <4> Wildburn: possible to use Blender also? <3> amix: yeah probably <0> amix yeah blender is fine <3> amix: welcome to a m***ive learning curve <4> I know Flash <4> no problem there <2> does blender actually become an efficient tool once you understand it? <4> i also know 3D Studio Max <3> just saying 3d progs i've tried always have a hideous learning curve <2> blender is that * 100 <4> hehe <3> haha <3> i once tried it <3> ended up receiving stuff from their mailing list for years <3> still found it the most horrendous UI EVER <4> :) <3> found maya the most intuitive bizarrely- had really good help <4> i just want to create cool 3D vignets <4> :) <4> i hate those flash idents <3> like what? <4> remember the good old cool 3D vignets which Sky Channel used <4> :) <3> oh all that helicopter **** <4> sorry <3> you're getting into full on mograph territory
Return to
#flash or Go to some related
logs:
#freebsd #beginner #gentoo #windowsxp #politics #unix #linuxhelp #computers #stocks #solaris
|
|