dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [RESOLVED] Pileated Pictures Woodpecker text effect!

  1. #1
    deltaguk
    Guest

    resolved [RESOLVED] Pileated Pictures Woodpecker text effect!

    i stumbled onto this very cool site, http://www.pileatedpictures.com. Go to its site and a wierd looking woodpecker will start talking. The site itself is cool enough.also, when you move your mouse over the woodpecker, it will say something. And when you move to it again, it says something else! How is it possible? How did they do it? go to the site and check it out, it is cool! http://www.pielatedpictures.com!
    Thank you!

  2. #2
    the usual
    Join Date
    Jul 2000
    Posts
    1,482
    i have not had a look at it but i would guess it would be something like

    on a button

    Code:
    on(rollover)
    _root.speak()
    }
    on main timeline

    Code:
    testArray=["one","two","three","four","five","six"]
    
    speak=function(){
    /*
    you would replace the trace action with attachSound
    and use the testArrary to hold/store the individual 
    sound linkage names
    */
    trace(testArray[ki])
    ki++
    ki>testArray.length ? ki=0 : ki=ki
    }

    hth

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