Flash :: Play Music On Site Preventing Easy Direct File Download?
May 12, 2010
I'm starting a blog with a hosted wordpress instance and i would like to be able to stream music using a flash player on some posts.The problem is that every player i find uses a simple param to get the file url which makes it very easy for someone to find that url and just download the file.I know that it's probably impossible to prevent this all together, but i at least don't want it to be obvious.
I have a website banner made in Flash. I have added a music file to it and Play and Stop buttons. I also have a Replay button to replay the banner animation once it stops.
I have put the music on a separate frame so that it will not play automatically when the banner loads. I have made the Play button direct to the frame the music is located at so that when clicked, it will go to that frame and play the music file.
The problem I am currently having is that if I click the Play button more than once, it will play the music file again on top of the current play-through.
So if I click Play, the music will play. Then if I click it again, the music will play again, but on top of the first instance of the music, so two instances of it will now be playing and it sounds horrible.
I would like to make it so that if you click Play when the music is playing, it will not play the music again until the music has stopped.
Basically I created a flash site and uploaded it onto the server provider the client chose using cute ftp. That's all fine but now they want to add a link enabling the viewer to download a PDF straight to their desktop. As I can't upload a PDF file to the Flash library, was wondering if anyone had any tips on creating this function?
However, I need to protect them in several ways... customers should not be able to download and play them anywhere off my site, or on their hard drives, and they should not be able to decompile them and grab the contents (jpegs).I realize that a first rate hacker can probably hack through anything, but they don't worry me. Second-rate hackers worry me more, as there are many more of them, and they tend to go after smaller stuff like this
I see that the background music in my Flash site is located in a symbol called muz When I click the properties of this symbol, the sound file's location is listed as.flashsoundmuz.wav I couldn't find that sound sub-folder in the flash folder nor could I find the file. I tried doing a search to look for the muz.wav file in my computer but it could not be found. Does anyone know how I can find and save this file?
I have a mp3 player in a stand alone swf that I load into level 30 (or something). It works just fine, plays music and stop when I click the button. However, it continues to play after I have left my site and are browsing other pages, and at that point you have no way of turning it off. This is if course a big problem and I have taken the music.swf down for the time being.
Code: stop(); // Preloader variables var t = 0; var l = 0; var p = 0; // Stop the stop button from morphing //this.control.gotoAndStop(1); [Code] .....
So, what is happening here? Why does it continue to play when I leave my site.
I have some question, Please check out this two site. [URL] My question is how this is done? Both in the front end and back end. How does the system recognize which music to play when the timeline hit in the front end. And how does the backend compile the DIY music file for the user to download. It just so dynamic.
I m planing to create a full flash site. But in stead of jus an URL that lead the user to index.html, I wish to allow the URL to direct the user to goto specific page. It is sumthing like [URL]. note the URL, it passes parameter to the flash movie without reloading the swf. Any Idea how to create that?
Client has a flash navigation menu on his website. When the site is accessed via [URL] the hardcoded links in the flash nav load pages properly. When accessing the website via the [url] the site navigation links can not load the proper pages and instead just redirect the user to the root domain.
I assume this can be fixed with a change to the .htaccess but I do not know how flash handles these links.
.htaccess: Options +FollowSymLinks RewriteEngine on
I have a website with a flex application. The flex application has no user input - except for clicks for navigation. The website also uses no scripting language - i.e. no php, asp, jsp or cfm.
The website just consists of one page which contains the flash file for the flex application. The source code of this page is here: [URL]
I have been advised (by a software program used by my client) that this website is vulnerable to a reflective type XSS attack and have been advised to 'sanitize' all user input.
respect to XSS and would respectfully like to ask that AFAIK there is no user input. What should I sanitize and how?
I'm using FMS 3.5 to record streams to the server as flv files, and would like the ability to directly download those generated flv files. Assuming these files are sitting in my applications/recorder/streams/_definst_ directory, how can I open up this directory to allow direct download via a url? Something like http://<ip ddress>/applications/recorder/streams/myfile.flv. I'm guessing this is just something that I need to put into one of the configuration files, but I'm having a bit of trouble figuring this one out.
[URL]I need some easy tuts on this, there are a few on here but which are good tuts?I know some items are fluid, and centered, but how do i do full browser scalable images with menu on top or below?
I want a site to have background music, but when I attach the music to the file it makes it quite large ...3 meg and the site is slow to load. Is there any way of having the music separate from the flash file and still have start stop music buttons?
I'm developing a band site and currently have all the song clips playing and stopping via start/stop buttons. The issue is that all of the songs can be playing at the same time if you don't manually stop the other songs. The idea would be to have a song stop automatically if a user pushed play for another song.This is all the AS I have on the button right now:
I want to play the music file in flash player (which is embedded obviously) by clicking the play button which is in the web page (not in flash player).
I have a site that includes a Flash music player integrated into the layout. I want users to be able to navigate around the site without interrupting the music. I've done plenty of research and thinking and the following are the options I came up with (keeping in mind I want to be as SEO friendly as possible).
AJAX: I set up a version that changes the main content div to whatever nav link they click, thereby not interrupting the Flash player. I set it up in the proper search-engine-friendly manner with direct links and JQuery/Ajax functions. If someone goes to site.com/ and clicks the Contact nav link, it loads what's in the main content div on site.com/contact.php into the main content div and changes the URL bar to site.com/#Contact. The same goes for if they go to site.com/contact.php and click About in the nav, it loads the About content and changes the URL bar to site.com/contact.php#About. Obviously this opens up a whole new can of worms with AJAX and hash navigation/history issues, and I would end up with people possibly linking to things like site.com/contact.php#About (which I think looks terrible and can't be too great for SEO). Store the Flash player vars somewhere and reload them with the page: I'm not sure how to go about this, but I thought about keeping my regular navigation without AJAX and have it so when a user clicks a nav link, before it changes pages it stores the Flash player vars (current song and song position) somewhere, then loads them into Flash when the new page loads. Something with an iframe? Good alternative to a Flash player that will work for this type of application?
We have a Flash application provided by a vendor. It reads its parameters from an xml file on our web server's file system. However, it can also be spoofed to read its parameters from an xml file sitting on another domain's web server. At first we thought crossdomain.xml might be able to fix this, but we've researched it and understand the purpose of crossdomain.xml. It won't solve this issue.Are there any ways of enforcing that a Flash application reads its input file only from the same server where the Flash application was served? Or is the recommendation just to initialize variables within the Flash app, not relying on an external file.
What do I need to put in my code to tell my mp3 player to grab its songs from a folder on my server via an xml doc I outputted from my sql server? (The mp3 player is also on the server).
Here's my code: import flash.events.MouseEvent; import flash.media.Sound;import flash.net.URLRequest; import flash.media.SoundChannel;import fl.events.SliderEvent; var myMusic:Sound = new Sound(); var soundFile:URLRequest = new URLRequest("lpwfte.mp3"); var channel:SoundChannel = new SoundChannel(); [Code] .....
im working on a website called [URL] and im trying to get it to have coming soon on it so I created a swf file called index but it wont play unless you type in. [URL] For the life of me I cant figure out why it wont go to it...im using dreamweaver cs3 to create the page
Flash file wont show up on page unless you type in direct location. I am working on a website called phocusmag and I am trying to get it to have coming soon on it so I created a swf file called index but it wont play unless you type in. Phocusmag.com/flash/index.swf
For the life of me I cant figure out why it wont go to it...im using dreamweaver cs3 to create the page <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[URL]"> <html xmlns="[URL]"><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> [Code] .....
Several times I was exposed to a problem where my content (made in Flash 8) was displayed wrong on some computers with older Flash players. Some objects are missing, etc.
How can I prevent browsers to play my content, unless a user has an up-to-date-version of Flash Player? It can either refuse to play it and say "press here to download newest Flash Player" or it can install the newest Flash Player automaticly (if it is possible).
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
I want to be able to deliver music/mp3 using a flash player but I'd like to make it so that the mp3 files cannot be sniffed... i.e. you can't use safari, firebug..etc. to find out the mp3 location using the activity window. I don't have a streaming server.
I need to play three musical tracks one after the other in a circle. It is necessary that its are not loaded again and were in the cache. I use this code. Everything works fine on localhost, but only works after restart the app on the server. And wrong to re-download tracks every time.
[Code]...
optObj.music - it is the object with the parameters that is called when the app starts or when i call a function change the settings.