ActionScript 2.0 :: Load External Png/jpg/gif Chosen By User From Local Computer?
Feb 7, 2009
I'd like to know how to allow the user to upload some image of his/her choice from his/her local computer, plus adding some control on size and dimension limits, and to check that the file to be uploaded is actually a JPG/PNG/GIF and not another else.
I've seen this performed for instance in webs where they sell sunglasses. The movie allows you to upload your own picture of yourself so that you can virtually try them on.
View 6 Replies
Similar Posts:
Feb 7, 2009
how to allow the user to upload some image of his/her choice from his/her local computer, plus adding some control on size and dimension limit.
I've seen this performed for instance in webs where they sell sunglasses. The movie allows you to upload your own picture of yourself so that you can virtually try them on.
View 2 Replies
Dec 21, 2011
So I'm building a web application, and in part of the application the user should choose an XviD (.avi) video file from his machine, to be played in the browser (without uploading it). I decided to use Flash for this.
Now I have two questions about this:
Which Flash video player is free to use and capable of doing this? How should I let the user choose a video file, and how can I link the Flash video player to the file?
View 1 Replies
Jan 16, 2007
I'm having a problem with flash/javascript/iframes. I have a flash banner that is positioned at a fixed position on the bottom of the screen. When I press a button on the banner, the page (which is an iframe) should change.
I got it to work using javascript. But it only works on the Internet. On my local computer it doesn't work. No error, nothing. it is a task for school (for my exams) so it should work only locally.
Check out: [URL] and click on "Vanille", the page should change.
My codes:
Actionscript:
Code:
mc_vanille_over.onRelease = function(){
getURL("javascript:test();")
}
[Code].....
View 4 Replies
Sep 28, 2010
I am a developer in Web Flash Game.(I use AS3.0) I want to save and load the swf-file to a local disk of any user,Because I want to decrease the time for loading a flash movie from site.Is it possible?If it is possible, I hope the swf-file has only one loading from site and it will be loaded from a local disk of any user after that. (I know a concept of Internet temporary file. I want to know the other techniques of only using AS3.0.)
View 3 Replies
Jul 22, 2011
I'm writing a small application for myself and instead of using a database I'd like to just use Excel to store the small amount of data I have on my local file system. I want to be able to load that data without having to use the typical FileReference browse() method as it would just be annoying to do every time I use the application.
The code below seems to find the file fine as the file.exists method below and most of the other attributes seem to be correct but the file.data is always null.I'm guessing this is a security issue and that's why I'm running into this problem but I thought I'd ask and see if there is in fact a way around this problem.
var file:File = new File(fullPath + "\" + currentFolder + ".txt");
if(file.exists) {
var byteArray:ByteArray = file.data;
}
View 2 Replies
Sep 16, 2010
I've been fooling with this problem since AS2.0 (and shared Objects) and I'm not much closer to solving it, partly because every article I read on it is focused on php and server-side stuff that doesn't apply. How to load a String Array from a txt file in local user space (the folder from which the .swf is run). What I need to know: The easiest way for the user to save/load a file. The file has to contain Objects and Arrays reflecting his current status in the game. The goal is to avoid non-Flash apps and languages, and external Classes if possible (I do everything right in the main fla). I don't mind that the user has to initiate and approve the upload/download.
View 1 Replies
May 6, 2011
I have a Flex application that just load an external SWF, but the application load and unload infinitely my swf.
[Code]...
View 2 Replies
Nov 18, 2009
i need to develop an image gallery that displays images based on certain values chosen by the user. Imagine two sliders such as "gadgets" and "cars". The sliders provide values from 1 to 10. The flash movie then generates a gallery based on those provided weights. The user may want more gadgets than cars or all cars or more cars than gadgets etc. Im a tad lost as to where i should start here...XML? MYSQL? should i start swatting up on AS3?
View 13 Replies
Jun 25, 2006
I have pretty good basic "action script" skills for developing flash files and movies, but I don't know how to do dynamic things with asp, aspx, etc. I have a local application that runs form my computer and is not connected to the internet. The application keeps track of button clicks on each buttton as separate variables. Here is my question ... each time the flash movie runs and buttons are clicked, I want to record the clicks on each button (which exist in the application at runtime) and save them to something like an excel spreadsheeet or access database. Any easy way to do this without getting into server-side stuff?
View 3 Replies
Nov 21, 2010
I created a flash movie and published it to get the html file and the swf. The html file works fine on my local computer that I created it on but I went to email the html file with the swf file, the links within the movie are not working?
View 7 Replies
Oct 28, 2010
I am having trouble seeing my flash video on the server. I just see it in my local computer. I save everything and then preview it, copy the code and insert on the bottom site, and no video. Just the skin appears when you roll over the code. [URL]
I have everything in the same folder, I have added the mime types on the server, and it still don't work.
View 1 Replies
May 1, 2011
I am having trouble seeing my flash video on the server. I just see it in my local computer. I save everything and then preview it, upload the file to server, but it just don't show at my website.
View 5 Replies
Dec 19, 2011
I made swf file that sends id to php, than php collects info from mysql by this id, and returns result, than flash does his work with that result. The problem is here, I will try to explain it as clearly as I can: everything works fine when I do that on the computer that has all the source files and of course xampp running.
[Code]...
View 1 Replies
Jan 17, 2012
I currently creating a standalone language learning application using Flash Professional 8. The application allow users to record and playback their own pronunciation, so that they can compare their own pronunciation with the pronunciation provided in the application for learning. how can I save and playback recorded voice on local computer
View 2 Replies
Apr 8, 2009
For example if I have 5 pdf files in a folder on the computer and then want to show these files in a swf file and if I then click on the pdf file open up the specific file. and if I remove or add a pdf file it will affect the list (its okay if its only updates the list when reloading the swf file)
View 1 Replies
Jan 27, 2011
I'm looking to display three images, chosen at random on load, throughout the duration of a banner ad.Basically, these images are health tips displayed on post it's - as it plays, the post-it's fly off, revealing the next tip.I also need ensure that the images don't repeat I 'm mostly a timeline guy, but I've been learning AS and have no problem getting one image to display randomly - however the three separate ones with no repeat is throwing me off.
My thoughts are to are to either
a) Put all the images on separate frame within 3 MC's, and somehow display a random frame within that clip on load, ensuring no repeat
or
b) Load the images into 3 separate MC's through and XML doc, and pick one at random.
The images only appear one at a time - so I think each MC would only contain one of the 3 random images selected.So is it possible to load a random image into a MC,and then duplicate that MC without a chance of the image repeating?
View 1 Replies
Jun 30, 2009
The user loads the page HTMl file .swf. By clicking on button_mc the user can select from your computer (local disk) image file to upload not on the server and temporarily - to flash - the file.
[code]....
Below given code works only if the image file .swf are in the same directory (folder).I know the file name, but I can not find the full local path to his computer to the selected file.
[code]....
How do I get my site you can download at home in my swf file to a photo to her dalsche work?
[code]....
View 1 Replies
Oct 21, 2009
My Flex app downloads a bunch of images. When the user closes the browser window (or navigates away from the page), those images shouldn't be saved in the local cache. HTTP headers for the SWF file tells browser to fetch it from the website every time -- that is, it shouldn't save the SWF file locally. I just want to make sure that any of the images that the Flex app downloads isn't saved locally.
I checked Windows XP & Flash 9 for this. And nothing was stored locally. I assume this is true across all platforms and all versions of Flash greater than 9?
View 1 Replies
Nov 25, 2010
I need to save images from flash via asp (windows server) to local computer, how to do this?
View 4 Replies
Sep 29, 2009
I am developing an application running in Flash Player. The applicatiosn requestes access to the camera and/or microphone available on user computer.Is there a way in the application I prevent users from seeing this question? i.e. without having user to change his/her Adobe Flash Player setting?
View 1 Replies
Nov 10, 2009
In my Flash application, I would like a user to be able to import a picture from their hard drive. Basically, the app allows the user to customize an object. One of the steps of customization should be to add an image of their choice.
Is there a way in Flash to allow the user to pick a file from their hard drive, which is then read into memory and made accessible to an application? I would like to take the data and upload it to a server to store it for future sessions.
View 3 Replies
Oct 26, 2011
way to get the screen resolution of the user's computer by using any action script code.
View 2 Replies
Oct 8, 2009
I've made a Flash project which uses a lot of animations based on Actionscript, and I've checked that in old computers those animations have a low framerate.So in order to optimize it, I thought to disable some of them depending on the capabilities of the user's computer, but the only thing I've found which could be useful is the property System.totalMemory
Is there any way to calculate the user's CPU performance in order to act in consequence?In these cases, would it be useful to replace some vector graphics with bitmaps? If I'm not wrong it would make use of more memory but would lower CPU charge, wouldn't it?
View 4 Replies
Apr 5, 2011
I am looking for a way to record sound from a user's computer, then save the sound as a wav/mp3/swf/etc on a server.
View 1 Replies
May 19, 2005
I've been searching for quite a while now on a few different sites for information on testing the cpu speed of users computers. I've done this search before about a month ago and remember fidning something about this. Problem is, now I can't seem to find anything. The reason I need to know is because I have an MC on my stage which is using actionscript to animate but on older computers with slow cpu's all the animation slows down terribly. I would like to be able to test cpu speed and redirect to a different page based on cpu speed.
View 1 Replies
Dec 19, 2009
I know how to load external text files in AS3 but I want the user to be able to do it from within my excited swf file. The obvious way to do this is to load the text file using a string from a dynamic text field (e.g: "myfile/myTextFeild.txt") but i want it to be more user friendly.If you click file open in Microsoft word, for example, you get the user friendly open box where you can find the file you want to load by browsing through your hard-drive.
View 1 Replies
Jun 17, 2009
I am trying to load an external clip, and when it's loaded, all other user connected can also see the clip
whit this code, the clip is loaded but not on the screen of other user connected.
Code:
var nc:NetConnection = new NetConnection();
nc.onStatus = function(result){
if (result.code = "NetConnection.Connect.Success"){
}
[Code]....
View 2 Replies
Oct 13, 2010
I want to save a jpg of dynamically loaded swf's to the user's computer. Everything works great, except the loaded swf's don't appear in the jpg (everything on the stage renders fine). Any thoughts?
[Code]...
View 3 Replies
Jul 18, 2011
How can i load an external swf if user don't make any mouse movement or click in 1 minute and when user click it shows the previous swf
View 2 Replies