Flex :: URL Encoding - Posting Data On Server

May 27, 2009

I want to post data to a URL on my server from a Flex app. I am using the following
UrlParam = UrlParam + '&name='+ name.text + '&business=' + buisness.text; navigateToURL(new URLRequest(UrlParams),'_self');
The problem I am having however is that if I enter a business with an ampersand ("A&b.com") then the name does not send. Does Flex have anything out of the box to do the encoding from & to %26?

View 2 Replies


Similar Posts:


ActionScript 3.0 :: Posting Data To Server?

Dec 17, 2010

I'm wondering what is the best way to post arbitrary data to the server in the same format, as forms in web browser? I'm using this thing by now, and it seems it more useful to load data from server, but not the uploads.

View 3 Replies

ActionScript 3.0 :: Posting Data To Server And Returning XML Results

Apr 2, 2012

I've created a function to send Post data to my server, and this then outputs xml to the page. What I can't find any information on how to get this data from the page back into flash.

View 2 Replies

Data Integration :: Posting Data To PHP Script?

Apr 29, 2009

What are the best methods (if there are any) when submitting data to a PHP script to check if the "submitter" is the flash object and not a user hitting the URL?

View 5 Replies

ActionScript 3.0 :: Posting Web Data?

Sep 3, 2011

am trying to use AS 3 (for which I have beginner skill) to send and receive data to/from an ASP page (this ASP page is done) that interacts with a MS SQL databaseThe Flash SWF would send a name and password entered by the user in the SWF to the ASP page; the ASP page script (already written) would check with the DB, return either YES or NO (YES if the name/password is found, NO if not), plus return a score number, and then the ASP page script would write these 2 variables as a response to the Flash SWF (var data = YES or var data = NO, plus var score = 'the score numeric value'.

View 4 Replies

ActionScript 3.0 :: Posting Form Data Via Php Using As3?

Jan 31, 2010

I have a simple form in my flash cs4...I am unable to get it to post to the php script here is the code I have:

Code:
var req:URLRequest=new URLRequest("mailer.php");
var vars:URLVariables = new URLVariables();

[code].....

View 3 Replies

ActionScript 2.0 :: Flash8 - Posting Data To PHP / MySQL Database

Oct 11, 2006

How I can send some text in a dynamic flash textfield to a mySQL database and vice versa? Basically I've created a text field - assuming it has to be dynamic (with an instance name of "tUserdata"), it's going to be multiline text, and upto 255 characters. As the user clicks the submit button, the data held in the flash text field is sent to the mySQL database and stored there. I understand that i have to use PHP as well - and heard i need to use the loadVars function. Need Coding in PHP and connecting to a MySQL database, and what actionscript I need to insert.

View 3 Replies

Professional :: Real Time Posting And Receiving Data To And From Txt Files?

Apr 6, 2010

The component itself receives all its parameters from a .txt file. The editor is a read/save form that initially loads the parameters into it's form fields, and then overwrites the .txt file when the user hits submit. You then refresh the component on whatever website you have it to see the changes.Here's the php code that I found to get me going:

<?php  //Capture data from $_POST array  $title = $_POST['Title'];  $comments = $_POST['Comments'];  $image = $_POST['Image']  //Make one big string in a format Flash understand  $toSave = "Title=".$title."&Comments=".$comments."&Image=".$image; 

[code].....

View 2 Replies

AS :: Flash - Send Additional Information While Posting Video Data?

Jan 20, 2011

I'm now saving the snapshot this way:

vidBmpHolder.draw(main.media.videoLocal);
var jpgEncoder:JPGEncoder = new JPGEncoder(85);
var jpgStream:ByteArray = jpgEncoder.encode(vidBmpHolder);

[code].....

View 2 Replies

Media Server :: Encoding On The Server?

Aug 19, 2011

How can I receive a 1.5Mbit stream from Flash Media Live Encoder and then re-encode it to 2 different streams?t's much like what Ustream is doing. They receive one high-quality feed, and then re-encode to a couple of different qualities in realtime.

View 11 Replies

AS3 :: Flash - How To Perform Encoding Of A Wave File Into Base64 Encoding

Aug 1, 2011

I need to perform encoding of a wav file into base64...

View 2 Replies

Media Server :: How To Secure Live Encoding On FMS

Dec 17, 2009

After installing FMS 3.5.1, anybody can use my server for live enconding. How can I configure the server to authorise live encoding only from subdomain 1234.4567 or by a password?

View 3 Replies

Media Server :: How To Secure Live Encoding

Jan 26, 2010

We just found out someone is bouncing a pirated feed off our FMIS 3.5.2 server. after months of not having to look at this thing (and not remembering crap about parts of the setup), I'm trying to discover a few things.
 
First is, how do we tell FMIS which vhost allows live encoding?   Second, as I look at the logs and logger.xml, I'm trying to tell how to force it to show the ip's of inbound/outbound traffic.  Think I'm doing the right things to the file, but the log for the application/entry point the pirate is using doesn't show what I believe I configured to be the fields that should show up in the log.   Finally, trying to figure out how to force authentication of media encoders talking to the server. I'm scanning the online help docs, etc. trying to remember all this stuff.... but if anyone can say "look at this page in the pdf, and this page in the online" to affect what I need to do to lock this up quick,

View 3 Replies

Media Server :: H.264 Encoding Not Displayed Properly

Jun 23, 2011

We have a webcam/chat application that is having bad issues with the video display of a live stream. The application is a bit old (Flex 3.2 recompiled to FB 4.5) and uses FMS 4 which gets it`s encoded streams from FMLE 3.2. The problem is that when a stream is sent using H.264, the playback in Flash is quite bad. Visually, it basically looks like Flash does not always display the "in between keyframes information" properly. Big square pixels from the last keyframe appear instead.

View 3 Replies

Media Server :: Publish To FP11 With H.264 Encoding?

Nov 16, 2011

I want to build an application to stream h.264 video from the browser, how can I be able to do this? I can't seem to find the playerglobal.swc anywhere, I have Flash CS5.5

View 1 Replies

Media Server :: FME Disconnects Randomly While Live Encoding?

Apr 21, 2009

when doing a live encode with Flash Media Live Encoder 3 to FMS 3.5, the encoder disconnects randomly after 1 to 8 minutes.It takes about 50 seconds for the encoder to recognize the lost connection, then it re-connects. I tried to encode from different locations, but the problem remains.

View 2 Replies

Media Server :: Are The FMLE3 Support The Hardware H.264 Encoding

Apr 24, 2009

I use H.264 Video Format,25fps,800x600 size,1000Kbps.Start the encoding,the CPU utility rate is going up to the 90%~100% percent.Plenty of video drops.For to reduce the cpu utility rate ,i want to use the hardware encoding of the nvidia geforce or the ati videocard.Are the FMLE3 support the hardware h.264 encoding?

View 1 Replies

Media Server :: Protecting Live Stream Encoding URL

Apr 21, 2010

We set up a Flash Media Server and we are trying to figure out how to protect our live encoding url. Seems like anyone with a Flash Media Encoder and who knew the location of our server could publish a live stream.

View 13 Replies

Media Server :: Encoding Advice For Dynamic Streaming

Mar 8, 2011

I need to find out how to layout my bitrates and widths in a way that will:make the switching between to levels (video qualities) as smooth as possible.support a wide range of bw (bandwidth). User with large bw should be fed with a high quality vid and users with low bw should be fed with a low quality vid.support both player widths: 416x240px and 640x340px without doing two different bitrate/with layouts. I have tested the following bitrate/width layot:Q5-Q8 is ment for fullscreen view, Q1-Q2 is ment for our small player and Q3-Q4 is ment for our large player.It works but I'm far from sure that it is the optimal layout. For instance, is it a problem that to videos with different widths have the same bitrate settings or bitrates that lay close to one another?As far as i know, the player (JW Player) will not choose a video that is more than 20% wider than the players width.

View 1 Replies

Actionscript 3 :: Flash / App Engine Request Data Encoding

Nov 12, 2010

I'm new to Flash and trying to communicate with an app engine server but I'm having some encoding problems. [code]This does not work, gives me some encoding errors on the server side. But if I switch POST to GET it automagically works.

View 1 Replies

ActionScript 3.0 :: Encoding Image Data Into Binary Strings?

Jul 1, 2009

I'm trying to write a flash program that will import JPEG's and embed them into an XML string for storage. However, i'm having some trouble with casting them back into Bitmap objects, after encoding and decoding the strings in Base64.

I've used the external Base64 encoding class created by Steve Webster, which seems to work great in encoding and decoding the files, but i'm clearly doing something wrong in my code. I'm not sure how exactly I should be converting the decoded bytecode back into an image object, and get flash to display it. Should it be a bitmapData? do I have to code it via setting the pixels manually? Or can I simply just cast it as a Bitmap object?

here's a snippet of my code to show what I mean - At the moment this will return an error. Other things i've tried seem to return the object as a memory reference, rather than it's actual data.

(trace statement)
decoded.readObject() = ����
Error: Error #2030: End of file was encountered.
at flash.utils::ByteArray/readObject()"

[Code].....

View 5 Replies

ActionScript 1/2 :: Commas Inside Array/local Vs Server Encoding?

Jun 17, 2009

I have a large flashvars string that I'm splitting into a 2d Array when it's pulled in flash. The problem I'm having is that one of the items of the inner array needs to be able to contain commas. The commas are encoded using php urlencode. I took the entire string printed on the web page and put it in a local var so I could test locally (by that i just mean without having to upload it to the server). So locally everything works fine, but when I upload it and use the real flashvars data, anything containing a comma and anything after that item, comes back as undefined.Here's an example of what part of the string in flashvars looks like. It would represent one item in the outer array.
 
"15;nameofstore;nameofstore;C32;;nameofstore%2C+Inc.+is+the+nation%27s +largest+
department+store+company+and+strives+to+be+the+department+store+of+cho ice+in+
each+community+it+serves+by+providing+superior+service+and+merchandise +that+

[code]..... 

View 1 Replies

Media Server :: Which Kind Of The CPU Can Support The FMLE3 To Encoding The H264 Format

Apr 24, 2009

The Signal is yuv or pcm stream , i use the fmle3.0 to encoding to the h.264 format.
Once started.the CPU utility rate is going up to the 100%. I want to konw,which kind of the CPU can support the live stream. In other words,My require is encoding the one live stream the cpu utility rate is below 30%.

View 2 Replies

Media Server :: H264 Live Encoding In Flash Player 11 Slowly?

Oct 21, 2011

I am using the new Flash Player 11 ability to encode H264 video within the Flash Player. I am streaming the webcam via RTMP to a FMS. I am using the following settings:H.264 BaselineLevel 5.1Keyframe freq. 5 seconds25 FPSInput size: 1280 x 720 (720p)Output size: 1280 x 720 (720p)Bit Rate: 1000KbpsWhen I am using these settings with FMLE 3.2, the final stream plays very fluent with a good amount of FPS. If I am using Flash Player 11 for the encoding job instead, the final video is not as fluent as before and achieves less FPS (maybe 5 FPS).So the question is: is Flash Player 11 not as good as FMLE 3.2 or am I missing some configuration?

View 2 Replies

Media Server :: Live Encoding H264 To FMS Via Ffmpeg Command-line Or Java Code?

Feb 3, 2010

We just shipped Xuggler 3.4 this weekend which now has the ability to record and publish RTMP streams.  That means you can now write Xuggler (a Java API for encoding and decoding video) programs that can publish to FMS or record from FMS.
 
We've worked closely with the FFmpeg team to get the core RTMP stack into that project, and have put together a tutorial on how to use FFmpeg to record or publish streams, including re-encoding media to H264/AAC while publishing. 

View 7 Replies

Flash :: Posting To Twitter Using Flex

Mar 7, 2012

I am trying to post a "tweet" to my twitter using Flex (using the Flex 3.5 SDK and Flex Builder 4 if that makes any difference). On an mxml file I've created a button simply to make it easy to call an AS3 function, and in the function, I'm making a URL request. Obviously I'm doing something wrong, because my tweet ain't posting. I got these variables in the curl request provided by Twitter themselves, which actually worked. My guess is that I'm formatting something incorrectly, but I don't know what that is. Here is the code I'm using:

[Code]....

View 1 Replies

Php :: Recording Audio On Website: Red5 Stream Or Posting The Audio Data?

Sep 6, 2011

Let me first establish what I want to do:My user is able to record voicenotes on my website, add tags to said notes for indexing as well as a title. When the note is saved I save the path of the note along with the other info in my DB.Now, I have 2 choices to do the recording, both involve a .swf embedded in my site:

1) I could use Red5 server to stream the audio to my server and save the file and return the path to said file to my app to do the DB saving, seems rather complicated since I would have to convert the audio and move it to the appropriate folder that belongs to the user in a server side Red5 app, which I'm not very aware of how to build.

2) I could simply record the audio and grab its byte array, do a Base64 encoding on it and send it to PHP along with the rest of the data that is necessary (be it by a simple POST or an AJAX call), decode it on the server and make the file with the appropriate extension, audio conversion would also occur here using ffmpeg, this option seems simpler but I do not know how viable it is.

View 1 Replies

Media Server :: Flash Media Encoding Server?

Mar 29, 2011

I have already installled Flash media Development server. I need to workout this tutorial.But i am unable to see the Encoding Srever console .. How do i setuop this?

View 1 Replies

Flex :: What Encoding Unescape() Function Uses

Aug 24, 2010

what encoding unescape() function uses? I have problem that URL param has utf8 foreign chars, that flash fails to read.

View 1 Replies

Flex :: Encoding For RTF Text - Does One Exist

Nov 2, 2011

I'm wondering if there is an encoding like UTF8/16 that can account for characters that are bold, italic, underlined, and super/sub-scripted? If not, is it under consideration by the powers that be? Reason for the question is that I have a large excel file where many cells contain rtf text such as italics, bold, superscript; and I need to access the information on a row-by-row basis. I know I can save the file in html or xml, but I would like to import the data into MySQL - keeping the formatting - and then being able to access the data a row at a time.

I've considered using Markdown or Textile, but that means a whole lot of time changing each cell - we're talking about 5,000 records. Also, I want to continue to use Flex and I'm not sure if Flex can display html formatted text in their text controls because of their their text engine...

View 1 Replies







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