@# 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> well, you can't set the link in any other way
<1> I just want the link-effect but cant use html
<1> and its not suppose to be a link that refers to a html-site. I just need them to control a MC
<1> I just want the link-effect but cant use html as I said
<0> you can't create a link without creating a link
<0> because thats your question
<1> well its not suppose to be a link...more like a rolloverfunction...
<2> why can't you use html?
<0> you could do an extremely painful workaround
<2> html and PHP
<2> CSS i mean
<2> blah
<0> Smurf: that was my first suggestion
<3> i told him css yesterday
<0> why on earth can't you use html?
<2> the only other way around it is going to be hella ****ed up and lengthy workaround



<3> convoluted
<0> you only use html where needed anyway, and its not like it will show
<1> I have this mc with a button in...the button is for all links. in this MC the text is created via Actionscript....so the text itself shall not be clickable or something..the button will take care of that. but what I want it the button to change textcolor and underline on the textfield.
<0> and with html, you could even you the IMG tag, refer an attached movieclip and run SWF functions
<1> Forget html. I just need a button to control the properties of a textfield
<0> well, thats not a prboelm as I said
<0> onRollOut = function(){ my_fmt.underline = true; }
<1> on(rollOver){
<1> my_txt.underline = true;
<1> }
<0> onRollOut = function(){ my_fmt.underline = false; }
<1> so I have to make it a function?
<0> or just toggle between two button-dedicated textformats on rollover
<0> why not... you are saying yourself that you have an MC with a button inside
<1> i tried this one:
<1> .
<1> on(rollOver){
<1> my_txt.underline = true;
<1> }
<1> .
<1> but didnt work
<3> you said you are creating it dynamically right
<0> if you can use AS to control the visual, then ofcourse
<3> yea
<1> pacabel: well from AC
<0> I don't even know why you are trying to set the text as a link or anything
<3> yea so you cant do on(rollOver) like that
<2> my_fmt.underline = true; txtBox.setTextFormat(my_fmt);
<3> you have to do whatever.onRollOver = function()
<0> well, then theres something wrong with your scope
<1> I told you there is a button too.
<0> textfield.underline isn't an option i think either
<0> its textFormat.underline
<1> the rollover shall not be on the text
<0> the rollover is on the button, and the text is in the button
<1> Ive copied that from FlashHelp so it exists
<3> button.onRollOver = function()
<4> mc.onRollOver = function () { my_text.underline = true; }
<4> mc.onRollOut = function () { my_text.underline = false; } or summit
<1> NO. the text is NOT in the button...but the button and text is in the same MC
<0> so ****ing what?
<0> try to pay attention
<0> what you said does NOT exsist
<0> textfield.underline is NOT NOT NOT possible
<0> pay some respect to people trying to help you
<3> i dont understand what you are trying to do
<1> mjau-mjau: i allready got that working...but not controlled from the button
<0> well, then you are not referring proper code in here
<1> copy paste
<3> piphaz: can you reexplain what you are tryin to do
<0> so if you got it working, then control it from the button should be easy
<1> yeah forget everything I said..Ill take it from start...
<0> my_txt.underline = true;
<1> yep but it isnt
<0> sounds like that is a textfield not a textformat
<1> Ill take it from start
<0> but i guess its a textformat thenb
<0> and you need to reapply the textformat to your text
<0> depending on if you are doing setTextFormat or setNewTextFormat
<3> just explain what you are trying to do
<1> 1. I have a text created from AC:



<1> this.createTextField("my_txt", 1, 5, 5, 300, 100);
<1> my_txt.multiline = false;
<1> my_txt.wordWrap = false;
<0> he just wants text to change color and under on rollover of a button
<1> var my_fmt:TextFormat = new TextFormat();
<1> my_fmt.color = 0xCDE20C;
<1> my_fmt.underline = false;
<1> that **** is working
<0> my_txt.underline = true;
<0> thats what you said in your buttons
<0> so no wonder they are not working in your buttons then
<1> in the same MC as this created textfield I have a button.And I want that button to change color and underline on the textfield when Onrollover
<5> have you considered doing it in HTML? you can get that delicious special effect you're after of changing colour and an underline
<1> :) Yeah ive considered that
<1> mjau-mjau yeah you do something else
<0> are you deaf?
<6> yay conversation is almost over
<0> my_txt and my_fmt
<0> do you know they are two different objects?
<0> yes or no?
<1> yes
<0> do you know that underline doesn't work on both of them?
<0> yes or no
<1> give me the code I shall add on the actions for the button then?
<0> well, you could try this:
<1> to have it change the text-properties
<6> i bet its a scope issue
<0> ehh, could be that ALSO
<0> but he can't set my_txt.underline = true, because textfield object doesn't support that property
<1> ive tried my_fmt.underline too
<2> *cough* scope *cough*
<0> ok, and no luck? there might be reasons
<4> wich works fine
<0> yes, scope... highly likely
<1> yeah I have my_fmt.underline = false; on the code that creates the text..but how shall I control it from the button?
<0> you also might need to retrigger my_txt.setTextFormat(my_fmt)
<0> in the correct scope
<0> well, you have on rollover and on rollout
<0> thats control isn't it?
<0> just toggle the textformat udnerline
<1> but it doesnt work
<0> well, then its something else
<0> i'll make an example
<1> on(rollOver){ my_fmt.underline = true;}
<1> is what I have now
<4> you have to set the textformat again
<1> okay
<1> var my_fmt:TextFormat = new TextFormat(); in the buttons actions too?
<4> nah
<0> no, just re***ign it
<1> got it working now. thx decap
<1> thx mjau-mjau for trying ;)
<4> Muwhaha you failed!
<0> i told you all the time
<1> ;)
<0> all your base are belong to me
<2> wow, that took forever
<1> decap: you know the property to make the text non-selectable?
<2> check the damnd manual
<4> -.-
<6> _visible = false;
<6> :P
<6> I'd guess selectable = false; but reading F1 is prolly safer ;-o
<3> can someone help me fix this scrollpane, i have heard it is unfixable but it shouldnt be a problemt o begin with
<1> yep. selectable it was. suprise
<3> i loadScrollContent() and it loads my swf over everything the scrollpane
<7> http://www.tcartoon.com/forum/thread/112
<7> anyone thing thats a good tutorial?
<5> its quite frankly the best tutorial i have ever seen in my life
<7> :)
<7> there are more there.
<7> anyway, *sleep*
<8> ill give you the best tutorial you ever seen in your life


Name:

Comments:

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






Return to #flash
or
Go to some related logs:

#beginner
#gentoo
#stocks
#winxp
#politics
#windows
#computers
towcutter
#politics
#cph



Home  |  disclaimer  |  contact  |  submit quotes