dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Some basic Actionscript help needed with this file

  1. #1
    Senior Member
    Join Date
    Mar 2003
    Posts
    109

    Some basic Actionscript help needed with this file

    Hi

    I'm having problems working out the basic Actionscript needed to make these buttons work.


    I need the buttons in the attached fla. file to play the indicated links without opening the Windows Media Player - ie, I need a bit of Actionscript using the FSCommand that will tell each button to play an embedded 'invisible' Media Player (Result: when a user clicks one of the 3 buttons, he/she can hear the streaming radio, but doesn't see Windows Media Player)

    I've attached:

    - .fla file
    - .html file (Windows media player needs to be invisible)

    Has anyone done this before? Can anyone help??? (I was told it was really simple)


    Rob
    Last edited by danirob; 10-17-2007 at 12:46 AM.

  2. #2
    FK's Geezer Mod Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,490
    Not sure you can do it in flash, but here it is in html.

    http://learningflashmx.com/embedsound.html

    That's the BBC station. Give it a few seconds to link up.
    Last edited by Ask The Geezer; 04-30-2006 at 01:41 AM.

  3. #3
    Senior Member
    Join Date
    Mar 2003
    Posts
    109
    Hi

    Thanks for this. It is possible in Flash, and apparently very simple. See here an example of what I'm trying to achieve: http://www.english-at-home.com/radioPlayer.php

    The links to my buttons in the attached .fla file all work fine. I just need the bit of missing code in the middle that will allow them to interact with the embedded Windows Media Player in the HTML page. (Currently, they open up the Windows Media player in a full window. I want the Windows Media player to be invisible.)

    Any ideas?

    Rob

  4. #4
    Advance Motion Management
    Join Date
    Mar 2006
    Location
    India
    Posts
    84
    Thats really interesting . Once you are don with it dont forget to share it with us


    --
    Vini
    Its in my Blood, B+



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