@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11



Comments:

<0> ok
<1> 0 is start at 0 seconds
<2> flash has issues
<3> yes..
<4> ok - cb.value returns true/false outside the on (click) event
<4> that is peculiar!
<1> trace(check_chbx.selected); works fine for me
<3> bigest isue is performance i gues.
<1> you have to set up a listener, and not use an clip event
<4> well.. fortunately I don't :) I was just using the clip event to figure out the syntax. all I need is to put cb.value in a few if statements
<3> why is listener better?
<4> so thanks everyone :)
<3> exept for clearer code.
<3> clip events is good for flash beginers.
<1> var checkObj = new Object();
<1> checkObj.click = function(ev:Object) {



<1> trace('selected: ' + ev.target.selected);
<1> }
<1> check_chbx.addEventListener('click', checkObj);
<3> listeners is for advanced As scripters.
<1> i wouldn't call that advanced :)
<3> and flash is popular for not being so dificult for beginers.
<1> wait till AS 3.0 comes out, there will be no more beginners, no more clip events, no more buttons, yay!!!
<3> :)
<1> everything is based on events and listeners...the way it should be
<0> Ahhhhh...
<4> ok... um... how do I change the font size of the checkbox? :)
<0> ------------------------Well shouldnt this wortk as a sound fade out:
<0> while(snd.getVolume() > 0) {
<0> snd.setVolume(snd.getVolume() - 5);
<0> }
<1> setStyle
<4> ok great
<3> I whait for AS3 too..
<3> if it will perform 10 times better..
<1> suppose to be a lot better than 10 times
<3> will see..
<1> i have seen
<1> been playing with it for months now
<3> sick of hiting my head to performance limits...
<5> cool
<1> and really the performance isn't that bad now, it just depends on the coder and how the optimize their as
<5> i want AS3!
<3> oh.. will test flex first fing after my exams.. :)
<1> gotta run, but check out my blog if you guys have a sec...http://blog.scottgmorgan.com
<4> umm... cb.setStyle(fontSize: '12px'); gives me an error
<4> whats the syntax?
<3> hm.. what kind of tehniques do you use to test flash performance...
<4> I think I am starting to dislike flash :)
<4> I don't know why I have to write five lines of code just to set a font size
<1> umm you don't...use CSS :)
<3> :)
<3> you will have to write 5 lines in scc..
<3> but once..
<1> and you can change it externally
<0> I have music in one swf movie. When i test only this movie it works perfectly. Byt when i run the whole application with this movie on top of another one, the sound doesnt start? Why is this?
<4> I don't think i want to change it externally or use CSS ... there is only one check box in my project. and I just want it to be a little bigger than it is
<1> create a custom check box then
<1> or use a simple setStyle command
<4> so the whole reason these checkboxes are so hard to use, is because theya ren't really designed to be used the way I want to use them?
<4> are they designed for web integrated projects?
<1> check_chbx.setStyle('fontSize', 16);
<1> how are they hard to use?
<3> its a componnet..
<3> you can make one of your own enytime...
<3> with... simple use..
<4> they are hard to use because everything else I've done in flash so far has been wysiwyg/point&click easy to change visually.
<4> I suppose I will be making my own check box
<4> I am just disapointed at how the provided check boxes work
<1> the existing component architecture is for application type projects, and work great. If you are looking for components that are easy to skin and lighter create your own or use the components in Flash 6 (MX)
<3> yeh.. but dont use flash 6..
<1> no, just pull the component out
<1> really just a movie clip
<0> Pleeeeease... Ill go to bed after this one... I promise =) I have music in one swf movie. When i test only this movie it works perfectly. Byt when i run the whole application with this movie on top of another one, the sound doesnt start? Why is this?
<1> i would suggest creating your own, really probably < 20 lines of code
<1> why red?
<1> really annoying



<3> TuffJeppe> how do you link your sound?
<4> I will create my own
<0> snd.loadSound("mp3/" + soundUrls[trackNr][2] + ".mp3");
<1> using either attachSound or loadSound
<4> I would have from the beginning if I had realized that the provided ones were not good
<0> loadsound
<4> (for me)
<0> Do I have to activate soundchannels or something?
<3> try import for runtime sahring.
<1> you have to start the sound file after it is loaded
<1> and make sure the scope is set to the sound object and you haven't set the volume of another sound object that might be the parent of the current sound object
<0> Ok
<3> load mp3 sound. not swf with mp3 inside.
<0> I found it
<0> I thought that this would start it:
<0> snd.onLoad = function (succes) {
<0> if (succes) {
<0> snd.start(0, 999);
<1> snd = new Sound(this)
<3> or ... use import for runtime sharing... option..
<3> worked fine for me.
<0> But apparently that one didnt connect to the Root or something
<1> that only works if you have it in a library
<0> ok
<3> I am writing an article.. on flash performance testing tehniques..
<3> and looking for new ideas..
<3> :) anyone?
<0> Gaaa... im getting crazy... This doesnt work:
<0> snd.loadSound("mp3/" + soundUrls[trackNr][2] + ".mp3");
<0> snd.start(0,999);
<0> (I know the path is correct, worked a moment ago)
<3> snd = new Sound();
<3> ?
<0> yes
<0> i have that also
<0> snd = new Sound();
<0> on the top of my code
<3> look to output window..
<3> does it say something?
<0> no... everything is good... but the sound aint comming...
<0> it did a moment ago strangely
<3> check mp3 coding
<3> maybe problem there.
<0> I removed this:
<0> snd.onLoad = function (succes) {
<0> if (succes) {
<0> snd.start(0, 999);
<0> }
<0> because the other shoyuld be enough right?
<3> no.
<3> it tries to start sound...
<3> which is not loaded yet.
<0> Ok...
<0> perhaps i then should put this in root instead: snd.onLoad = function (succes) {
<0> naaa... didnt make any difference
<3> make a new fla... put it wit sound in one dir..
<3> var my_sound:Sound = new Sound();
<3> my_sound.onLoad = function(success:Boolean) {
<3> if (success) {
<3> my_sound.start();
<3> }
<3> };
<3> my_sound.loadSound("song1.mp3", true);
<3> .....
<3> test your mp3.
<3> if it works.
<0> ok... thanks man!
<3> then you make a mistake in adresing..
<3> moust likely..
<3> if not..
<3> bad mp3.
<6> someone know how i can paste the var nick in a function on frame 2 to frame 4 ? someone can look my code http://pastebin.com/744073 and see ?
<7> hello anyone want to help out with a project I'll pay


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #flash
or
Go to some related logs:

#beginner
#winvista
#politics
#politics
xtcrew
#slackware
#flash
#tcl
#debian
#nintendo



Home  |  disclaimer  |  contact  |  submit quotes