Flex :: HTML Post Error - Swf Made HTML Posts To PHP Scripts?
Dec 5, 2010
I have a swf that I have created that make a few HTML posts. When I run and compile the swf locally, it successfully makes posts to my php code hosted on my domain. However when I then upload my swf to my domain, and then alter the embed tag to have a fully qualified path to my hosted swf, the swf will load correctly but it will make any HTML posts to my PHP scripts. The reason that I have an an embed tag with the fully qualified url in it, is that my goal here is to be able to place the html embed code on a number of different sites.
I have it working on a single remote site, and it has a wild card crossdomain.xml file in it. However when I try to apply a crossdomain.xml to any of the hosted sites, or to my computer locally nothing runs when the I use the embed with the fully qualified URL, if I just the locally hosted swf on my computer the HTML post work just fine. I feel this is related to the crossdomain.xml file, however I guess I'm not understanding some aspect of the security model.
I am designing a web application in Flex 4 and currently facing an issue rendering advanced HTML tags and entities in Flex 4. All I want to do is basically render an HTML text coming to me something like the one given below:-
I've got a flex app that is basically completed it uses Zend AMF to connect/supply data.My app does have a login screen which seems to work fine. Now I'd like to add another login form on my site that would allows users to enter in username/password. When submitted form should pass the data to the flex app and bypass the application's login.
I have a application developed in flex deployed on server. In the application data is filled by user and saved in cookies so as to be available even when the user closes the application. However if new version of application is released the user can still access the older version saved in the cahe. How can it be assured that whenever a new version of application is released the application is loaded from the server and not from the cache and at the same time data saved in the older version (in cookies) can also be accessed in the new version.
is there any way to post vars to a pop up. I have to things I need to achieve. One is pass data to php script that builds a pdf to be downloaded with the data passed. I can pass the data fine but I need a new window to open with the completed pdf.
ActionScript Code: var scriptRequest:URLRequest = new URLRequest("download.php"); var scriptLoader:URLLoader = new URLLoader();
[Code]...
I need to combine the two open pop up that I post vars to.
so i am making a website in Dreamweaver cs5 and i am going to be importing a .swf animation for the menu bar i made in Flash. how do i make an action in Flash direct to a page of my website in Dreamweaver for example the index.html file of my web page.right now i have an actions layer with a stop(); command on the last frame of the animation i want to add a command under that, that will take the user to the index.html page of my website when the button is clicked. I have the button already made as well as the animation all i am missing is the code to go to the index.html page.
How can post html url, without going to the site? so far I have tested loadVariablesNum,getURL, myvars and SenAndLoad. getURL works fine, but I don't want that flash goes to that URL Basically URL itself sends data to database. Sending works fine with getURL
I have a scenario that I get an string with html data, this is not just html data it's an email (outlook) saved as an html file and dropped in the string.Now this string needs to be formatted to an html document and should be a clickable link in a datagrid. So when I click on the link, the HTML document should pop-up and should gave me a nice HTML page that is readable for the normal users. I hope it's a bit clear what I want o_0. don't know where to start.
I have created a textArea element but cannot display my HTML content. If I just display regular text it works or if I change the textArea element to a RichEditableText element it works fine. Since this is for a mobile app I would prefer to use the textArea element as recommended by Adobe.Here is the MXML code for the textArea. All I get is the border and no content displayed.
-1 large html (home.html) file houses 2 html files (aaa.html and bbb.html) -aaa.html consists of 1 swf button -bbb.html is empty
question: is it possible to click on the button in aaa.html and have the action occur in bbb.html? (for example, clicking the button in aaa.html will load a swf in bbb.html)
I have an <mx:HTML/> component in my flex air app that shows a web page. The problem is, if the web page has a link on it and they click it, it does not take them to that page. Is there a way to allow this, or a work around? is there a way for the loaded webpage to send Flex info about events that occur in it?Here is my code:
Using the flex text area I am trying to put an image inside a list. Whatever I do, the image is pushed to a new line. The html is below. I want to show text and the image on the same line in list item 2. I have taken some of the formatting out for readability.
I have HTML + CSS text. I need some lib with simple function like "Render String Var conteining HTML" So no external files (like in flash lib called HTMLwraper you just have to play your SWF on top of HTML). dinamic! I give it string it renders It into some conteiner (not as a bitmab but as if it was real HTML dynamically rendered in flash). (And I need real HTML + CSS support not what normal rich text block gives us)I am going to use it in with Flex (Flash Builder) so I like MXML component model but even pure flash AS3 will workout.It should be Free and Opensource (any license like GPL, LGPL etc will be ok).So Is out there such flashflex library for HTML + CSS dynamic rendering (rfom given String or XML)?
There are various ways to show flash(swf file) on html, for example, object or embed tags.I want to support IE6-9, FireFox3-, Chrome, Safari, and as many other browsers as possible.(especially IE6-9)But I also want to use simple tag as possible.What is the best way to write html tag to show flash(swf file)?
I'm using a custom tooltip in order to be able to use html tags. The method I used is described here.I'm using SDK v.3.5. I also did a little hack so that the TooltipManager.tooltipClass would work (check this post for more details).Here's some code.
HtmlTooltip.as: public class HtmlTooltip extends ToolTip {[code].....
Everything works fine BUT 2 things: First, font colors tags don't work. If ever I use sth like <font color='0xadadad'>...</font> it won't work. However, if I use <u>...</u>, it works fine
Second, the <a href='...'>...</a> does not work either. I checked in several websites, and the solution would be to set the selectable property of the text to true.
I am currently using URLLoader to get the source code of a webpage, problem is, I need the source that is is created after its javascript runs (what you would actually see in a browser), not the true source code.
I can manually see this Post-Javascript source by loading the page in firefox and then putting "javaScript:" followed by my javascript function in the URL area. It shows me the CURRENT source of the page.
Any way in as3 to get the final html (post-javascript) of a page?
Is it possible that I go to an html page , (which contains a flash movie) and let the movie start playing in a certain behaviour according to a parameter passed in the URL?
Have a thumbnail image acting as a button - sitting on my HTML page.When the user clicks it, the button uses the POST method to send a specified variable.I think I can handle the variable from there using javascript - which will talk to my embedded swf.
What is the best way to convert a tlf markup to HTML? I want only standar HTML without the old font tag. I think I saw a utility created by someone for this, but I can remember where it is.
I'm trying to post xml data to a service using HTTPService and am frequently getting "Error #2032: Stream Error" with larger posts. In most cases it's sending a post with a content length of around 4100147.
When watching these requests in wireshark, I noticed that the post gets sent... and then it gets sent again a short time later. I have verified that the send method is only called once, and requestTimeout is set to 0.With smaller amounts of data, it works fine.
Here is the case: Everytime that I clean eclipse project and restart Apcahe Tomcat server and run the application main MXML I got the following error "The requested resource (/{Main mxml file name}.html) is not available." To solve this everytime I should create a new MXML application,restart the server and then everything is fine.
Recently I came across a long and details blog post or tutorial about creating a music player for air on android, but the audio management was with a native extension.I didn't bookmark it, I have searched quite a bit and I just cant find it again!!!It was only 2 or 3 weeks ago.