| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12
Comments:
<0> To make the name variable global, do i just do _global.this[name]=childs; <0> ? <1> no, you do _global[name]=childs; <0> Okey. <0> So how does [name] differ from name in a function? <1> for any object, obj.abcd is equivalent to obj["abcd"] <1> [] lets you access object properties by their name as a string <2> does anyone have a sample of loading a gif from http in flash? also loading an xml file over http from flash? that would be great pm me if possible in case i'm afk <0> brainy, Thanks. =) <0> brainy, Oh and last of all, if i wanted to spend a few weekend training myself in all the basics, where do you recommend i start? <1> probably at http://livedocs.macromedia.com <1> even though they **** <1> i don't know of any good tutorial sites, especially as they most have tutorials covering flash5 ancient deprecated code <0> I'm use to W3C and Application programming, so this is a tad different for me. <0> I liked Flash 5, honestly don't know what major changes they've made up till 8 that is causing me alot of these problems, well not this one. This one i can write of to being an actionscript newbie. <0> I've run into the wierdest bugs. =|
<0> Random PNG images corrupting the entire movie for one. <0> Which after you find the offender, you just delete and re-import and it works again. <0> =| <3> sciboy, colin moock's EAS book is a good read <4> god, what the hell <4> for some reason gotoAndPlay() absolutely refuses to work for me <5> Give more context <5> are you in a movie clip and trying to gotoAndPlay on the _root? <4> no <4> i'm calling it actionscript in the timeline <5> Well, I knida need more. <5> what frame do you want to go to> <5> *? <6> you need a number in yor gotoAndPlay(number) <5> Yes. <6> or you are tryign to goto the same frame as its allready in <4> i'm timing moving images on the screen by constantly going back to a frame <5> otherwise you use nextFrame() <4> i am doing that <6> or the code is simply not executing <4> i've got a trace right before it that executes <4> this has never happened to me before, i dont understand it <6> well, put a trace in the frame its supposed to goto <5> I've had trouble with nextFrame(), but You shoud judt look for maybe a stop on the next frame. <6> well, you will when you find your own mistake <5> It's going to be a little error <5> or pastbin it <5> http://pastebin.sekati.com <6> for all i know, you have a gotoAndStop/gotoAndPlay in the frame its going to <4> http://pastebin.sekati.com/?id=gotoAndPlayproblem@8eff0-64edd602-t <4> ahh <4> now its basically functioning as gotoAndStop <4> the frame it moves to doesnt play through <5> add a play() on the frame you goto <6> shouldnt be necessary <6> it would only stop on frame7 if there is some code there which tells it to <4> play() didnt change it <3> its probably never executed <4> it is <3> u trace inside the else not outside of everything <4> i have a trace before and after itr <4> f1, i have a trace on the frame it is going to <4> so i know it is executing <4> the frame it goes to stops, however <6> must be a reason its not playing then <6> do you have any frames after frame 7? <6> if yes, then youmust have some other code interfering <4> the code i pasted is on frame 8 <6> yup, thats a frameloop then <6> but doesnt exapling why it dont play on frame 7 <4> i've done this type of thing many times before <4> and i dont remember encountering this problem <4> do you think the fact that i am using xml is messing with it? <6> no <6> you obviously have more code somewhere <6> could be something like checking a number vs. and XML attribute <4> do you want me to post all of it frame by frame? <4> hmmm <3> guide all your frame7 ***ets and try again <6> you could do that <6> but its has to be something between 7 and 8
<4> what do you mean f1? <3> and do trace("frame8") on frame8 <6> unless you have some independant event function running which isnt supposed to <4> f1, i am <3> i mean remove all ***ets so u know for sure nothing on 7 stops the movie <7> is there an easy way to allow users to upload files to a flash site? <6> just a question <6> you are expecting it to loop between frame 7 and 8 right? <4> yeah <6> there must be some code in frame 7 <6> paste that atleast <4> i am looking at that <4> hold on <4> mother****er <4> its the xml <6> yup <4> just a sec <4> ok <4> what i'm doing is frame 7 is dynamically loading an image with loadMovie into a blank mc <4> which is in an if statement <4> for some reason that line is tripping it up <4> even though it shouldnt even execute every time around <6> sounds abit tricky that event scheme of yours <4> i swear to god, flash is a ****ing uphill battle <6> would be 10x easier to control if you didnt use frames <6> merely events <4> how would i do that? <6> for 1, those commands you have in frame 8, would be a check function for instance <6> and gotoAndPlay wouldnt be used ofcourse <6> i never use frames, because all can be solved by trigger events <6> i mean, you have a frame loop between frame 7 and 8 <4> the reason i have it that way is that i'm slowly moving MCs around <6> and in frame 7 you also have a function that loads an image <6> sounds like a tripwire just waiting to be triggered <4> so i'm moving it like 2 px every time it executes <4> and i dont see how i would do that with events <6> yera, but you have something called onEnterFrame <6> which runs a function at the speed of framerate <4> i'm not sure i understand you <4> what do you mean at the speed of the framerate? <6> your moving a symbol 2 px each time "it" executes <4> each time the frame's code executes <6> that can be achieved by enterframe, which runs a function at the speed of framerate <6> no need to jump between frames <4> ahhh <6> this.onEnterFrame = function(){ trace("my loop this is silly") } <6> try that <4> word <4> alright <4> is that a new event? <6> been there since flash6, and flash5 in a different incarnation also <4> hahah <4> so no <4> yeah, i'm the type of programmer that just reinvents whatever the hell i need because i cant use a ****ing api <4> but you just made my life easier <4> thank you <6> good luck in trapping that bug <6> I mean, doesnt mean that it automatically dissappears <4> i narrowed it down to the line with loadMovie <4> i am loading a remote image into a blank mc <4> and that was causing it not to execute <4> which is an awesome bug <4> how do you stop the execution of the onEnterFrame function? <3> onEnterFrame = null; <4> from inside the function? <3> ya <3> u can do it outside too just need the right path <4> alright, that works <8> i've always used delete this.onEnterFrame; <8> probably doesn't make a difference though <5> I want to get the top item value of a comboBox when it load.s what method would I use, I looked in a big list off google. <8> !find getItemAt <8> !find -c FComboBox.getItemAt <9> FComboBox.getItemAt == http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary219.html
Return to
#flash or Go to some related
logs:
caiwhiqk jy+randall+johnny06 #stocks hyuhuh adapter fcpga-fcpga2 #nhl #beginner #beginner silicon image driver #computers
|
|