Actionscript 3 :: Flash Builder - Unzip The Files Using Base64 Encoding?
Aug 15, 2011
I have a issue here with unzipping the .zip files that i have in combobox.i select 1 .zip file and after selecting the particular .zip file Button should unzip it and put the contents in another combobox.
So I'm using AlivePDF to generate a 6 page PDF with a range of text and graphics. It's a fairly large PDF, prob 4mb when saved. I need to be able to pass the PDF along with a few other variables to a PHP script that uploads the PDF and then sends an email.
Because I need to pass the PDF data along with other information, I've been using a standard POST request with URLVariables, only I Base64 encode the PDF ByteArray before sending to avoid any sort of corrupt data. This works fine, except the Base64 encode operation takes ~8 seconds, and sometimes longer on a slower machine, causing a timeout.
I have a list of zip and rar files in a local folder. All I need to do is to extract the contents of the zip as well as rar files and to save them in a folder with the same name of the respective archive file.
I need the Tweener for Lee Brimelow scrollbar actionscripting.So I'm trying to down load the Tweener but I missed his old topics on how to and were for my FLash version.
I cannot open any .fla file with FlashBuilder 4 under Windows:When I click on a .fla file I get the following error: "Windows cannot find 'Flash'. Make sure you typed the name correctly, and try again."
I am trying to import an swf file into Flash builder. My swf file is correct, and displays the correct data. However, when I import into Flash builder and launch my project, I get a blank HTML. Not sure why? I am carrying out the following steps in the sequence listed below
1. Create an FLA component in Flash Professional.
2. Go to Publish settings, click on export to SWC.
3. Exported SWC displays correct data.
4. Create new action script project in Flash Builder.
5. Add the SWC folder as path of the referenced library section.
6. Added the following code in action script code
var mystickyman:MovieClip = new stickman as MovieClip; addChild(mystickyman);
Here stickman is the linkage if of swc given in Flash Professional.
I am using SWC for the first time , and am sure am missing out on some steps.
I'm developping a mobile application in Flash builder. So in Flash Builder Burrito , I was using the Flex Hero SDK 4.5.0 but they currently realesed the Flex4.5.0.20967.
I downloaded the zip file [URL]
I extracted it into a map on my C: drive. Then I opened my flash builder burrito. Added him by (Window>Flash Builder>Installed Flex SDK's. I his add and added my location.
This went very well. I changed my code with the new commands.
Next I wanted to test on my android phone but now my problem: I can't make any apk files anymore.
1) Is there a way to add swc files after the project is created
2) And is there a way to link some of assets in those swc to classes (for example link a ball asset to a class the implements its functionality. You can do that directly from flash pro CS5.5, but is there a way to do it in flash builder)
I use the Open Resource Window (Command-Shift-R) a lot in Flash Builder and it saves me a lot of time. But I can´t seem to get it to work with my projects xml files. I know this has been working on previous projects ut I can´t find any settings for this.
According to the answers to this question here, the reason why I'm not seeing errors as I work in Flash Builder is that FB is "optimizing" them out because they aren't referenced at any point in the code execution. Is there an option to force Flash Builder to compile all files regardless of whether they're used in the software?
I am currently making a Flash Builder Project using Actionscript 3. I have come unstuck trying to embed and play MP3 sounds.I know that the MP3 file is loading as i have traces the bytes loaded, i have also traced the function which plays the MP3.
import flash.media.Sound; public class Sounds {[code]....
According to these instructions, I'm trying to use ANTLR generated *.as files in a current Flash Builder 4.5.1 project. Therefore, I added this ANTLR's Actionscript runtime to my project - without problems. I compiled lexer/parser specs using ANTLRWorks without problems too. I added the language option to the source *.g file to make ANTLR generate Actionscript sources:
I imported an .fxp project into a Flash Builder and then observed there are 5 .mxml files in the src/(default package) directory. Silly question -- how to run each of these five files?
Since I've named the project differently than any of the .mxml files, whenever I try to run something it uses the default (empty) .mxml file named after the project. Deleting that empty mxml file didn't help anything. I also tried to clean the project, but nothing changes (although I see the directories refresh with the same contents). There are no html files in the bin-debug directory.
There must be some simple way to run those .mxml files that I'm missing.
I got a XFL file, its library files and AS files in a directory.I would like to use Flash Builder 4(FB) for editing AS files, running the compiled SWF and profiling.When I created a New->ActionScript project in FB, I could edit the AS files but didn't know how to link the XFL file and run them.When I created a New->Flash Professional Project, I was prompted for a XFL file, and although the chosen XFL file and the AS files are in a same directory, the AS files are not automatically included in the project. I couldn't find a way to add exiting files in the project either.
I received an inheritance old flex project. I've never worked with Flex. I installed the latest Flash Builder and I need to know the exact version of used Flex SDK. Is there any way to know used SDK version from project files?
I have recently been using Charles the debugging app. And noticed a very chatty app named skyrocket (a very very cool slide presentation app) sending a lot of data across the wire. It is built in flex by the looks and I was wondering why they had chosen to send their data using base64 and not amf. Is it because they don't want to be locked into the flash platform? Or could there be another reason. Is it to store it as XML in the database as they don't want to be dealing with amf when handing data to other services/clients (iPhone etc).
I'm using AS3 to base64 encode a JPG and pass it to Javascript. I'm attempting to use AJAX to pass that base64 encoded string to PHP and have PHP decode it. (I know I could send it back to Flash and Flash could decode it and send it to PHP, but I'm trying to eliminate the need for Flash on the decoding end).It appears that AS3's encodeToBase64String() function and and PHP's base64_decode() function do not use the same algorithm, as PHP evaluates it as a base64 encoded object, but does not seem to output it properly
Does anyone know a good library to unzip local files in adobe AIR for with actionscript 3? I have: A local file named somefile.zip I need:To give some external library a path where I want to save the unzipped version of file.It must be able to process the file and not load it all into the memory.I found the FZip library - but it loads all archived data into the memory.And also found the nochump library, but there is no such parameter to choose where I want to unzip the file.
I have a working AS3 project and it compiles fine to a SWF. I added a new file (via various means: import, drag-drop, new), but it doesn't compile this new file. I'm using Flex Builder 3. I've tried a clean an rebuild. I've tried renaming. It picks up the existing files fine, but not the new one. The project is set to use a HTML wrapper. I see some build files (I think). The new file is in an existing folder and package.
Does anyone know if there is a way to make the new Package Explorer window in Flash Builder emulate Flex Builders 'Flex navigator' window?
Bottom line is I don't always need to peer into SWC's, and I don't like having a 'default package' automatically created for me. Not sure why the interface wasn't made simpler, allowing access to more power and complexity only if necessary. I want to focus on the code, not on how to navigate and use the bells and whistles in the coding environment.
where does Flex builder 3 plugin output error messages? I'm trying to import wsdl however i keep getting an "unable to load wsdl" message.
Ive tried creating a trusted certificate in the jdk cacerts file however no success and could do with seeing what is actually the problem. I have looked under the Program Files/Adobe/Flex Builder 3 plugin/ folder but cant find anything which has been updated in the time frame ive been seeing the exceptions.
I have an AIR project that I was working on Flash Builder 4.5 which now I'm trying to import to my updated Flash Builder 4.5.1 and it is prompting me to fix some paths before the import is completed. I'm kinda clueless what I should put in those fields.
[URL]
The project access a web server to retrieve data using JSON.
I've been using Flash Video Encoder for quite a while now and never had a problem encoding flash from wmv. But in the last week suddenly encoding crashes on ever attempt. At first I thought it was a change in the format of the video that was being introduced, but then I tired videos that I know that I've converted previously. They crash too. I've also tried on 3 different computers, that have all had success in the past.
I have some German content which contains an umlaut (ü). This content is being built into an XML file. I then have a flash file which uses the xml to build a coverflow. My problem is that the 'ü' character is not being displayed in the coverflow. I've made sure the xml is encoded correctly, as you can see from the snippet below:
As you can see, the umlaut is in the albumName element, but when that text displays it simply misses out the 'ü'. I've added a bunch of encoding groups to the text element in the coverflow file, as well as specifically adding the 'ü' in the 'Include these characters' element. I'm stuck for how to get this to display.