Flash "undefined" error in MP3 PLayer

Hello to all and thanks for checking this out...
This is regarding a swf MP3 player I am trying place on my
site.
http://www.denmasterstudios.com/portfolio.html
I preview the swf file in flash player on local drive = works
fine
I preview the swf file in dreamweaver cs3 9.0 in the local
files browser window using the "preview in ie explorer" function =
works fine
I preview the swf file in dw in the local files browser
window using the "open with flash player" funtion = blank white
screen
Once I load the swf file into a DW html doc and attempt a
preview locally or online, the following occurs:
Player loads on page, but does not play any songs.
A "undefined - undefined" appears where the song title and
artist name should be.
During the previews in flash player, this does not occur,
only when the file is inserted into an HTML in DW and attempted to
be played.
Here is the xml code:
<?xml version="1.0" encoding="UTF-8"?>
<songs>
<song url="britney.mp3" artist="Denmaster" track="Britney
Style" />
</songs>
Here is the action script code:
class Song
public var earl:String;
public var artist:String;
public var track:String;
public function Song(e:String, a:String, t:String)
earl = e;
artist = a;
track = t;
Any good eyes out there see anything?
Thanks for your help all!

How are you loading the xml file?
Dan Smith > adobe community expert
Flash Helps >
http://www.smithmediafusion.com/blog/?cat=11
http://www.dsmith.tv
"thedenmaster" <[email protected]> wrote in
message
news:g4h2it$r34$[email protected]..
> Hello to all and thanks for checking this out...
>
> This is regarding a swf MP3 player I am trying place on
my site.
>
>
http://www.denmasterstudios.com/portfolio.html
>
> I preview the swf file in flash player on local drive =
works fine
> I preview the swf file in dreamweaver cs3 9.0 in the
local files browser
> window with flash player = works fine
>
> Once I load the swf file into a DW html doc and attempt
a preview locally
> or
> online, the following occurs:
> Player loads on page, but does not play any songs.
> A "undefined - undefined" appears where the song title
and artist name
> should
> be.
>
> During the previews in flash player, this does not
occur, only when the
> file
> is inserted into an HTML in DW and attempted to be
played.
>
> Here is the xml code:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <songs>
> <song url="britney.mp3" artist="Denmaster"
track="Britney Style" />
> </songs>
>
> Here is the action script code:
>
> class Song
> {
> public var earl:String;
> public var artist:String;
> public var track:String;
>
> public function Song(e:String, a:String, t:String)
> {
> earl = e;
> artist = a;
> track = t;
> }
> }
>
> Any good eyes out there see anything?
>
> Thanks for your help all!
>
>

Similar Messages

  • Flash based AA battery mp3 player with AM and FM rad

    There are so many mp3 players out there, but none that have the features I want. I also want variable speed playback, so I can play lectures back at speeds between half and double normal speed. I listen to many lectures at around .4 times normal speed on my pc. I want to also do that on a portable mp3 player. I also want a nice sized display. I don't want the smallest possible player. As long as it will fit in a typical shirt pocket I would be happy. That means a player up to around the size of an audio cassette but perhaps a bit thicker. i also want a player with many buttons. I hare using a joystic and multi teired menus. I want to switch from mp3 music to the radio (or back) with just one press of a button.

    There are so many mp3 players out there, but none that have the features I want. I also want variable speed playback, so I can play lectures back at speeds between half and double normal speed. I listen to many lectures at around .4 times normal speed on my pc. I want to also do that on a portable mp3 player. I also want a nice sized display. I don't want the smallest possible player. As long as it will fit in a typical shirt pocket I would be happy. That means a player up to around the size of an audio cassette but perhaps a bit thicker. i also want a player with many buttons. I hare using a joystic and multi teired menus. I want to switch from mp3 music to the radio (or back) with just one press of a button.

  • Flash MP3 Player shows update in other browser but NOT Safari

    Hi
    I am working with a Dreamweaver Document with Flash component inserted into the layout. One of the Flash Components is a MP3 player. The player is configured using javascript and refers to a file named "config.html"
    This file contains the actual mp3 information (name, title, location on server,etc).
    When this info is updated, the new songs "been here.mp3, etc." appear to be updated in other browsers but NOT Safari. Safari continues to read the original "config.html" instead of reading the new update version of "config.html.
    How can this happen, is there a phantom version of the original "config.html" that I do not see? How can I get it to load the new songs instead of the old ones? Is the problem within my Prefences?
    Thanks for your help!
    Her is the Link:
    http://www.ledisi.com/test2007/indextest.htm
    Powerbook   Mac OS X (10.3.9)  

    You're welcome. Glad I could help.
    Thanks for the and Aloha from Big Island.

  • MP3 Player causes visual error in Polls

    Hello,
    I have found the problem with MP3 Player (from Connect Pro Exchange). The Polls have a visual error when MP3 Player is displayed on lobby layout for example. Please see an attachment - screen of Connect Pro webinar. Do you have the same problem?
    Petr Zahradnik

    Hello,
    I have found the problem with MP3 Player (from Connect Pro Exchange). The Polls have a visual error when MP3 Player is displayed on lobby layout for example. Please see an attachment - screen of Connect Pro webinar. Do you have the same problem?
    Petr Zahradnik

  • How can I fix 2121 sandbox security error, local swf MP3 player test calls MP3's from website?

    1st Issue.  I am a new user and am fighting #2121, #2044 & #2048 Flash security errors in getting an MP3 player to work as I test the fla file in Flash CS4 on my local computer.  The fla in Flash and swf in Dreamweaver calls mp3 files from our host server on the internet.
    After reading various sparce posts and Adobe articles on this issue, I have added a crossdomain.xml file at our websites root (see file below) and added the code, flash.system.Security.allowDomain in line 1 of the action script of the flash fla to allow our site access (-see script below).  These efforts have helped get the player to work better on our test site.
    But, I am still getting the 2121 error within Flash CS4 as I debug the player or play the swf in live view within Dreamweaver.  Playing the fla or swf will lock-up the Flash 10 player and crash the program. I am having the mp3 player access the mp3 files from our web site as I test the fla.
    Here is the debug message I am getting:
    Attemping to launch and connect to Player using URL C:\Web Site Files\Plank Productions afc\Plank Productions 2010\site\MP3_List_Player_AS3.swf [SWF] C:\Web Site Files\Plank Productions afc\Plank Productions 2010\site\MP3_List_Player_AS3.swf - 209827 bytes after decompression SecurityError: Error #2121: Security sandbox violation: Sound.id3: file:///C/Web%20Site%20Files/Plank%20Productions%20afc/Plank%20Productions%202010/site/MP3%5FList %5FPlayer%5FAS3.swf cannot access . This may be worked around by calling Security.allowDomain.
    at flash.media::Sound/get id3()
    at com.afcomponents.mp3player::MP3Player/get id3()
    at com.afcomponents.mp3player::MP3Player/handleBuffe ring()
    Here is the crossdomain xml code:
    <?xml version="1.0" encoding="utf-8"?>
    <?xml version="1.0"?><!DOCTYPE cross-domain-policySYSTEM "http://www.macromedia.com/xml/dtds/cross-domain- policy.dtd">
    <cross-domain-policy>
    <allow-access-from domain="www.plankproductions.com" secure="false"/>
    <allow-access-from domain="plankproductions.com" secure="false"/>
    </cross-domain-policy>
    Here is the AS3 in line 1 of the Fla file that I added:
    flash.system.Security.allowDomain("www.plankproductions.com", "plankproductions.com");
    2nd Issue.  The online playback of the mp3 player will play about 4-7 mp3’s then lock-up in Internet Explorer 8 on a pc.  I think that is related to flash security, not sure, I do not know how to debug the mp3 player on the web site.
    http://plankproductions.com/pptemplate_afc_mp3.shtml
    Questions.
    -How can I resolve the error 2121?
    -What as3 code do I need to target the local c drive to have security clearance and work properly, is this the problem?
    -Why is the mp3 player locking up on the web page?
    Thank you in advance for any help.
    Operating System: Windows XP Professional, CS4 Web Premium

    Do you have the standard or debug player installed?  Such errors should not occur with the standard player.
    See http://helpx.adobe.com/flash-player/kb/find-version-flash-player.html#main_Find_Flash_Play er_version_type_and_capabilities__Flash_developers_only_

  • How do I build a simple MP3 player in Flash?

    I have recently redesigned my website and need to make
    several mp3 files available for playback. I'm a voiceover talent,
    and I need to have my demos readily available to those who visit my
    website to hear my work.
    I built the site using Dreamweaver (there's a little bit of
    Flash content there, but the site itself is not a Flash site). I
    know just anough about using Flash to be dangerous. :-) At the
    present time, I just embedded my 11 demos on a page, with each demo
    appearing TWICE -- once with the Windows Media Player embedded and
    once with the Quick Time player embedded -- to allow for maximum
    compatibility. But with 22 media players embedded in the page,
    well, you can pretty much guess what happens -- the page takes a
    freakin' eternity to load. No one's going to wait that long.
    In a previous version of my website, I had deployed a
    third-party app called Wimpy Button to achieve this functionality
    (www.wimpyplayer.com). Wimpy button is a very simple little Flash
    app that is designed to achieve precisely the functionality I need.
    But now when I launch the Wimpy Button Maker (the first step to
    creating the player), I get an error message that I think is
    telling me that either a .dll file required by the program is not
    there on my computer OR that a program I have since installed on my
    computer is either using or has overwritten that .dll file. Either
    way, the Wimpy solution is not working for me. So naturally, since
    Wimpy was doing all this in Flash, I figured the most logical place
    to turn was to Flash itself. I'm hoping to create my own little
    playback interface that I can place in multiple instances on the
    webpage, with each one set to trigger playback of a different .mp3
    file.
    Here's an example of something similar to what I'd like to
    end up with. Visit
    http://randybrown.voice123.com.
    There, you'll see a series of players down the right-hand side of
    the page, and each one triggers playback of a different .mp3 file.
    A closer look at the .swf file can be seen at
    http://voice123.com/swf/small_player.swf
    , so, as you can see, the graphic itself ain't that complicated. I
    know I can build the graphics file (or something similar) without
    too much difficulty.
    But getting it to have the functionality I need to deploy for
    this purpose is where I'm lost. I just don't have enough experience
    with Flash to have much of a clue.
    Can anyone walk me through the steps involved?
    Your thoughtful answer would be MUCH appreciated.
    Randy

    The best MP3 player I ever found for flash uses xspf
    playlists and xml - really cool and easy to use/implement. Check it
    at
    http://musicplayer.sourceforge.net/
    This player will go through a playlist you determine, or can jump
    from track to track. It takes a little bit of testing to set up,
    but is much simpler than writing your own player - and it's free.

  • Simple mp3 player not working :( action script error

    Hi Everyone!
    I'm wondering if anyone can help with this problem:
    I am currently designing a website and creating a simple mp3 player with an on / off function but doesn't appear to be working. I am getting this error:
    1095: Syntax error: A string literal must be terminated before the line break.
    1083: Syntax error: end of program is unexpected.
    1084: Syntax error: expecting rightparen before end of program.
    1084: Syntax error: expecting rightparen before end of program.
    1084: Syntax error: expecting rightparen before end of program.
    1084: Syntax error: expecting rightparen before end of program.
    I have uploaded a zip file containing the images and FLA file. I'm wondering if someone wouldn't mind taking a look for me and telling me how to fix this problem:
    http://www.c-recordz.co.uk/download/mp3_player.zip
    Thanks
    Davies

    Hi Davies,
    On line 19 don't break the line, Flash will do it for you... other aspect that I would recomend is to not put the '$' on the variables. In AS2 variables don't need to be declared as such (although it's a good policy), instead of the '$' put the 'var' word, as you already have in those variables.
    Greetings
    Leo

  • How do I make bootable USB mp3 player/flash disk?

    hi
    i have a big problem. less than a month ago i have backed up my computer using the latest version of Norton ghost v10.0. i then burned the data on to a DVD and i kept it safe. today i encountered a problem i could not cess the internet on my laptop, nor uninstall/install a program, nor get access to help and support. therefore i got the backup DVD inserted it into the DVD drive i opened Norton ghost clicked recovery and then clicked recover my computer. i told it where to look for the backup and then started restore but i then ran into an error message which says the below:
    cannot complete the restore of recovery point d:\Toshiba ghost image001.v2i
    -Error EC8F178F: Cannot complete the restore of recovery point: D:\Toshiba ghost image001.v2i.
    --Error EC8F03F1: Cannot open recovery point 'D:\Toshiba ghost image001.v2i'.
    ---Error EBAB03E9: Internal Application Error: Memory Access Violation c0000005: Application tried to read memory at 034bac3c.
    i have another way of restoring the data this is by making a mp3 player or flash disk boot the computer but on the flash disk there will be the operating system. is there any way to make the flash disk bootable.
    i would like to know this because if it boots up from the flash disk or mp3 i can then delete the contents on the HDD and restore the data.
    and also when trying to restore it says a file or program is using the file its trying to restore.
    can somebody help,
    regards

    Hello Samee
    The best way to boot the unit in DOS mode is to use external floppy drive. This drive is not expensive and if your data are so important you can invest a few euros to buy it. Using start disk you will be able to boot into DOS mode and do what you want to do.
    I also recommend you to contact Norton and see if they have some simply solution how to install created image.
    With mp3 player you will not be able to boot up.

  • Flash mp3 player doesn't scale when page zoomed

    It's possible there is nothing I can do to fix this, but wanted your expert advice.  Thanks for looking at this.  Gary
    I have installed a mp3 player on my site from dewplayer http://www.alsacreations.fr/dewplayer
    It looks fine when I pull it up in a browser:
    But when I zoom the page (control-alt-scroll) the player remains the same size and does not scale with the page.
    It does scale correctly if you are minimizing the window (ie: clicking the top right minimize box on the browser).
    Here is the html:
    div id="column2Right">
    <h3 id="firstTopic">Featured Song</h3>
    <div id="albumArtShadow"><img src="images/album art/carly1.jpg" width="150" height="150" border="0"></div>
    <!--dewPlayer-->
    <div id="dewPlayerRcolumn">
    <object type="application/x-shockwave-flash" data="dewplayer-mini.swf" width="195" height="20" id="dewplayer" name="dewplayer">
    <param name="movie" value="dewplayer.swf" />
    <param name="flashvars" value="mp3=mp3s/carlyAllyse_somday.mp3" />
    <param name="wmode" value="transparent" />
    </object>
    </div>
    <!--close dewPlayer-->
    <div id="column2SongInfo">Carly Allyse<br />Someday</div>
    Here is the CSS
    #column2Right #dewPlayerRcolumn {
        padding: 0px;
        height: 20px;
        width: 195px;
        margin-top: 0px;
        margin-right: 0px;
        margin-bottom: 0px;
        margin-left: -5px;

    I have the same issue, and it is a browser issue. Like you mentioned, Chrome and Internet Explorer scale all Flash content properly. I have tried Firefox, Nightly, and Cyberfox (Firefox-based) and they all have the same problem. It isn't a dealbreaker for me right now but it is very annoying and I'd love it if the developers at Mozilla could look into fixing it (possibly in collaboration with Adobe). Also, even using the Flash beta (version 16) doesn't work.

  • Flash mp3 player HELP!!!

    i am tying to add a flash mp3 player to my blog posts to have samples of the scores on each page using this:
    http://creativetechs.com/tipsblog/embed-a-free-flash-mp3-player-on-your-blog/
    the code i have is this:
    <object type="application/x-shockwave-flash" width="400" height="170"
    data="http://web.me.com/cbarrywdw03/KlausBadelt/MusicPlayerExample/xspfplayer.swf?playlisturl=http://web.me.com/cbarrywdw03/KlausBadelt/MusicPlayerExample/playlist.xspf">
    <param name="movie"
    value="http://web.me.com/cbarrywdw03/KlausBadelt/MusicPlayerExample/xspfplayer.swf?playlisturl=http://web.me.com/cbarrywdw03/KlausBadelt/MusicPlayerExample/playlist.xspf" />
    </object>
    i am tying to get it in the blank empty space on the right above the track listing and to the right of the cover as seen here:
    http://web.me.com/cbarrywdw03/KlausBadelt/CreditsBlog/Entries/2010/4/1_Die_Jagd_nach_der_heiligen_Lanze_-_OriginalScore.html
    as you can see i can only get the player to show up on the left anywhere form the top to the bottom.
    please help me in getting it in that empty space mentioned above, thank you and take care!
    chris
    Message was edited by: MacAVUser08

    You should paste the object code in a HTML Snippet.
    All your songs and playlist should be in the MusicPlayerExample folder.
    And then test that all performs as it should.
    If you do that you have no problems.
    But you pasted the code in the HTML page itself after publishing. If you do you have to check the path to all the files.
    You would have found that there is no file here :
    http://web.me.com/cbarrywdw03/KlausBadelt/Credits_Blog/Entries/2010/4/swfobject. js
    Rule of thumb : Keep custom stuff out of the Site folder iWeb creates.
    I pasted your code in a HTML Snippet and 3 demo MP3s played in the flashplayer. So no problem there.

  • Setting up Simple Flash mp3 Player

    I have a page with some links to mp3 songs.
    I would like to set things up so that when user clicks a mp3 link, a small flash mp3 player (embedded in the page) starts playing with that songs. The user could click on another song that would replace the last one at any time and have basic controls.
    - flash mp3 player - need 1 that has start / stop and volume buttons (simple)
    BTW: I set this type of thing up in the past with a frameset - top had quicktime player embedded - and bottom song links went to top frame - all was fine but kind of bulky.... looking for something a bit slicker...
    Also would like to do the same for flash / quicktime videos
    Also if there's something free or close to free that is a jukebox type where the song list is part of flash - that might be fun too....
    Thanks in advance - dave

    Wimpy MP3 Player will do everything you want (not free).
    http://www.wimpyplayer.com/products/wimpy_mp3.html
    Free Flash MP3 Player
    http://www.flashmp3player.org/
    Premium Beat Free Flash MP3 Player
    http://www.premiumbeat.com/flash_resources/free_flash_music_player/#mp3Players
    A Google search will reveal many others.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • How to add this mp3 player in my movie flash

    How to add this mp3 player in my movie flash. This mp3 player
    was generated in other web site and after i created what i got back
    was this :
    <center><embed src="
    http://www.mp3asset.com/swf/mp3/myPod.swf"
    quality="high" wmode="transparent"
    flashvars="myid=3597756&path=2007/07/31&mycolor=0xAFC0D4&mycolor2=0x422F21&mycolor3=0xFFF FFF&autoplay=true&rand=0&f=3"
    width="180" height="380"
    name="myflashfetish" align="middle"
    type="application/x-shockwave-flash"
    pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    /><br>I made this <a href="
    http://www.myflashfetish.com"
    target="_blank">MySpace Music Player</a> at <a href="
    http://www.myflashfetish.com"
    target="_blank">MyFlashFetish</a>.com.</center><br><br>
    THIS CODE CAN BE ADDED IN ANY WEB PAGE BUT WHAT I WANTED TO
    KNOW IS HOW CAN I PUT THIS INSIDE OF MY FLASH MOVIE???? THANK YOU
    PLEASE HELP ME !!!!!!!!!!!!!

    use the same method that i posted in your other topic, but
    use a new empty movie clip with new instance name and replace the
    "URL" with
    http://www.mp3asset.com/swf/mp3/myPod.swf"

  • Embedding a flash mp3 player?

    Hi,
    I'm trying to embed a flash mp3 player in my iweb site. I don't want people to be able to download the files, just listen to them, so Flash seems to be the way to go.
    Can anyone recommend a resource for learning how to do this? I've found the Flash player that I want to use, I know how to insert the HTML snippet in iweb and have the code. But all the instructions I read reference SWF files, XML files, etc and I don't know what any of that is. I just want a juke box style flash player on a couple of my pages.
    Any help would be greatly appreciated. Thanks a lot!
    G4 laptop, Leopard
    Message was edited by: more-gtr
    Message was edited by: more-gtr

    If you want to play the songs and sell them you can use Snocap - otherwise you can use Esnips...
    http://roddymckay.com/Satellite/JukeBox.html
    You upload your song files to their site and all you do is copy and paste the HTML in to a snippet box.

  • Flash mp3 Player

    hello all...
    i'm a newbie to flash & i'd like to make an mp3 player
    for my website & intend to stream the mp3 files from my server.
    i tried using the MediaPlayback component but i couldn't
    figure how to link the .mp3 files. please do help, i'd really
    appreciate it.
    thanking you'll in advance,
    franky

    hello all...
    i'm a newbie to flash & i'd like to make an mp3 player
    for my website & intend to stream the mp3 files from my server.
    i tried using the MediaPlayback component but i couldn't
    figure how to link the .mp3 files. please do help, i'd really
    appreciate it.
    thanking you'll in advance,
    franky

  • Flash Mp3 player auto loads files from folder

    I'm making a website from flash 8 that can include an mp3
    player that will create a playlist from files within a specified
    folder. As mp3 files are uploaded i hope the player will auto
    update the list.
    Any help would be appreciated.

    You can get a list of files in a folder using PHP, and send
    the results back
    to Flash.
    Dave -
    www.offroadfire.com
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

Maybe you are looking for

  • How to copy the ringtone of my second pc to iPhone?

    Hello, I tried to copy the ringtone of my pc to my friend's iPhone. But when I try to sync, message appeared that if I perform this, all ringtones of my friend's iPhone will be replaced with my pc's ringtone. There are already many ringtones in my fr

  • If I buy an Iphone 5c/ 5s from HK, am I able to use it in M'sia?

    Guys, Planning to travel to Hong Kong in a few days... 1. If i able to use the phone in Malaysia? 2. Wondering if the guarantee is international? 3. If the phone is defect, 1 to 1 replacement? 4.The phone language included Vietnam? Thanks, Matthew

  • Controls on headphones freeze up in cold weather

    This has been troubling me since the beginning of winter and it's only getting worse. Everytime i go outside and try to use the click controls on the headset they don't work as they they should. They don't click or compress, and it's near impossible

  • BO Edge / BO keycode never arrived as it should

    Folks, I am working on a preliminary analysis for the BI project we are going to run in March this year. I have registered on the web page: http://www.businessobjects.com/campaigns/forms/downloads/edge/smallbusiness/ and downloaded the BO Edge trial,

  • WAP561 RADIUS Authentication - deauthenticated constantly

    Hi, We have two WAP561 devices as a cluster and they authenticate wireless users from Windows 2008 server based RADIUS. We are seeing some strange logs from these access points. Has anyone got any idea why there is such errors? The client in case can