A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: double viz class or display.graphics

  1. #1
    ND01
    Join Date
    Apr 2007
    Location
    Raleigh, NC
    Posts
    3

    Question double viz class or display.graphics

    CS3/AS3

    Hello.
    Looking for some answers but, I think what I want may not be possible.
    I have two audio players on the same page. They both incorporate a class for the visualization of the audio..ie a viz class. I have changed the names, set vars to private etc.. but, no matter what I do, whenever one player is playing the viz class is activated in the other. After much frustration, I've come to the conclusion that this is due to the flash.display.Graphics

    Does anyone have any ideas of what I might do/attempt to separate these two?
    I know it seems silly having two player on one page but, that's kinda what I have to deal w/ at the moment.

    Any hints / particular directions would be most greatful.

    Thanks,
    nd01

  2. #2
    Flactionscrish Baby Minion's Avatar
    Join Date
    Nov 2005
    Location
    Planet Earth
    Posts
    312
    How do you have your visualization class listening for the music?

    If its an ENTER_FRAME, or TIMER try making sure that the event listeners don't get added until music is actually playing.

    ?
    ktu[k-two]
    he who hesitates is lost; so i guess i'll wander intently

    Are you sure this is real?
    Life is Love, Love is Blind, Blind we go through Life.
    Life isn't hard, dealing with your self is.

    The concept of life in a human brain is weakening day after day. Live every day like its your last. Take the chances, and opportunities, and never let authority push you around for fun.


Tags for this Thread

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