| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9
Comments:
<0> i have to tell the client that it can't <1> Chuxter: If this code is good it should do what you want: http://www.actionscript.org/forums/showthread.php3?threadid=25131 <0> that you have to convert to string if you want 24,5 to display as 24,50 <2> oh right <2> you're talking about currency <2> cant you just code up your own function? <1> I think the easiest way to do it would be convert to a string and test if(theAmount % 10 == 0) <0> yea , you create a function. but the function has to convert to string <2> well think about it <1> i.e. check if it's divisible by 10, 100, 1000 & then add zeros if that's the case. It's ugly <2> if there was a currency function built into flash <0> ok i'm out. good luck guys. see ya all <2> it would be converting to a string anyway <1> Actually better still - p*** the total amount in cents, pennies or whatever your lowest denomination is <1> convert it all to a string <1> and add a decimal point in the appropriate place
<1> and of course add or $ or whatever to the beginning <2> he's gone :p <1> ah well <1> maybe someone can help with my problem then.... <1> I'm creating a new instance of one of my own cl***es but it seems to be using an old version of the .as file. I've tried exiting flash and reopening but the problem persists. Can anyone explain please? <1> online documentation for flash is really quite poor. So much is missing from the actionscript dictionary <3> indeed <3> btw, someone knows where i can find good doc about tracking progress of a loadMovieNum ? <2> Famic- getBytesTotal() and getBytesLoaded() not giving you what you want? <3> dunno what to point them to, actually <2> paste me a line of code where you use loadMovieNum <4> moviecliploader \o/ <3> i need the loaded movieclip to be on its own level <3> jessica84: atm i just do loadMovieNum("myswf.swf", 1) <3> it works...but i dunno how to trace its bytesloaded <2> can you trace the loaded movie itself? <1> Famic-: what are you trying to do? Do you want to know when it's loaded? <3> Jodaq: i want to make a percent bar on it <1> Famic-: you want a preloader <3> jessica84: not really <1> Famic-: There is a LOT of info on building preloaders on the interweb <3> i dunno how to point to it <5> this **** is confusing the hell out of me <3> Jodaq: thanks, i did make alot of them altely with different ways...but it's the first time i use loadmovienum <3> until now it was only loading external swf or images/videos in mc...never touched _level1 <4> Tip: To monitor the progress of the download, use the MovieClipLoader.loadClip() method instead of the loadMovie() method. <4> from helpfiles <3> yeah i saw that <2> Famic- <2> your clip is simply going to be _level1 <3> but i'm not sure loadmovie loads it onto a new level <2> trace(_level1) will trace your new swf <2> however it will be undefined until the clip is loaded <2> so even on your local machine it wont work if you trace it in the next line of code <1> Famic-: _level5.getBytesTotal(); <3> so for making a progress bar it's a bit anooying, isn't it ? <2> load it, then set up an onEnterFrame to keep checking _level1.getBytesLoaded(); and _level1.getBytesTotal(); <1> or whatever level it is <2> thats your answer <3> jessica84: thanks...but if it's already loaded, it doesn't need a percent bar...:/ <2> not saying that at all <2> it will take a number of frames for the swf to load <4> loadclip("foobar.swf",eval("_level" + i)); <-- ? :P <5> fine, if it's not going to work when I replace my old one, I'll just rewrite the goddamn app <2> your onEnterFrame will check the progress on each frame <6> um <6> when should you make a progress bar? <3> i see...perhaps a tracking function launched on setInterval will do the trick then <6> for example, would it be nice for a 45kb flash clip to have one? :] <3> BrainClot: mine has 70kB ;D but i'm friendly to slow users <6> lol <6> well, i consider myself slow and i have 2mbit/s lol <4> well, i only show percentage if its a small app. no need for a bar if its going to be gone in milliseconds most of the time <3> right...let's say it's just for educational purposes ;) <4> educational purposes is what you learn from <3> and hell i do learn <4> and im not sure, but i would try a moviecliploader.loadclip("foobar.swf",eval("_level"+i)); just for the heck of it <3> but can MovieClipLoader.loadClip() load a swf into a new level ? <2> Famic-, i gave you a solution.. whats the problem? <3> jessica84: the problem is i want to confront the loadmovienum ;)
<3> and get what i want out of it <2> do be do.. okie doke *back to work* <7> hi <3> plus, my site is only code, everything is on the first frame or in the mcs in library...i'm not sure this is compatible <5> btw, anyone remember my Tab_mc linkage problem? <2> i respect that you want to 'learn' but this is the crappest way in the world to learn, its hacking.. buy a flash book :P <3> i love reverse engineering ;p <7> hi, i was using a swc in my flash application that my friend had made. he's now updated it but given me a swf file instead, and he says all i need to do is load it at runtime. can anyone tell me how to do that? <6> lol haxor <3> plus, jessica84, this is a way better learning than books <2> lol <2> it really isnt <6> Famic- you won't remember **** :3 <3> i read books, internet, decompile things...and make tries...that what's teaches me <7> can anyone help? <3> on the contrary, i think having to figure out how things works is the best way to get them in mind once and for all <6> you'll understand the way how to do things, but you'll kinda lack the skill to actually write it :] <7> do i do attachMovie? <6> lol food <3> BrainClot: yeah, right....not understanding by oneself's is the best way....lol <8>) I-n-v-i-s-i-o-n <7> before i just dragged the swc onto the library <7> but if i now do that with the swf it no longer works <2> learning from the ground up leaves you with a systematic approach to solving problems, a system that doesnt involve asking random people on irc :P <3> gathering all available infos wherever it is on a subject is a good approach to me <9> I need someone's advice about the persistence of movieclips when they're not in the timeline <7> can someone please help? <2> Famic-: its all good and well for a hobby... but if you have any plans to do it professionally then you're gonna embar*** yourself when you realise you dont know a lot of fundamental things <7> jessica84: do you know how i load a swf library at runtime? <9> If I instantiate a cl*** and ***ociate it with a movieclip instance at startup, but then the timeline moves and the *enclosing* movie clip is no longer on the stage... <2> squidman: not really sorry, im pretty new to flash <9> is it better to somehow just have the MC still on the stage but change its _visible property? <3> jessica84: i dunno why you suppose i don't.. <7> does anyone know how to do this? <2> thom_: that will stop it from processing the visual aspect of the clip which will lighten the load, but it wont stop the clip from running any code in it <3> jessica84: the fact that i'm asking questions in an help channel doesn't imply i know nothing about flash :p <9> jessica: Forgive me for asking, but having just said you're pretty new to flash, are you certain you know the answer to my question? <2> Famic-: not suggesting that, just that you seem to be fussy about the solution you want.. its an odd mix.. a high standard hackjob <2> thom_: lol, yeah that 1 i do <9> I'm asking whether the timeline moving on will destroy the instance of my movieclip, thus dis***ociating it from the instance of my cl*** <7> thom_: do you know how to do load swf librarys at runtime? <3> i have time to experiment atm...i don't want to stick to solutions i already know...wh does it bother you ? <9> squidman: If I knew, wouldn't I have answered you instead of you asking every thirty seconds? <4> thom_: jessica84 was right <2> oh ok, thom, i cant answer that.. but i am sure that if you stay in the same frame what i said applies <9> Gee... thanks! <9> bonedawg: Jessica didn't answer my question, whether she was right or not. <4> i dont know <4> im just saying random stuff <4> pretty comfortable with that <4> looks like the rest are following my example :P <7> hehehe ok thom <7> surely it must be easy if so many places offer swf libraries <4> and if its any help thom_, i think the answer to your question would be yes <3> lol <3> and rtfm <4> rtfm ftw <10> :D <1> please someone tell me why it is that my fla creates new objects from an old save of my .as file. I've closed flash, restarted the computer, made sure there's only one version of the as file but still it's somehow finding an old version of the cl*** <4> so, the .as is in the same folder as your .fla/.swf is the right one? <1> bonedawg: yes <4> wow <2> have you double checked your publishing directory? if you moved the fla it would still publish to the old directory <4> change name of cl*** and file :p <4> although stupid, it would solve the problem <1> it's publishing to the same directory. I'm debugging the cl*** it's using an old version because of the traces within the old and new versions of the cl*** <1> bonedawg: I reckon that will work but I'd like to know what's going on. <4> Jodaq: i feel your enthusiasm, but i really dont have a clue <1> cheers <4> tried searching computer for other versions of the .as ? <1> bonedawg: yep. It's pretty frustrating. I can find an answer to c++/python questions in no time, but actionscript seems to be especially poorly documented. <10> poorly documented?
Return to
#flash or Go to some related
logs:
#politics dell sc430 delete partition
#politics rast gasser holster pictures cindirela story #flash modo201 pictures wine #beginner efnet badmin
|
|