@# 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



Comments:

<0> heh
<0> give a txtbox a "instance name"
<1> Anyone, how could i make code reuseable? I have a button and i sorta want to add a movieclip/function that i can use on all other buttons i have
<2> well
<0> and then enter all the text through "instancename ='' " ?
<2> no
<2> variable name. it's there too
<2> you can use instance name, you'll just have to use instancename.text=" "
<0> oh ok
<0> and then i enter there my entire text ?
<2> yes
<2> with html formatting
<2> sometimes I have the urge to find the person who designed flash and beat him into pulp
<0> can u explain me the exac syntax ?
<0> like txtbox.text =" asdasdasdasdas " ?
<2> txtbox.text="bla blah";



<0> i need to put it inside an even or i can just throw it inside a frame ?
<2> best to put it inside a frame, it only needs to run once
<0> but just like this ? because i get errors :(
<3> hi all
<3> !help
<3> !find -h
<4> hey everyone
<4> i have a question
<5> i have an answer
<4> !find rules
<5> wanna trade?
<4> sure id love to :)
<4> i have a Fla file with 20 scenes,
<6> aw man, all I have is pr0n
<4> big presentation
<4> i have a container which loads it into a mc, and a forward and next button that changes scenne by scnene, by using frame labels
<4> it works great
<4> except...when i get to frame 17
<4> it just stops playing
<5> haha
<5> well, first of all, scenes and actionscript don't mix well
<4> no matter what i do, it will not play past scene 17
<4> mmkay
<7> don't use scenes
<4> the first 16 scenes work just fine though
<5> second, i have no idea, it is either something you are doing, or it is a bug. youd have to create a super simple test case to load it in and play it without more than 1 frame and any fancy script, and see if it can get past the 17th
<4> ok, i have been doing everything i can to get it working and no dice so this is what i plan on doing
<4> every scene i need to break out into its own SWF file
<4> the only issues i have is at the end of each scene how will it load the next swf file
<4> the container can set a variable of what slide its on
<4> and pushing next and previous i can load different swf files
<8> make me a burger
<8> with fries
<8> grill'n :)
<4> what do you think fatherham?
<5> if it is a swf for each, or even a movieclip, ya you can do that no prob
<4> how would i do it, so that the whole thing plays by itself
<4> and swf by swf they get loadded in automatically
<4> can a external swf talk to the container swf?
<5> ya
<5> you'd have a master swf, and you'd make a movieclip in it
<5> call it, content
<8> it sounds like charlie browns teacher
<5> then you do content.loadMovie("1.swf");
<5> etc
<5> content.play();
<5> waa waa wa
<5> waa waa waaaa waa
<4> ya in my master swf i do have a mc that i load into
<4> that part is no problem
<5> i was making that waa waaa sound hours ago when i was preparing for sleep. i was imagining how i will handle interviews with journalists. in a serious manner, i will answer the questions in charlie brown's teacher's speech.
<4> but the swf that gets loaded, when its done, how does the master flash file know? and trigger it to load the next one?
<5> JasonGril: either you can put a trigger in the swf, on the last frame... or you setup a little watch loop that watches the content._currentframe and when it is equal to the _totalframes, it does the next one
<4> right on :)
<4> i think i may know what to do
<4> put that listener on a enterframe?
<9> yea
<4> like this.onEnterFrame
<9> this.onEnterFrame = function() { trace("unf unf unf"); }
<9> like that
<10> if I have a string, how can I delete just the last letter of that string?



<8> var new_str:String = old_str.substring(0,old_str.substring.length-1);
<8> gettin 12cm today jb :(
<9> SHiZNiT: If I'm loading dynamic text from a var, is there ways to italisize and bold the text?
<10> i know :(
<10> _root.guess = _root.guess.substring(0, _root.guess.substring.length-1);
<10> thats deleting the entire string
<8> tfield.html = true; tfield.htmlText = "<b>"+content+"</b>";
<8> ?
<9> blah=hey SHiZNiT the SHiZNiT everyone&something=I kinda l33t too
<9> lol
<8> trace("_root.guess = "+_root.guess);
<8> does it exist?
<8> heh
<8> maybe root has changed due to externally loaded swf into another
<10> nope
<8> ono lol
<10> that code is deleting the entire string
<9> SHiZNiT: how would I bold "shiznit" coming from a txt?
<8> urlformatted variables or text?
<9> hrmmm...
<8> or text from url formatted variables?
<8> lol
<8> 'a string'
<8> :/
<8> seems to be done above i believe
<10> ?
<8> :>
<9> Basically, I have a lot of text, it's like a biography, I need some things bold in the text field, but... It NEEDS to be dynamic so it's selectable.
<8> jb - dunno odd
<8> is your string a buncha numbers?
<8> heh
<9> It seems when I have dynamic text... either everything is bold or nothing is bold, I can't just bold certain words in the field.
<8> where does your textfield to house content come from?
<9> SHiZNiT: k, I take the text tool, the little "a" on the left in the tool box, I click the stage, I type, I change to dynamic
<9> SHiZNiT: should I name the text field "SHiZNiT", and then SHiZNiT.html = true; SHiZNiT.htmlText = "back in the day there was a little fox named "<b>"bob"</b>" he fell and broke is leg"
<10> like if _root.guess is "blah" and then i make a button with _root.guess = _root.guess.substring(0, _root.guess.substring.length-1);
<10> it deletes the entire string _root.guess
<4> hey fatherham you there?
<4> im having some issues
<5> what
<4> could i pm you real quick?
<5> no
<4> ok ill write my function in here
<8> um
<4> will i get booted?
<8> we have a pastebin if you read topic (if showing)
<8> Adobe (Macromedia) Flash || PASTEBIN: http://pastebin.sekati.com/ || RESOURCES: http://www.stranger.per.sg |
<8> please use that, paste url back here
<8> :)
<8> formats for actionscript natively - purdy colors
<4> here you go
<4> http://pastebin.sekati.com/?id=Anonymous@564c1-b395c6ab-t
<4> ok so in that function if i leave the line loadMovie("scene" + theScene + ".swf","_root.loader"); it doesnt work and keeps trying to load different swf numbers
<10> SHiZNiT, any ideas?
<4> in other words that line is being run, without _currentframe == _totalframes
<9> If I have a bunch of layers in a MC, and I have a top layer named "mask" and that layer has a MC named "mask", and under the layer "mask" I have a layer called "content" how would I setMask to layer content, and not all the layers in that mc?
<4> if i comment out that line, the function works ok and the conditional statement runs properly
<9> hrmmm, basically how do I set a mask to a certain MC?
<9> nm I got it
<8> no
<8> .htmlText = "back in the day there was a little fox named <b>bob</b> he fell and broke is leg"
<8> why did you put quotes around "<b>" ?
<8> that would cause error
<11> hey guys
<12> why can't I get &#174; to show up in a dynamic text field? is because of the font that I am using? I have embedded the font...
<11> i'm working on this script where every mc has it's own field of vision (mc rotation -50 degrees to rotation +50 degrees and a distance of 150 pixels)
<11> the script is supposed to make any mc withing the field of vision of another mc orange, but it's not working properly, it seems only some of the mc's turn orange and i don't understand why
<11> http://pastebin.com/576890
<13> Hi
<14> Many of y'all using the new Flex Builder beta thing?
<14> I'm trying to use it...
<14> I'm wondering how you can access things in the mxml context from within your own cl***es and functions.
<14> Like, in mxml I can say <mx:Image id="myimage">, and then from ActionScript within the mxml I can say myimage.load("http://whatever.gif";), and it works.
<14> But if I try to do myimage.load("http://whatever.gif";) from within my own function in my own cl***, it says "undefined property 'myimage'".


Name:

Comments:

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






Return to #flash
or
Go to some related logs:

Klaus-Derrik duren
#solaris
#politics
#politics
#gentoo
#gamedev
ifriends pass
#politics
#nhl
#firebird



Home  |  disclaimer  |  contact  |  submit quotes