A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: flashing button that tells u where u r?

  1. #1
    Junior Member
    Join Date
    Jul 2003
    Posts
    22

    flashing button that tells u where u r?

    Basically I have several tabs (buttons), I want the user to click on a tab, take them some where & have that tab continue flashing till they click onto the next tab. Could some body please help me?? I need a quick response - no time for research..have a deadline to make!

    Thanks so much!

  2. #2
    Senior Member
    Join Date
    Jul 2000
    Posts
    243
    not sure Im following what your asking?

  3. #3
    Danny Gomez Creations ® cosmiceye's Avatar
    Join Date
    Mar 2002
    Location
    under a palmtree in Jamaica waiting for psytopia 2005 to begin
    Posts
    982
    Originally posted by cfreiling
    not sure Im following what your asking?
    I was about to make the same question, but he says "no time for research"...
    ..:: P S Y T O P I A 2 0 0 5 :::..
    . . . view the psytopia reels _____RIVEND REEL | GOMEZ REEL_____ . . . . . . . . . . .

  4. #4
    Lunch is for wimps. erova's Avatar
    Join Date
    Mar 2002
    Location
    washington dc
    Posts
    521
    the simplest way i could think of is this way:

    let's say your tabs are Moe_mc, Larry_mc, and Curly_mc.

    in each clip you have a variable...something easy like moeFlashing == false, larryFlashing == false, and curlyFlashing == false.

    each of the three tabs calls a flashCheck function that looks to see if anyone is flashing, and if so, to shut that one off and start itself flashing...so here could be one way ( i don't think this is the most succinct way but whatever...)

    on Moe_mc:

    moe_mc.onPress = function(){
    flashCheck();
    }

    then flashcheck is this

    function flashCheck(){
    if(larryFlashing == false && curlyFlashing == false && moeFlashing== false){
    moe_mc.flashingClip_mc._visible = true;
    }
    }

    and then carry on the if statement to check if moe is flashing (if yes, make flashingClip_mc's visibility set to false...

    alright, i gotz to get back to work, hope that pushed you into the right direction and not off a cliff

  5. #5
    Junior Member
    Join Date
    Jul 2003
    Posts
    22
    Sorry if I didn't explain this enough but I was trying to get this done right away so I decided to scrap the whole idea. But just so I know for future reference.
    Attached Images Attached Images

  6. #6
    Junior Member
    Join Date
    Jul 2003
    Posts
    22
    and that was "repeats" in the sample image. God my brain is fried! LOL

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