C++ :: Decoding Output Of Adobe Flex Base64encoder?

Jul 6, 2010

I've developed web services in C++ and have implemented the ability to provide a base 64 encoded string to send files with other meta data. While I have successfully decoded the string when the encoded data is a text file, images and other binary files are not decoding correctly. Can you point me to a C++ library or implementation of base64 decode that works with Adobe Flex Base64encoder? What RFC does the Flex encode/decode implement?

View 1 Replies


Similar Posts:


Adobe - Flex Builder 3 Debugging Trace Output?

Oct 26, 2009

I have installed Flex Builder 3 and Flash Player 10 on my machine.

I don't know where the trace output goes because I just don't see it (I tried debug and output windows).

Also the breakpoints don't hit.

View 2 Replies

Flex - Prevent Ie From Decoding A Utf-8 Url In Flash?

May 16, 2011

I'm finding that in flash (10.x at least) and ie (7, 8, 9) that if I try to load an image url that contains escaped utf-8 characters (p%C3%83%C2%A5) that the characters get decoded before it makes the url request, even if I double or triple encode them. Is there any way to prevent this so the url (with escapes) the way I want it is actually what is requested?

The problem its causing is we give a http status of 301 on utf-8 decoded url requests to the encoded url which flash then tries to request (but ie decodes it again) and I get stuck in an infinite loop because of the 301 + ie auto-decoding.

EDIT, adding code sample:

var url:URLRequest = new URLRequest('http://mydomain.com/p%C3%A5.jpg');
var loader:Loader = new Loader();
loader.load(url);

Now I want the request to go over the line as [URL] (and it does in other browsers), but in IE it goes over the line as [URL]

EDIT: replacing % with %25 (double encoding the %) but that didn't work, it just caused this request to go over the wire: [URL]

View 1 Replies

ActionScript 3.0 :: CS4: Mx.utils.Base64Encoder Could Not Be Found?

Mar 12, 2010

I need to generate an SHA-256 digest in base 64 format on a string. I found a class to do it but it uses mx.utils.Base64Encoder which can't be found.

View 1 Replies

ActionScript 3.0 :: Using Base64Encoder From Mx.utils In Flash

Jul 21, 2009

I'm using Base64Encoder in a project that is within the adobe ide. Im having issues with compiling the mx package , well it seems to compile but I get missing stuff at runtime namely the base encoder stuff.I know that mx package isnt suppose to be used with flash but I dont really see why not its all actionscript at the end of the day?Its a swc lib by the way and im using cs4 fp10

View 0 Replies

Flex :: Dynamically Create Axis Via ActionScript In Adobe Flex Charting Library; Adobe Bug?

Mar 21, 2011

Multiple axis creation via MXML works fine:
http:[url]...

But when I'm trying dynamically create horizontal and vertical axis then I'm getting extra axes. I believe this is Adobe bug. How I can fix this behavior?

<?xml version="1.0" encoding="utf-8"?>
<s:Application
minHeight="600"[code].....

View 2 Replies

ActionScript 3.0 :: Barcode Decoding Scripts Out There In It?

Sep 30, 2010

Is there any barcode decoding scripts out there in AS3?

View 2 Replies

Actionscript 3 :: Decoding JSON Data From PHP?

Apr 28, 2011

I am able to pull JSON data from PHP into my Flex application just fine with the following bit of code:

[Code]...

View 2 Replies

ActionScript 3.0 :: Decoding A Bytearray File?

Feb 2, 2011

I think I have a basic understanding of using bytearray and saving data to a local fileI've been able to save the data (strings) and bring them back.To start off, I have been teaching myself AS3. I have no knowledge of PHP or where to start with that. It has been said many times that you cannot make a txt file from within flash. Unfortunately this is what I need to do.I put together a map labelling app to use at work here. (it loads in a floor plan, then you can add 'nodes' that track info on each office - employee, ext, office #, data line jack, etc.) I would like to use this data in an access database that I have already running.in short, I would like to output my data from the mapper to CSV. On putting the data into a bytearray I am comfortable with marking the commas as well as line ends, but the data is not txt... is there a way to convert it

View 7 Replies

Windows :: Flash - Run "ipconfig" And Get The Output In Adobe AIR?

Aug 13, 2010

import flash.desktop.NativeProcess;
import flash.desktop.NativeProcessStartupInfo;
if (NativeProcess.isSupported) {

[Code]...

The above can only run a sub-application, but how to run an independent application(command) like ipconfig and get the result?

View 4 Replies

ActionScript 3.0 :: Programmatically Detecting Between Adobe Air And Adobe Flex?

Feb 12, 2010

I have some shared code between an Adobe AIR App and an Adobe Flex App.

On one line of this code, the program must behave differently depending on if it is running within the Air runtime, or the Flex runtime.

How can I programmatically detect the difference?

View 1 Replies

Flex :: Output Database Information In A Text Input Field In Flex By Using RemoteObject(cfc)

Mar 16, 2011

im trying to output my database information in a text input field in flex by using remoteObject(cfc). The information is being provided by a database using a query and an array collection. I'm just unsure how i go about taking the queried array collection information and display it into TextInput Fields.

[Code]...

View 1 Replies

Flex :: Change The Index.html Flex Output To Admin.anotherExtension?

Dec 9, 2010

i need to change the automatically generated index.html flex output to admin.anotherExtension. I understand that if i change the index.template.html the changes in html level will be preserve when the file is generated, however i need to change the name of the file also, and the extension.

View 1 Replies

ActionScript 3.0 :: Trace Doesn't Output Anything In The Output Window Anymore?

Nov 20, 2009

I'm quite new to AS3 (coming from php/c#) and like it very much. My problem: trace doesn't output anything in the Output window anymore?!

View 2 Replies

ActionScript 3.0 :: Trace Doesn't Output Anything In Output Window Anymore

Nov 20, 2009

I'm quite new to AS3 (coming from php/c#) and like it very much.My problem: trace doesn't output anything in the Output window anymore?!

View 3 Replies

Actionscript 3 :: How To Decoding Audio / Audio Playback

Jul 3, 2010

I'm interested in learning how to decode and playback audio in ActionScript 3. I understand how to write bytes to a Sound object using the SAMPLE_DATA event, so that's not really a problem. What I want to understand is how I could implement alternate audio formats for native playback inside of Flash Player. I guess what I'm asking is: how do I take something in X format and "convert/decode" it to WAV format and write the bytes to a Sound object, playing back the audio? I'm interested in writing a decoder for FLAC audio and possibly OGG audio, as these seem to be some of the most widely used open source audio formats

View 2 Replies

Flex :: Controlling The Output Window?

Oct 12, 2009

Every time i compile or run, the flex builder opens a browser showing the output... is there anyway we can destory the older window when newer ones open... i mean a setting in flex.

View 2 Replies

Flex :: Can't Read Output Of Httpservice

May 8, 2010

I have an HTTPservice[code]...

I plan to add other variables to the output time, so need to access each time and worked separately. I may also need to return multiple responses each with their own worked and time values. How do I do that. I was thinking to not use XML. Is there a more lightweight option. Flex shows I have the following options: array e4x flashvars object text xml

View 2 Replies

Flex :: Record WebCam Output Without FMS?

Aug 1, 2011

I would like to buffer a WebCam stream and formulate it into flv, this on client side only.

View 1 Replies

Android :: Flex Mobile Log Output In IOS

Oct 24, 2011

I'm trying to debug an issue on a Flex Mobile project. Specifically, in order to debug this I need to be using a release build for iOS (it is the only way the problem appears). I am having difficulty finding a way to view log messages on a release build. Has anybody been able to successfully see log messages in the Organizer console?

View 1 Replies

PHP :: Flex - Output Of C File In Real Time?

Oct 31, 2009

I have a C executable (named myprogram). When I run it by ./myprogram I get some output statements on the standard output of my Linux shell. I used run.php to get access to whatever is being printed to the standard output:

#run.php
<?php
$output = shell_exec('./myprogram');
echo $output;
?>

Then I called an HTTPService having id="service" to access this run.php file and I also set the text attribute of a TextArea to {service.lastResult}. When I run my Flex app, the interface kind of halts for a moment and then the TextArea displays all the 20 lines at once. But if program is run from Linux shell they appear one by one. Is there a way by which I can display a line as soon as it gets printed to standard output? This will then make the TextArea show the output in real time.

Or is Flex unable to do this? Rather how can a PHP program achieve such effect i.e. showing, whatever is being printed on standard output, concurrently in the browser in real time? Myprogram outputs 20 lines each after some microseconds. I want only the first line of standard output to appear in TextArea of Flex or in the browser (but in real time) while the program may then continue running the program.

View 3 Replies

Flex :: Get FlexUnit Output In JUnit Format?

Mar 12, 2011

I am setting up FlexUnit to run from the command line and want to capture the results in JUnit format, so that I can pull them into Hudson.

View 1 Replies

Flex :: Flash - Builder Output Is Blank?

Apr 20, 2011

When a compile and run the application, the output is entirely blank. The HTML wrapper page does contain the flash application, but the content is blank, even though I have a simple label component on the stage.Also I noticed that when I right-click on the flash object, the default context menu appears, displaying the "Zoom In", "Zoom Out", "Show All", etc..options which are removed from the application by default.If you are interested, here is my code, as easy as it gets. :)

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"

[code].....

View 1 Replies

ActionScript 3.0 :: Flex Catch Mxmlc Output With Php?

Dec 9, 2009

I am compiling an .as file with mxmlc on the fly using PHP.

CODE:
exec("mxmlc example.as",$retval,$success);
print_r($retval);

[code].....

View 1 Replies

ActionScript 2.0 :: Link Input Text To A Variable And Output That Text To The Output Window Using Trace

Jul 22, 2005

I'm teaching myself ActionScript and the book I'm reading just got into input text capabilities. The book shows me how to link input text to a variable and output that text to the output window using trace. My question is: how can I display the text that the user input onto the actual movie. For example... if I wanted the visitor to type their name into the input text box and click Submit and then a phrase shows up with their name such as "Hold on Name, my site will be done soon." How do I reference that variable and have it actually display in my movie?

View 5 Replies

Php :: Flex: Showing Output Of A C File In A Text Area

Oct 29, 2009

I managed to show the output of a shell command in TextArea of flex by calling following php file via HTTPService and then using the dataprovider attribute of TextArea to show the returned output.

<?php
$output = shell_exec('ls -l');
return $output
?>

Now i have a C file which prints some lines (by using printf command of C) when i run it in shell using

./myCfile

But following php code seems to not return anything as my TextArea remains empty

<?php
$output = shell_exec('./myCfile');
return $output
?>

View 1 Replies

Flex :: Flash Builder 4 - Build Into Different Output Folders

Aug 18, 2010

Can I configure Flash Builder 4 to build into different folders? Something like: build applications files into "folder a" and modules files into "folder b"?

View 1 Replies

Flex :: Get The Actual Service Output From A HTTPService Fault?

Sep 21, 2010

Flex HTTPService faults end up wrapped in a fault object that seems to obscure the actual returned text. Right now, I return a custom 400/409 error response to service clients that contains useful information about the cause of the error, which I'd like to have displayed to that client.

How can I, given a fault event, get the actual text of the HTTP error response?

View 1 Replies

Flex :: Get FlashBuilder To Show The Command-line Output?

Nov 8, 2010

Specifically, I want to know what the commands are... all the flags it produces and passes to mxmlc.

View 2 Replies

Flex :: Get DataTipFunction To Return The Output Of 'labelFunction' + SomeText?

Feb 17, 2011

I've a AdvancedDataGridColumn which has both 'labelFunction' and 'dataTipFunction' defined.I want dataTipFunction to return the output of 'labelFunction' + someText.

P.S : The problem here is dataTipFunction doesn't have access to 'column' object.

View 1 Replies







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