ActionScript 3.0 :: Downloadable Files Within Flash Site?

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


Similar Posts:


ActionScript 3.0 :: Add Downloadable PDF Files To My Website?

Jun 19, 2009

I'm creating a web site, and I need to add two buttons that, when clicked, will download two different PDF files. I have absolutely NO IDEA how to do this!!! Not a clue!

View 12 Replies

ActionScript 2.0 :: Downloadable Files And Unique Font

Aug 26, 2004

Okay, developing my first flash site with action script I have run into two problems I can't find fixes to via a kirupa search, one (which is not really an action script prop) is that I have created a text box that has a unique font in it, I look at it from another computer that does not have that font and I was surprised to see it was using times new roman, [is there a way to make my unique font viewable on all computers without making it a symbol?] next, I have a series of audio files on this site but I would also like the viewer to have the capabilities to download them, what is the code to allow this?

View 1 Replies

ActionScript 2.0 :: Downloadable Files And Unique Font?

Aug 26, 2004

developing my first flash site with action script I have run into two problems I can't find fixes to via a kirupa search, one (which is not really an action script prop) is that I have created a text box that has a unique font in it, I look at it from another computer that does not have that font and I was surprised to see it was using times new roman, [is there a way to make my unique font viewable on all computers without making it a symbol?] next, I have a series of audio files on this site but I would also like the viewer to have the capabilities to download them, what is the code to allow this?

View 1 Replies

Published Files Work On Local Site But Not On Remote Site?

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

Php :: Make Flash File Not Downloadable?

May 7, 2010

I want that my flash file on my website, can't be downloaded by anyone. Is there any way that i can do that? As Firefox and many browser has many add-ones which easily detect out flash content and after they can download the flash file?

View 3 Replies

ActionScript 3.0 :: Include PDF Files Within A Flash Site?

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

Actionscript 3 :: Make A Downloadable Version Of A Flash Game?

Mar 23, 2012

I already made a game with flash, and I want to provide an easy download for people that would rather play offline. Thing is, i use a folder whole structure to dynamically load content per level. Folder structure looks like this, not that it matters that much[code]...

How should I go to distribute this? Should I just resort to make a zip file for the flash game and assume people know how to extract and open the swf? Is there any other way to port easily as an executable? Perhaps Adobe Air (not sure if this works though)?

View 3 Replies

Code Access Security / Make Flash Movies Not Downloadable

Jan 20, 2011

is there any way, to hide the source of a flash in the sourcecode, so that the movie itsself is not downloadable, or better not to copy?

View 1 Replies

Load Files To A Flash Site Dynamically From A Remote Server?

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

Flash :: Playing FLV Files On Local Share Drive From Intranet Site?

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

ActionScript 3.0 :: Have Some Flash Banner SWF Files Play Within The Portfolio Page Of Site

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

ActionScript 2.0 :: Prevent Users From Viewing Site And Then Simply Going Into Their "temporary Internet Files" And Stealing Swfs And XML Files

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

ActionScript 3.0 :: Add A Downloadable File?

Dec 11, 2009

I can't find a single tutorial that shows you how to add a download link to ur fla file. I got this snippet from the adobe file reference :

package com.mysite.Download {
import flash.display.Sprite;
import flash.events.*;

[code].....

View 3 Replies

IDE :: Create A Downloadable Link From PDF?

Jun 6, 2009

How would you insert a pdf file into a flash website and have it become a downloadable link?

View 2 Replies

CS3 Combine Many Fla Files In One Site

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

Professional :: Connect Different Swf Files Into One Site?

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

ActionScript 2.0 :: Downloading Files From Site?

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

ActionScript 2.0 :: Attach Downloadable Pdf File To Button?

May 10, 2006

how do you attatch file or can you attatch files so that when the blash button is pressed it will download a pdf?

Also when i publish my files and tell it to center this does not seem to happen within the webpage why is this?

View 1 Replies

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

ActionScript 2.0 :: Allow Visitors To Download Some Files On Site?

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

MYSQL To Authenticate Users And Protect Downloadable Content?

Jul 22, 2009

I am a novice Flash user as I have built one "members section" website using Flash CS4 (but used Actionscript 2).I am now in the process of learning ActionScript 3 and am working towards building a v2.0 of my original website. The original website uses a PHP authentication system, where a user logs in through a regular HTML page. Once authenticated, they are given the option to access the members section.I wish to eliminate the need to have our users log in through this HTML page as I wish this to be built directly into Members Section 2.0 however I haven't got slightest clue how to construct a users "login" function.  

have users login (authenticate themselves) through the main page of this Flash project by the flash project referencing the MYSQL user names and password database. Additionally, there are three types of users that will be logging into this site (Status A users, Status B users and Status C users).  
 
We need to protect various downloadable documents (Word files and PDF's) to ensure only those with the correct authentication are granted access to particular files. I.E. Status "A" users get access to everything, Status B users get access to almost everything and Status C users get access to very few files.
 
I assume the best method for this, is to store the files in three folders, once for each Status Class therefore Status A users will access files from the Status A folder, Status B users will only be able to access files from the "B" folder and so on. best method to protect these files from unauthorized access I.E. "C" users attempting to download a document that is only intended for "A" users?

View 11 Replies

Creating Link To Host AS Files On Site (Error 404)

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

ActionScript 2.0 :: Full Screen Flash Site With Scroll - See The Complete Site

Feb 25, 2012

i have made a site in flash. stage size 955x600 i have exported it as fullscreen with no scale. the problem is that if i browse the site with a resolution of 800x600 (760x420 if i'm not wrong), the browser dont' add scrolls and its impossible to see the complete site. How can i fix this without resizing the site. i want the users to see with the proportions that i have now.. ijust want a scroll on the browser.

View 2 Replies

ActionScript 3.0 :: Extract Filenames/urls Of All The Files Within A Folder (in The Same Site Directory)?

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

Allow Users Of Site To Download Large Volumes Of Image Files From Amazon S3

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

Actionscript 3 :: Use NavigateToUrl To Access Html Files Relative To The Site Root?

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

Build A Html Site Aswell As Flash Site?

May 20, 2009

I was wondering if its still necessary to build a html site aswell as a Flash Site? Or is there a definitive and failsafe way to incorporate html into my flash site? SEO is a very important factor for me. I read this article: url...by Geoff Sterns in 2006, resulting in the following[code]

View 4 Replies

Professional :: Site Attack In Flash Site

Dec 14, 2010

A client of mine has had 2 sites (both Flash sites) attacked over the last 12 months, so he's been asking: should he go for a static HTML site or stick with a Flash site? Is there ways to make a Flash site more secure?

View 1 Replies

Logging Into PHP Site...Another Log In For Flash Site?

Mar 3, 2012

I have some people making a site that uses PHP and mysql. You will be logging in first to the PHP site, but the Flash based component of it requires to use the same log in and password. Do they have to log in twice??????

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved