A Flash Developer Resource Site

Page 1 of 2 12 LastLast
Results 1 to 20 of 33

Thread: 1 mo small thing...

  1. #1
    Member
    Join Date
    Oct 2003
    Posts
    43

    1 mo small thing...

    How can i make text fade in on rollOver
    and fade out on rollOut?

    Thx.....

  2. #2
    I tried... dbarbarian's Avatar
    Join Date
    Aug 2003
    Location
    Berkeley, California, USA
    Posts
    678
    create a movie clip with the text fading in ( but not out).
    put a stop action on the first frame of the text movie clip.

    on the button put:

    on (rollOver) {
    this.onEnterFrame=function(){
    if (_root.MCinstanceName._currentframe<_root.MCinstan ceName.totalframes) {
    _root.MCinstanceName.nextFrame();
    }
    }
    }

    on (rollOut) {
    this.onEnterFrame=function(){
    if (_root.MCinstanceName._currentframe>1) {
    _root.MCinstanceName.prevFrame();
    }
    }
    }

    should work...

  3. #3
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    "...should work... "

    ...I hope so!

  4. #4
    Member
    Join Date
    Oct 2003
    Posts
    43
    WTF IS MCINSTANCENAME?
    I'm confoozed... LOL, i'm used to REAL Programming.. not this Actionscript stuff....
    Last edited by xK0D3Rx; 10-10-2003 at 12:15 AM.

  5. #5
    Member
    Join Date
    Oct 2003
    Posts
    43
    yeah, umm....
    Why does it take so long to get a fu©kin' answer around here?

  6. #6
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    You might consider your lack of patience with the little info you provided, and maybe your language!

  7. #7
    Member
    Join Date
    Oct 2003
    Posts
    43
    i'm tired of waiting from hours to days, just for a simple response!!!

    Every time i try to do what he said, IT DON'T DO NOTHIN!!!!!!!!!!!

  8. #8
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    If it was that simple, you would of found the answer yourself!

    Cool down kid, or you won't get a better answer!

  9. #9
    Member
    Join Date
    Oct 2003
    Posts
    43
    could i at least get some quicker help? possible, a messenger of the type?

  10. #10
    Member
    Join Date
    Oct 2003
    Posts
    43
    AIM: xKRYPT0Rx
    ICQ: 47522512
    MSN: KRYPT0R@Hotmail.com
    YIM: DaWarezDooD

  11. #11
    Really this is me..... mentaleruptions's Avatar
    Join Date
    Apr 2002
    Location
    WV, USA
    Posts
    1,114
    Ur atitude really sucks and u should get a kick up the *** with a warning from a mod for it BUT MC INSTANCENAME in the instance name u assign to the MOVIECLIP that has the text inside it.

    Click on the movie clip and give it an instance name and make sure the code has the same instance name.

    My Flashkit Submited Movies:
    Guestbook: V.1.0 V.1.2 V.1.3 V.1.4 PHP Mail Form: V.1.0
    My Deviantart page: Link

  12. #12
    Member
    Join Date
    Oct 2003
    Posts
    43
    did that, still nothing......

  13. #13
    Really this is me..... mentaleruptions's Avatar
    Join Date
    Apr 2002
    Location
    WV, USA
    Posts
    1,114
    Well then take 5 paces back from ur computer.

    Pick up something that is really heavy.

    Left your arm above your head with mentioned something.

    And with all your force launch it at ur computer screen .

    No seriously if this is what ur wanting to create then take a look at the buttons on my site:

    www.dosdesign.com and if the affect is what u want but with text ill slap u something together real quick but for god sake be nice to people in the forum or u will get no help from anyone we dont get payed to help out and we could just sit and laugh at people but people like oldnewbie and me dont we help out and keep our cool

    My Flashkit Submited Movies:
    Guestbook: V.1.0 V.1.2 V.1.3 V.1.4 PHP Mail Form: V.1.0
    My Deviantart page: Link

  14. #14
    Member
    Join Date
    Oct 2003
    Posts
    43
    this obviously isn't working for me so:

    2 movie clips:

    clip 1: Button Inside it
    clip 2: Text Fading in



    Apply that code to the button, and get it workin' for me.....




    if it works, thanks, if not i quit....

  15. #15
    Really this is me..... mentaleruptions's Avatar
    Join Date
    Apr 2002
    Location
    WV, USA
    Posts
    1,114
    Jesus christ super star blah blah blah

    Im in a stupid mood but just look at the buttons on my menu and if the affect that shows up when u roll over the button is what u want BUT with text then ill sort it out for u.

    Listen will you for a programmer ur to damn impatient lol.

    My Flashkit Submited Movies:
    Guestbook: V.1.0 V.1.2 V.1.3 V.1.4 PHP Mail Form: V.1.0
    My Deviantart page: Link

  16. #16
    Member
    Join Date
    Oct 2003
    Posts
    43
    i want text to fade in from a black background to 100% white on mouse over

    then on mouse off i want it to fade back in...


    Now pardon me while i shave my head again.....

  17. #17
    Really this is me..... mentaleruptions's Avatar
    Join Date
    Apr 2002
    Location
    WV, USA
    Posts
    1,114
    ok here u go now was this hard ?? see attachment.

    Press the button when u test the movie and there will be some text apear.
    Attached Files Attached Files

    My Flashkit Submited Movies:
    Guestbook: V.1.0 V.1.2 V.1.3 V.1.4 PHP Mail Form: V.1.0
    My Deviantart page: Link

  18. #18
    Member
    Join Date
    Oct 2003
    Posts
    43
    don't work dude... the text is there from the start, just like the problem i'm having!

  19. #19
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Do you think you can find the rollOver on this one?

    http://odin.prohosting.com/~oldnew/fade.html

  20. #20
    Really this is me..... mentaleruptions's Avatar
    Join Date
    Apr 2002
    Location
    WV, USA
    Posts
    1,114
    Ok i just changed it and now it will definetly work.
    Attached Files Attached Files

    My Flashkit Submited Movies:
    Guestbook: V.1.0 V.1.2 V.1.3 V.1.4 PHP Mail Form: V.1.0
    My Deviantart page: Link

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center