A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: hide/show dynamically loaded mp3 player

  1. #1

    hide/show dynamically loaded mp3 player

    I am trying to put a mp3 player on a website similar to how http://inqmnd.ca/ has in the top right corner.

    I have the mp3 player movie loading dynamically into an empty movie clip on the stage of the main movie on load. When you click the speaker icon i want it to pop out and display controllers and track name. I have all this working but I can not figure out the best way to keep playing the song if you click the speaker to hide the controllers and track name.

    Any help would be appreciated.

    Thanks,
    Steph

  2. #2
    Student
    Join Date
    Apr 2001
    Location
    -
    Posts
    4,756
    you could hide the movieClips that you want to hide, e.g
    PHP Code:
    var showtrue;//default state
    hideShowButton.onPress = function(){
        
    show = !show;
        
    mcContainer.mcControlers._visible show;
        
    mcContainer.mcTrachName._visible show;


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