ActionScript 3.0 :: AIR Get Number Of Users Downloaded
Aug 21, 2010What would be the best method that would enable me as a developer to get the number of users that have downloaded... or have installed and used my air application?
View 2 RepliesWhat would be the best method that would enable me as a developer to get the number of users that have downloaded... or have installed and used my air application?
View 2 RepliesYou can restrict the number of users on a flash server applications using server-side scripting.Here is how.
1. Go to the flash server root/documentation/samples (Lets say its a live streaming aplication).
2. Copy the livestreams folder to your flash server root/applications and paste it inside the folder.
3. Open the main.asc file that is inside the folder you just pasted.
4. At the end of the code paste the following code:
[Code]...
I'm using a regular flash video player to play rtmp streams hosted on a cdn. Does anyone know if it is possible to get a count of the number of users watching a stream, through actionscript or flash?
View 1 RepliesI have changed the variable <MaxConnectionRate>2</MaxConnectionRate> base on the URL - "Limit connection requests",but more than 2 client can connect to the server.
Is that other settings to config to restrict the number of simultaneous users?
[URL]
Dear Guys I Want To Generate A Random Number Between 2 Number BUT Without Generating 2 Same Number I Mean If For Example Already Generated Number "2" Next Time Did Not Generate It , Is There Any Solution
View 5 RepliesI'm a teacher and I have some animations made in flash language (swf). I would like to publish these animations on my web site so my students could see, but I wonder if there is any way to prevent these animations being downloaded.
Example: when I see an animation published on my web site, this animation is stored in Internet Temporary Files and I can save this animation anywhere. How can I prevent an animation is stored in the temporary folder? In other words, this animation can only be seen if the user is logged on the site.
I downloaded Flash, extracted it, and open the folder. However,when i click on setup.exe, nothing pops up. I looked inside task manager and see that the setup is using up 50% cpu but nothing pops up.I am using vista home premium sp2.
View 1 RepliesI'm starting a project that will build a flash file with quite complex capabilities. I expect the size of the swf/swc files will be quite big. In order not to slow down the page download, can I build the swf file so only immediately needed components are loaded with the page and other later-stage components can be silently loaded in the background?
View 1 RepliesI am developing a elearning site and we have developed our courses in Flash. I want to know how we can prevent our courses from getting download from our site. Technology used for developing website is ASP.NET with C#.
View 2 RepliesI have a question how can I secure my flash website (*swf) for being Downloaded??
View 2 Replies All I want to do is to preload an flv in a similar way a regular preloader works with the first frame having a clip that displays "LOADING" when the correct amount of the flv is loaded it moves to frame 2 and plays.I have looked at the Flash docs for this and all the codes are based on using a component, my flv's are being streamed and downloaded from a regular server and I need to have the playback based on the buffer time. So figure if 50% of the flv is downloaded then play the flv.
im using flash cs3, i have downloaded swf and used decompiler to generate fla...now there is coming one error in script.[URL]..
View 2 RepliesI need to create a progress bar for my streaming video to let the user know how much of the video has already been downloaded/streamed. Making a progress bar for a progressive download is easy, just check the bytesLoaded vs the bytesTotal. But apparently with a streaming video those do not work. What exactly do I need to check in order to create a progress bar for a streaming video. Here is my sample code that doesn't work for the progress bar.
View 9 RepliesI wanted to know if there is a way to embed a pdf file into a flash document to be downloaded by the customer. I want them to be able to click on the thumbnail version of the file to start the download of the high res version of that file. I am making an interactive cd so the files would be stored on the cd itself. I know I could do it by storing the files on the internet but I would like to keep everything local
View 2 RepliesI would like to develop a package made in Flash, if I put it on the internet as such and have downloads etc, is there a way to generate a password (or activation key and a password) that can then be embedded with the download so it can be used offline. If I can automate the process so I do not need to make individual packages but can control their use... this would be good. I don't have a problem if they also have internet connection, but the package needs to function off line. I guess I could use a batch passwords then selectively send out passwords in that batch, but this seems heavy.
View 7 Replies[I posted a similar question on serverfault.com, but had very little feedback so trying here]
I can do this just fine under Apache with htaccess
But at work its all M$ all the time...
I need to lock off access to any .fla files that might come up on a virtual host. We keep them next to the few .swf we use on some of our sites, I just want to be sure they are not being downloaded by people or spiders that may scrape the site.
There isn't really anything sensitive in the fla's but I'd rather keep them in the same folder and have them forbidden to downloaders.
I've tried the MIME type route (check if MIME type is defined under HTTP Headers > MIME Types, remove if it was, etc;), but there is no FLA defined, but I can still download the file by default. I recall this was the opposite if you WANTED to serve .flv files, but not .fla's[code]...
How would you be able to stop people from downloading flash video from your site instead of viewing it in a flash player. I would like to prevent people from downloading the flash video by ripping the stream. I am not looking for 100% prevention but ways to make this difficult and annoying.
View 4 Repliesive got this problem, i downloaded a website template and now im changing it to what i want. The 5 menu names are inside the same movie clip called Menu01. however its the same movie clip in each place of each menu so when i go to edit in place each menu comes up with home. Yet when i play the file they all come up with what there suppose to?
View 1 RepliesI Want To Generate A Random Number Between 2 Number BUT Without Generating 2 Same Number I Mean If For Example Already Generated Number "2" Next Time Did Not Generate It,
View 4 RepliesOn my stage I'm playing a flv video. There's a button over the video that when clicked draws the stage to a bitmap. The bitmap is then converted to a jpg and downloaded to the viewer. It all works great except that I have open with photoshop then save as jpg to get a useable jpg image. If possible I would like the download to be viewable by most photo viewers without having to open with phothshop. here's what the output looks like:[URL] here's the code I use to handle the mouse click:
[CODE]...
using flash cs4 the overall website is looking and functioning fine but i want to add an image gallery.I downloaded one which included .fla .as xml and swf files but i dont know what to do with them in the sense of adding them to a particular page in my flash site..
View 2 RepliesFlv seems like can't be use with loader but NetStream. But I wanted to play the video only after I have completely download it (smooth viewing with no buffering time). How can I do it with NetStream? And Can I have multiple video load at same time, and play it according to some array arrangement?
View 1 RepliesHow can I find the total time of an mp3 before it is fully downloaded? I have this function which is called on TimerEvent.TIMER
[Code]...
The problem is tha the totalTime is correct only when the mp3 is fully downloaded..
I want to open a pdf/excel/doc using flex, as all know we can use navigateToUrl(URL) method to open a file from the server. But my problem is those files are encrypted in the server, so I load the files as follows
ByteLoader = new URLLoader();
ByteLoader.dataFormat = URLLoaderDataFormat.BINARY;
ByteLoader.load(new URLRequest (constructedURL));
so that I can manipulate them and can get the decrypted file. Now my question is, my data already got downloaded from the server, so how will I launch the files(pdf/doc/excel) with the binary content which I had got?
Is there anyway i can launch those files like we do it in navigateToURL()?
I am trying to write a client side app that would download a number of mp3 files, then cache them to the harddrive. I can download the mp3 files using URLLoader and access the raw mp3 data via URLLoader.data. But how do I save them to disk without the benefits of AIR only classes
View 2 RepliesI've been trying to get this to work for a few days and uploaded a simplified version. Basically I need to download an image which could be any size and then resize it. To illustrate this I've placed a large file on my server which is to represent someone loading an image. Unfortunately, in real life, I won�t know the size of the image someone will choose, so I need to resize it. I've included a resize button which works. Unfortunately I won�t be able to add an extra button, so I've added a listener to detect when the file has finished
View 2 Repliesi would like to put some files on my site that can be downloaded by visitors. what's the code I've to put on my "download" button ?and where do I have to put the file that should be downloaded ?
View 2 RepliesBut ive noticed an anomaly. When i test the movie (with simulate download settings ofcourse so that you can actually see the preloader work) the preloader shows only from 90% onwards to 100% and then the page loads up. Which means when i run the movie, the result is a blank frame for quite sometime, when actually the preloader should be showing but it doesnt, instead its just the project default window color, then it starts the preloader at the frag end of the bytes coming in, so it only shows 95%-100% and then the page loads.
The same preloader method (2 looping frames with its AS2) works perfectly in front of the keyframe that contains another webpage, Home.swf which is a seperate file and things work perfectly there.o i put a trace into the 2 looping frames to see whats going on with the acquired bytes variable. I was shocked to see that the preloader loop isnt even running. It running itself only at 94% onwards and then ofcourse reports the percentage on the screen correctly. But till 94% its not able to sense the bytes getting loaded. It senses only after 94% and then starts reporting it.
I was wondering if there is a script so that when a flash file is no longer on a specific server it stops working. So basically if it is on a specific website it will work but once its downloaded, or even uploaded to another site it doesn't work any more?
View 3 RepliesIm tryign to do a slide show presentation with externally loaded imgs... on the main page, i have thumbnails of the images that are loaded, and I need the slideshow to stop, or go to the image when i press the corresponding thumbnails, and then, with a play button, to start again with the slideshow from the image that I had stopped in.
I hoped is understood... What Im trying to do is something like the proeloader... in the timeline, to stop when a image is being loaded, so when the loaded bytes of the image are the same to the total bytes, the timeline goes to the next frame... to be shown for 15 frames and then stop again to load the next one... in this way, the thumbnails can go to the exact frame for loading his image, and then just start playing from that frame.