hi all.
i am here because i cant solve my problem on google(dont ask me ask google) about how to embed code in a new flash project.
My question is very simple.
My radio streaming provider (caster.fm) allow me to embed there player in my blog or site.
Everybody knows wix.com
is so easy to embed the player in there site.But how do i do that in my own flash project?
Basically, you are talking about embedding code in an HTML document compared to "embedding code in a Flash movie".
Unfortunately, Flash doesn't work that way. You need to import the assets and handle it from inside the Flash movie. This would be a reasonably advanced task, although in the end, it might not be so many lines of code.
For example, a podcast may be an mp3 file with the details kept in an XML document. So you would need flash to read the XML file first and then use the details to import or stream the mp3.
In order for us to help you, you need to give more and clearer details. At the very least, you need to give the filetypes you are dealing with.
Right. So this is a line of Javascript code which, in turn, calls a php script, which uses the variable uid=14141 to fetch a video or data stream.
To make a long story short, you are NOT going to be able to drop that line of code into Flash.
In fact, one of the reasons for using a php script is to hide the mechanics of what is happening here. Now we don't know the filetype or the location it's being fetched from.
Maybe someone else has an idea to help you; I don't know.