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



Comments:

<0> jord4385 , it will only last till the function ends running
<1> that's not entirely true JFlash
<2> so whats the solution?
<0> jord4385, you need to store it some where, like in but_name.link = url
<2> oh,
<2> i c ok thx!@
<0> but_name.onRelease = function() { getURL ( this.link )
<0> np
<1> blah, you're *wrong*
<0> shutup brainy
<1> you have a slight misconception of how scopes work
<0> i mean, i love you brainy :)
<1> the variable lives on
<1> his code will work perfectly fine
<1> if he just uses the code i pasted



<1> (and adds a dot before onRelease)
<0> wh00t?
<0> a dot before onRelease?
<1> local variables don't necessarily die when the function ends
<1> yes, in the code i pasted i missed a dot
<1> here, http://pastebin.com/661053
<1> this works
<3> fish
<0> oh well it might work
<0> but it's not elegant, hahah
<1> it's not elegant?
<1> how come?
<0> well it's not good oop to let variables up in the air for grabs
<3> holy ****, i nearly froze my tounge off
<3> :@
<1> you're full of **** JFlash
<1> first of all, this isn't even OOP, you just like playing that flag
<1> there's nothing object oriented about this piece of code
<0> hehe, i dont get over excited.
<3> Jflash, if brainy says you do, you do.
<1> secondly, if he had set the variable with this.link like you suggested, it would be stuck in a scope which is not relevant at all (where he ran the function)
<3> Stop getting so over excitied.
<3> :D
<1> i get over excited when people give other people wrong ****ing suggestions.
<0> well , if my object is going to call a url, and only it will, then i'd like to store the link in the scope of the object. because i like software that resamples real world. like if only mary calls a phone number, it should be in her agenda. but hey maybe that's just me :)
<1> that's exactly the case with my piece of code
<1> the url variable is store in the scope chain of that specific onRelease handler, and nowhere else
<1> it's attached to that handler, which is the only place it's in use
<1> you should try to listen and learn a bit about scope chains, instead of arguing with me.
<1> this method, if you're interested, is called a closure.
<0> oh well i'm just saying that that's how i'd code it. i'm not arguing my method is better or worse than yours :)
<4> arguments are started by two people, not one.
<1> that's true, i was indeed arguing too. but i had a point to argue
<4> well. started isnt really the word i was looking for but yeh close enough.
<4> my SWF is finally up and mostly functional woohoo.
<1> heh
<4> refactoring it nearly killed me
<4> only added 2 cl***es to refactor it too. broke everything to **** lol.
<4> flashdev is much easier on the eyes tho, helped a lot
<2> god
<2> this stupid douche
<5> which ad provider do you guys prefer?
<6> hejsa
<6> hytte p hytte p hytte.
<7> delicio mmm
<5> shiznit
<8> hey shiz long time no see
<9> can I make an MC cl*** fire off custom events?
<10> yes yo can setup property functions
<9> so for example, I can make an MC fire off onAlphaComplete when its _alpha goes up to 100 through a for loop
<10> http://www.0utdoors.de.vu/ :)
<10> :P
<11> hi all. is there a way to resize (dynamic/any) textboxes with snapping or by entering dimension information directly, without scaling the textbox?
<11> u know, u can use the standard tools to work with staff - size matching, etc.. how about text boxes? it's very difficult!
<11> staff = stuff
<12> can someone please help me....I'm using flash and I need help about my background
<11> hi all. is there a way to turn on snapping for textboxes when resizing (not scaling) them?
<13> !help
<13> !findkey bubblesort



<14> is this possible.. if mouse hovers button, do this onClipEvent of this movie
<14> or like as long as it hovers
<14> hi
<14> 1. happy easter
<14> 2. how do you write "if mouse hovers this button"?
<14> if (
<14> pls
<15> i am building a flash page and i was wondering if i could put html into flash
<15> or even better server side code IE PHP
<14> noone here
<14> ;
<15> can it be doen
<15> done*
<14> shrug
<16> yes
<16> asp,java too
<14> how do you make an OnClipEvent start when you click a button?
<15> gkmotu: how do i put it in
<16> ?
<16> a
<16> h
<17> ok now If you were designing a flash site and you wanted both a PC and Mac to see the text on the web what settings would you use?
<16> well pokearound and learn from tutorials...www.flashkit.com has some others have some..and help files has some
<17> dynamic or static text
<16> just to read? use static..
<16> that usually works for me
<17> k I have a mac user saying he see's no text but on his pc he see's it
<17> how bout anti-alias?
<18> sooo I have _root.thumbnails.thumbnail0.thumbnail_image movieclip
<18> and I need to remove thumbnail_image
<18> but I need to iterate through all the movieclips in thumbnails
<18> how can I for a for loop to iterate through _root.thumbnails.thumbnail0.thumbnail_image,_root.thumbnails.thumbnail1.thumbnail_image,_root.thumbnails.thumbnail2.thumbnail_image,etc
<18> anyone
<18> anyone at all
<18> lol
<19> _root.thumbnails["thumbnail"+i].thumbnail_image
<18> mmm
<18> thx
<18> sooo
<18> _root.thumbnails["thumbnail"+i].removeMovieClip("thumbnail_image")
<18> should work good
<18> and it did
<18> thx
<17> any one here use a mac?
<20> I've seen one before, does that count?
<17> haha
<17> issue is my web site will not show text on a mac
<21> whats the best book to learn actionscripting?
<21> i was thinking of buying the "Training from the Source" ones form macromedia. are they any good?
<21> http://www.amazon.co.uk/exec/obidos/ASIN/0321336194/qid=1145120409/sr=8-3/ref=sr_8_xs_ap_i3_xgl/026-0063777-6167666
<18> How can I make sure that math is done here and not concatenation? var twidth:Number = this.picHolder.attributes.twidth;this.thumbHolder._x = (thespacing) + (twidth + spacing);thespacing = this.thumbHolder._x;
<22> howdy folks
<19> Ic3x^, make sure to typecast any string to number before you do operation
<23> F1-Home
<15> hello i i got a dynamic text filed and i sorta have it working but its not loading the html any ideas this is what's its doing
<15> http://fbm.walnutnetworks.com/
<24> macman_G4: there is a little button in the property inspectory "render as html" it looks like <<>>
<15> i have that clicked
<15> but mine looks like <>
<23> F1-Home are you here?
<23> :/
<23> anyways
<23> Point, Rectangle, ColorTransform are cl***es, but what's geom called in which they reside?
<15> http://fbm.walnutnetworks.com/settings.png
<15> if i could just include a file that would also work for me
<15> into that text box
<19> SmilyOrg, yup what's up?
<23> Point, Rectangle, ColorTransform are cl***es, but what's geom called in which they reside?
<23> :P
<19> packages?
<22> i'm having this weird problem with this string i'm p***ing to a textfield... it's a string for arguments for asfunction... the string shows up fine in the textfield 90% of the time, but for these three instances it truncates for seemingly no reason
<22> and i can't figure out for the live of me why
<22> i've narrowed it down to this one string that causes problems
<22> because if i take it out, everything works fine


Name:

Comments:

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






Return to #flash
or
Go to some related logs:

#winvista
#unixhelp
#politics
a7baa
#debian
AlignWithMargins
#computers
AWD861A
#nhl
#nhl



Home  |  disclaimer  |  contact  |  submit quotes