@# 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 12 13 14 15 16 17 18



Comments:

<0> heh
<1> heh
<0> dirty filthy time cheater
<0> :)
<0> exactly what i have to do too
<0> heh
<0> c/p new blocks to new docs - throw text into'm
<0> probably take an hour to do all
<2> quick question, on a button roll over i have it to play a .wav how do io get it to play it only once, or stop it if its hit again? righ tnow it plays it as many times as you hover it all on top of eachother and it get sloud..
<0> but i'm sure i can stretch it across 4 hrs
<0> :P
<3> stop it befor you play it
<2> its a roll over though
<3> when do you define the sound?
<2> .. like frame 2 of the button i dragged the wav on top
<3> on roll over?



<2> is that hte bad way of doing it?
<4> my result_lv keeps returning: onLoad-%5Btype%20Function%5D from the server... look familiar to anybody?
<3> define the wav onLoad
<3> then
<1> myButton.onRollOut=function(){stopAllSounds();}
<3> mySound.stop(); mySound.start();
<3> nah
<3> cant stopAllSounds()
<3> what if he has a bg loop
<1> sneakerz: i still haven't seen any code
<2> there is a bground loop
<1> i don't know exactly what it is you're doing and i don't wanna play 20 questions
<3> see
<3> ;P
<2> hehe
<0> set a flag
<0> and i dont mean a jolly roger
<3> lol
<2> so i think ill have to edit the button get rid of the sound from frame 2 of button, and then do an on rollover play sound 1 time
<1> then i'd say load the sound with AS and control it that way
<2> and stop it from playing first?
<0> only time you really need to do that is when syncing sound to animation via timeline - otherwise should use sound object
<2> k
<2> how would i add sound via AS on the button
<1> indeed
<2> ive never done that before
<1> sound obj > your mom
<3> try something like this
<3> http://pastebin.sekati.com/?id=Anonymous@adf1f-39116875-t
<0> rightclick on sound in library, and set its "LINKAGE" name - export frame1/export for actionscript options selected
<0> then refer to spooky's button code - should work for ya :)
<2> k
<2> brb
<3> it's not tested, i think it works though
<2> can i use this code for more than 1 button?
<3> sure
<2> or do i hav eto increment mysound to mysound1
<2> and mysound2
<3> i would
<2> k
<0> well, if pre 6,0,47,0 (or 4x - somewhere in there) stop/start within same block doesnt work - but anything 6,0,79,0 > 8 will be fine
<3> huh?
<2> my button is named 1, and i set the linkage and set the indetifier to 1
<2> do i have to change the code you gave me to 1's ?
<3> you set the buttons instance name to 1?
<2> yes
<3> can you do that?
<2> i guess so? heh i think its name is 1 now
<3> not sure if you can start a var or an instance name with a number
<3> you should be a little more descriptive anyway
<3> it's easier to read your code
<3> or come back to it at a later date
<2> true
<3> you may remember what xyz1_2 is today
<2> so how owuld i rename the button ?
<3> wait
<3> are you talking about it's library name?
<2> yes
<3> or the instance name in the propertys window
<0> sound1, sound2, sound3 in library .... attachSound("sound"+i)



<2> in the prop window should i have it linked to as and frame 1 too?
<3> im kinda lost
<2> otherwise the name says 1.. i dont see an instance name
<2> lemme ss this
<3> open the properties window
<3> there is a combo box
<3> which allows you to set the movie clips type on the stage
<3> right below that
<3> there is an text box
<3> that's where you put the instance name
<2> http://d55.yousendit.com/E/298QQ750OQTA73SGRODOB2GQ58/111.jpg
<2> thats what im looking at
<3> no no
<3> close that window
<3> see the panel at the very bottom of that picture?
<2> omg
<2> yea
<2> i see it now
<3> the "properties" window
<2> <instance>
<3> heh
<3> yeah
<3> good morning how are you?
<2> hahaha it feels like i just got up.. hah
<3> ;P
<2> but we all know thast not the real excuse
<3> that's where you would put
<2> so now the instance name is button1
<3> "myButton"
<3> ok
<3> then change my code to
<3> button1.onLoad ...
<2> k
<3> button1.onRollOver ...
<2> now what about the mysound
<3> in your library
<2> that is 1.wav, and the linkage identifier is 1
<3> select the sound you want to use with that button
<3> ok
<2> mysound == 1 now?
<3> no
<3> read the script
<3> <2> that is 1.wav, and the linkage identifier is 1
<3> mySound.attachSound("myLinkageName");
<5> don't use numbers for linkages
<5> or anything like htat
<3> yes
<4> http://pastebin.sekati.com/?id=flashemailusingaspnet@dbed9-b51735f7-t
<5> i think that's pretty ... frowned upon
<2> ok ill change them
<3> yes
<2> i took a very basic cl*** in flash, so im sorry ;)
<3> change it to something descriptive
<3> like
<3> button_1_sound
<3> or something
<4> please help... i can't return the appropriate resultLV from the server
<4> i get the response "Error connecting to server." from my flash code in the reseltLV.onLoad
<4> and when i print resultLv.toString() at the beginning of the onLoad, i get "onLoad-%5Btype%20Function%5D"
<2> got 4 errors
<2> lemme update pastebin
<1> goddamnit
<1> SHiZNiT
<6> cya soon
<4> MerZikain: did you take alook?
<1> what?
<1> no i've been busy
<1> i'm looking now
<2> http://pastebin.sekati.com/?id=Anonymous@adf1f-39116875-t
<2> spooky
<1> sneakerz: is it returning your error string all the time?
<3> sry
<4> yes it always says "Error connecting to server"
<1> that's because you're not returning anything for the load vars to load


Name:

Comments:

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






Return to #flash
or
Go to some related logs:

disable wireless networks detected balloon
#stocks
kppp in suse 10
#solaris
#firebird
#freebsd
one bite one time
merv the perv quotes
naturalnice.com
#windows



Home  |  disclaimer  |  contact  |  submit quotes