ActionScript 2.0 :: Put Some Files On Site That Can Be Downloaded By Visitors?
Jun 9, 2010
i 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 Replies
Similar Posts:
Oct 14, 2003
I would like to put some files on my site that can be downloaded by visitors... So, 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 11 Replies
Jul 30, 2010
Can I make a user control system for my website based of visitor's computer's MAC addresses?Is it possible to get MAC address of visitors of my site in FLASH?
View 2 Replies
May 27, 2007
I would like to allow visitors to download flash files from my website.
I have the following code one my first button:
Code:
download_btn.onRelease = function(){
getURL("blankWebsite.exe");
}
This works fine and opens a 'Save', 'Open' or 'Cancel' pop-up box.
For button two (the xml file which visitors can use to populate the blank website they have downloaded) I have used the following code:
Code:
download2_btn.onRelease = function(){
getURL("template.xml");
}
However, rather than giving the option of saving the file (which is what I want) the file opens in a new browser window.
way to offer the 'Save', 'Open' or 'Cancel' options for the xml file rather than it opening immediately in a new browser window?
View 2 Replies
Nov 10, 2009
I'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.
View 11 Replies
Dec 16, 2009
I 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 Replies
Sep 25, 2009
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 Replies
Nov 4, 2009
the flash4 published set of files, with a variety of skins tried, works well on the local drive, even when moved to a different folder structure. when index.html is opened on the remote web site, the browser (firefox3 and ie7) displays the player conrols and a rotating horizontal barber pole, green and black, but no flash video.some of the skins i've used are: SkinOverPlaySeekFullscreen.swf, nOverPlayStopSeekCaptionVol.swf and SkinUnderPlay.swf. all work locally but do not play the .flv file on the web site. no problem playing flv movies on the remote web site if the file set is created by dreamweaver.
View 8 Replies
Feb 5, 2009
I am trying to prevent users from viewing my site and then simply going into their "temporary internet files" and stealing my swfs and XML files. I have been using a great .PHP code to stop this but now I am working on a server server that only uses .aspx files. Does anybody know of a way that I can stop files from being stored in the "temporary internet files" folder. I have encrypted the files but this is not good enough.
View 0 Replies
Apr 29, 2009
I have multiple .fla file (small online invitations etc) and I am trying to combine them as part of an online portfolio.
IS there a quick way of simply placing a .fla movie into another or do I have to use the swf.
And am I being silly - should this be done using Dreamweaver as the 'container"
View 2 Replies
Jan 17, 2011
I need to make this site like presentation for my next exam. I found a good template for a slide show. The presentation will be structured like this:
MAIN PAGE with sidebar which links to: slide one with slideshow 1slide two with slideshow 2slide three with slideshow 3slide four with slideshow 4 due to the nature of the code thou i cannot put the different slideshows into the same .swf file in different scenes (i copied and pasted them in each scene and modified the actionscript so they would refer to different pictures) because they will create conflict with each other. now they question is can i use the sidebar to link to different swf files but still make it look like it was just one big swf?
View 5 Replies
Sep 26, 2005
here is what i am trying to do. i would like to post action script files onto my server space for people to download, which i can do. Question is, is it like a print command for them to download the files to there computer for use? or what is the best way to go about this? The files are inside a folder called action script and then the sub folders depending on the file you are looking for.
View 1 Replies
Aug 12, 2009
Here is what I am currently using to link to my asp page so as to not log my visitors out wen clicking on a Jpeg image.[code]Here is the getURL actionscript I am currently using in my new swf but it logs visitors out.URL...How can I get to the page I want without fear of logging visitors out?
View 0 Replies
Dec 2, 2008
Is it possible to include PDF files within a Flash site that can then subsequently be downloaded by users of the site? Or does this have to be done through dreamweaver or a combination of both?
View 4 Replies
May 8, 2011
I am building a website for a composer and he wants his users to be able to download a jpg of him for use in programs and a pdf with a short biography for the same use. I thought I could do this by creating a new URLRequest, but when i click it just opens a new window in Firefox. Here is the code I was using.
programPhoto_btn.addEventListener(MouseEvent.MOUSE_DOWN, mouseClick);
function mouseClick(event:MouseEvent):void{var request:URLRequest=new URLRequest("pictures/bio_pic.jpg");navigateToURL(request);}
[code].....
View 5 Replies
Dec 27, 2010
I was making visitor counter using as3 and xml. I wrote this ActionScript Code:
var a:Number;
var url:URLRequest=new URLRequest("num.xml");
var loader:URLLoader=new URLLoader(url);
loader.addEventListener(Event.COMPLETE, loadxml);
function loadxml(e:Event):void {
[Code] .....
But it didn't work -- every time I see the text you r visitor number 2. I tried it at server
View 5 Replies
Apr 10, 2009
how to go about this: I'm building an animation on the home page of a site that I think people shouldn't have to watch more than once. So, if they've already been on the home page and now they've clicked back to it a second time, I'd like to have the animation not play through again. Is this a good case for a cookie? Maybe I could set a flashVar that reads in the header or referring page, and if it's =="same domain" don't play animation?
View 2 Replies
Dec 1, 2009
Why creating a text link to a .as hosted on my site creates a 404 error? If I change it to .txt it works fine but I'd really like the user to be able to open the file directly into Flash.
View 3 Replies
Jan 12, 2010
I am trying to get a photo to reload by it salth so that visters to my web site dont have to pree the refresh button have a look at what i meen here [URL]
View 6 Replies
Mar 18, 2011
Is it possible to set up FMS to log uniqe visitors in FMS access log file? I am aware of unique IP and session ID (c-client-id) logging, but these do not represent actual number of viewers. So I was hoping to get something like unique browser ID (a cookie?) which I guess is the closest I can get to the actual number of unique visitors.
If anyone has other ideas, how to log unique visitors or a variable close to unique visitors, If browser cookie is the way to go, can someone tell me how to "forward" this to FMS log file? Also, what software would you recommend for FMS log analysis? Im currently using Sawmill, but Im not completely satisfied, because I cannot see how many people have watched the webstream for how many minutes, therefore the reporting is inaccurate.
View 4 Replies
Sep 29, 2006
I have this website with a photogallery and I'd want it to force every visitor to leave their e-mail addresses before they get access to the photos and other content. Just like a simple login function but all these e-mail addresses should be remembered by some PHP script, so I could use them to send news and other important information about this website. Pretty much like a news letter function. The e-mails could then be logged into a simple .txt document or something.
View 11 Replies
May 18, 2009
how to load files to a Flash site Dynamically from a remote server. The first part was showing how to load a .txt file.
I have created a dynamic test field and give it an instance name of myTextArea. Then I uploaded the .txt file to my server in a testing folder. At the beginning of the paragraph in the .txt file I put homeText= Then going back to Flash CS3 I made an Action Script layer and entered the following code there;
[Code]....
But when I go to test the movie I get a "undefined" error (I guess it is an error) where the text should load in the dynamic text field.
View 7 Replies
Sep 24, 2011
I'm creating a kiosk with a place for visitor's comments. There are several sections to the kiosk each with their own stand-alone .swf file (not browser based; no html). I'm planning on using Shared Objects to collect the input from the visitors in each section and these will periodically be reviewed by museum staff before actually getting posted. My question is, can I create one .swf for museum staff that uses an array to review each of the SO's created by the individual sections or will a flash file ONLY read in one SharedObject forcing me to create a separate app for each section for the museum staff?
View 1 Replies
Nov 11, 2011
I'm creating a simple online, Flash-based music player; the user clicks on a song in a DataGrid and then it plays, simple. I will display the song information with the ID3 method in the 'sound' class, but I don't want to hard-code all the songs into the ActionScript, because I might change them. I have created a "tracks" folder in the site directory; how can I extract the names of the files within that folder without knowing how many files there are, and inherently, without knowing the URLs?
View 4 Replies
Jul 1, 2010
We would like to build a flash video player into our corporate intranet site, currently we are evaluating JW Player and have come across and issue accessing the FLV files stored on a mirrored share drive that all users have access to on the local intranet.From what I can tell the Adobe flash plugin will not allow a SWF file hosted 'online' (intranet) to access a shared directory that the user has access to. Is there any way around this?
View 1 Replies
Jul 27, 2010
My website allows users to upload photographs which I store on Amazon's S3. I store the original upload as well as an optimized image and a thumbnail. I want to allow users to be able to export all of their original versions when their subscription expires. So I am thinking the following problems arise.Could be a large volume of data (possibly around 10GB)How to manage the download process - eg make sure if it gets interrupted where to start from again, how to verify successful download of files.Should this be done with individual files or try and zip the files and download as one file or a series of smaller zipped files.Are there any tools out there that I can use for this? I have seen Fzip which is an Actionscript library for handling zip files. I have an EC2 instance running that handles file uploads so could use this for downloads also - eg copy files to EC2 from S3, Zip them then download them to user via Flash downloader, use Fzip to uncompress the zip folder to user's hard drive.
View 1 Replies
Oct 26, 2010
I try to make an intro animation inside a website, and when the animation is done or when you push the Skip button, it navigates to the index.html file from the site root.So I have in my site root the folder Flash, where the intro.swf is, and within the intro.swf I called the navigateToURL(new URLRequest("..index.html"), "_self"); method. Now it's not working.
View 3 Replies
Jan 30, 2009
I've been working on my first full blown flash site for a few weeks, tackling problems as I encounter them, and I've learned a lot...but sometimes the simplest things I cannot figure out for the life of me. All I am trying to do is have some flash banner SWF files play within the portfolio page of my site. I don't want them to open in a pop up or anything just play within the page when the link on my site is clicked. I figured it would act like a movie clip and I could just drop it onto the stage, but when I do that it doesn't look right, loops continuously, and is not interactive. How can I make this work?
View 0 Replies
Feb 26, 2009
I wrote this with the idea that it would stop my header from replaying a million times for repeat visitors. However it doesn't seem to be working correctly. I need a little direction, has anyone else done something similar to this? Also Isn't there a way to have it expire? like in a week or something?
Code:
user = SharedObject.getLocal("user_profile");
if (user.data.name == undefined){
[code].....
View 1 Replies
Feb 13, 2010
I would like to know the simplest way to use a text link and open a visitors email client.
View 1 Replies