Possible Duplicate: losing extension when use FileReference download I'm having an issue that looks common when using the FileReference class in FP10 when saving a file. The whole thing works fine as long as I don't change the default filename. If I do, then I loose the extension of the file... which is annoying >_< I haven't found any "acceptable" workaround, but the posts I've seen are from a couple of months already. So I'm inquiring hoping that something's been done regarding this issue since then =)
i've got a pic gallery from kirupa which i modified a bit.I've added a download button with filereference. The thing is everthing works when the download button is pressed.But if somebody wants to download a picture and wants to change the name the file isn't recognised because the extension is lost.Flash doesnt read after the dot (example .jpg). If you dont change the name of the file which you save it keeps its extension. here's my code for the download and the link
I need user download JPEG file from my app, however, when user change the file name the saved file will be downloaded without extension.
For Example: I am using FileReference.download() and set the default filename as "demoPic.jpg" and user's windows system setting control file extension not being shown. So when the dialog opens a download window, only "demoPic" shown as the filename. If user saved file without changing filename, the saved file will be OK. But if user change file name, the download file will be saved without extension. is it possible to add file extension to filename when user forget it by flex code?
I'm trying to get my flash movie to allow the user to download a file of a specific extension, at the moment i use:
[Code]....
Two problems:
a) If the user changes the file name in the browser before clicking save (and doesn't re-add the .xml extension) then the file is saved without an extension
b) Randomly, tested on two windows xp systems both in IE one included the extension in the filename on the browser download window and one didn't (which doesn't make it clear to the user they have to include the extension as part of the name) but both saved to the correct xml extension file
a) If there is a work around so I can specify the exact file type, in the adobe reference manual it states you can parse in extra parameters to server with the file location to download. How would i do this?
b) If can't do a, how can I get it to always display the extension in the browser download window (unlike in problem b )
I want to exchange values between ASP and Flash. I don't want to send it as a querstring like :myswf.swf?var1=value.I don't want my user to see or edit this value.
I've been struggling with this for a few weeks, but I still can't get it right, and all the info I found is too ambiguous or uses AS2. What I want to do is to retrieve info from a MySQL database, using PHP, and send it to Flash; and in the other way, input info into the database from a Flash form. I want this to make a series of Flash tests for my website. show me a simple example code (on both PHP and Flash) of how to exchange data? PD: I know how to work with databases on PHP, so the only PHP code i need to see is the php-flash communication part.
i'm remodeling a website i've done ([URL]). i want to exchange information between XML and Flash files. i almost did it, but where shoul display information about one item, the whole content of this 'field' is shown. i'll explain better. this swf displays works of an artist. but the field 'date' (or any other text field) display the content of all works (separated by commas). i'll post the xml code and the actionscript code.
I am new to flash, and I am trying to make a simple video player. I have a problem setting the source of video: In my action script I have this: [URL] where getVideo.php is:
I am developing a non-real time browser RPG game (think Kingdom of Loathing) which would be played from within a Flash app. At first I just wanted to make the communication with server using simply URLLoader to tell PHP what I am doing, and using $_SESSION to store data needed in-between request. I wonder if it wouldn't be better to base it on a socket connection, an app residing on a server written in Java or Python.
The problem is I have never ever written such an app so I have no idea how much I'd have to "shift" my thoughts from simple responding do request (like PHP) to continuously working application. I won't hide I am also concerned about the memory and CPU usage of such Server app, when for example there would be hundreds of users connected. I've done some research. So, considering the fact I don't need real time data exchange, will it be wise to develop the server side part as socket server, not in plain ol' PHP?
Let's say i have a class that simulates a 'button section'.The button bears a title. Like news. I click on it, i transfer the title in the button and the respective news to the body.The body exists outside the class. It's a textField variable. let's assume.
ActionScript Code: public function xmlLoad()[code].....
keeps giving me an error.1067: Implicit coercion of a value of type Number to an unrelated type String.but i've seen this done before, except it was on a loader variable...but i don't see how that would be any different.
I'm working at a company which has high security environment.Akamai Download Manager starts to download a trial Flash CS5. However, it stops quickly and downloads nothing (zero byte).I want to download a trial Flash CS5 without Akamai Download Manager!
I generate a HTML page with VB.Net which stores several pinks to files. These links are formatted with JavaScript looking like the Windows-Explorer with folders and files. The problem: There are only download links for the files, not for Folders. A folder can contain Subfolders ,a List of Files or a combination of both. So if I want to download a folder, I have to click manually on every file-link. I have not the possibility to insert PHP or another Server-side language. my question now is: Is there a client side way to Download them by click on a Folder? I prefer Javascript but If it isn't possible Flash will be ok also.
how to view macromedia flash sites i have vista firefox and adobe flash player 10 but i still cant use the site [URL] can i install macromedia flash player over my adobe flash player without errors
To make it short. Macromedia Flash doesnt support Farsi and Arabic language BUT you still can use Farsi & Aarabic in flash. All you need is another program that called "Parspad" that will some how make Farsi & Arabic words appear in flash. To get the program go to this address [URL]. And you will find one of the best Farsi and Arabic editor with almost Hundred beautiful Fonts.
Steps in how to use the program with flash: 1- Open the program "Parspad" then type in Farsi / Arabic whatever you want 2- Go to "Parspad" menu >edit> or Highlight the text and right click copy. 3- Then go to flash and past 4- Select the text you just pasted and change its font to exact font you used in "Parspad"fonts that comes with it.. you have to scroll throw fonts till you find it. It should be about 100 different fonts that works with Parspad, but you have to choose the exact one you used in "ParsPad". [URL]
I try to open the macromedia flash 8 version flash file in the Adobe Flash CS4. At that time one "Font Mapping" window came. In that Window "The document "Name" contains one or more fonts currently not available on your system. The text will display and publish with the font mapping below".
i am trying to review flash for our game thesis in school. i am trying to read a pdf file about flash and i am trying to do the examples listed in the notes.but i can't find the location of the project panel. Well i know where it lies if i used my own laptop with the prescribe flash in it. (FYI, i am using the company's installed flash in my assigned computer. i am an ojt here and since i finished their project early, i dont do much here anymore) so as pass time, i study flash for our thesis (my boss doesn't mind. He believed learning is good)The flash installed here i thinks is a bit old version. and honestly, i can't apply what i am learning since the setup is way different.So does anyone knows where the project panel is located? or if it is close, where can i open it? The company is using a Macromedia Flash MX by the way,
I created a website a year ago using Macromedia Flash 8 and uploaded some flv files. (They were quick time movies and I converted it to flv) On my old computer I could view the files online perfectly. However since then we have gotten two new computers that came with Adobe Flash Player 10 and now every time I go to my websites I can't view my flv anymore. I click on the link and it won't pop up. Does this have anything to do with the fact I made the site with Flash 8? Because when I converted the files it said it was compatible with Flash Player 8 or later so I don't know why I can't view it now.
I bought Macromedia Flash because I took course in Flash about 8 years ago. So,when I was asked by my company's CEO to take a presentation and turn it into a "flash movie" I said, "sure I can do that". Well, I did do it, and it plays fine on the workstation that I created it on with "Macromedia Flash Player 8. However, no one else can get it to play except by opening it with a browser, which is not really ideal for our proposed usage. Is there some sort of desktop player still available that would allow someone (like a sales guy) to just double click on an icon and play this movie? Or is there some sort of way that i can update the movie so there is a desktop player to launch it?
I'm missing something obvious, but after looking over the same line of code and settings over and over and not being able to find a solution, I thought it better to just ask on the off chance that it'd be an easily resolvable problem. I've tried googling it, but end up with basic tutorials on how to use dynamic text in flash, which just go over what I'm doing already.
The problem is I have a text field in a movieclip. The text field is set to dynamic text, embedding is set on the characters I need, it's instance name is set to "val", it contains the text string "100%". The text field is contained within the movieclip called "uihp". The linkage on this movie clip is turned on, and has the name "uihp". I can attach the movieclip fine, and it is visible. The problem occurs when I attempt to change the text string. I use the following line to attempt to do that:
uihp.val.text = Math.floor(hp)+"%"; I have tried changing it to the string to "one" instead, but the same problem occurs: The text field doesn't display any text, and the previously present text "100%" vanishes, leaving nothing in the text field's place.
Setting the text field's var value to "test" and using uihp.test = "test" gives the same result as using the above method. I know I'm probably missing something obvious, but it feels stupid to waste so much time over this one aspect of an almost finished project if it could be just a simple thing I'm missing.
Any programmatic way of exporting legacy Adobe (Macromedia) Authorware files to XML?I know the latest version of Authorware toolkit provides for export to XML.
i facing error on flash swf when i run my swf long time minimum then 8hr after some time it will raised following error now more surprise it that it's not coming every time and also not coming in all PCs (even same configuration PCs) "A script in this movie is causing Macromedia Flash Player 7 to run slowly. If it continues to run, your computer may become unresponsive. Do you want to abort the script?