Flex TextArea Keep focus/selection when a button is clicked.
Hi I am wondering how I would keep the focus/selection on a TextArea even when a button outside is clicked. Like how the RichTextEditor does it. ...
Hi I am wondering how I would keep the focus/selection on a TextArea even when a button outside is clicked. Like how the RichTextEditor does it. ...
How can I used ActionScript to draw on different frames of a movie clip. That is, make it so that movieClip.gotoAndStop(0); will show something different to movieClip.gotoAndStop(1); ...
private function google(event:ResultEvent):void { Alert.show(event.result.loginsuccess.keyword[0]); subtitle.visible=true; Results.visible=true; Occur.visible=true; query.visible=true; subtitle.text = "Search results for " + event.result.loginsuccess.keyword[0]; ...
<mx:DataGrid visible="false" id="dgPosts" width="365" click="" dataProvider="{sendReq.lastResult.loginsuccess.name}" x="140.5" y="169"> <mx:columns> <mx:DataGridColumn headerText="name" dataField="name"/> </mx:columns> </mx:DataGrid> When i click on a particular dataItem, the corresponding w...
By works, i mean : how item renderer are instanciate , call , destroy... what is theire life cycle ? I had some display bugs, and this link open my mind to the problem http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Parts&file=cellrenderer_072_14.html ( the doc is the same for f...
I was wondering how to convert a file I have on my server (pdf/excel/ppt) to a ByteArray. The reason I want to do this is to display the dialogue open/save as to the user and I must set the Content-Type to octet-stream. The dialogue shows fine with just navigateToURL() but for pdf's it is the user's local browser setting. For a URLReques...
My flex app has a call in it to: navigateToURL(new URLRequest(_rURL),'_self'); But it takes about 3-5 or even more seconds before it will leave the current page. If I omit the '_self' the new window opens immediately and the page loads immediate...but only when I set it to _self I get a few seconds of a delay before it loads...I have...
Are there any libraries out there which will help me style a Flex application without going insane? For example, is there any "accepted" way to set an element's size/position without hard-coding it into each element? ...
Take a look at this demo, how do they accomplish the Inline Changes feature? To me it looks like they are floating a movieclip over the textarea. What I can't figure out is how they anchored the movieclip to stay in the correct position. If you type something before the movieclip it moves position along with the text, the movieclips ev...
I am using web2py (v1.63) and Flex 3. web2py v1.61 introduced the @service decorators, which allow you to tag a controller function with @service.amfrpc. You can then call that function remotely using http://..../app/default/call/amfrpc/[function]. See http://www.web2py.com/examples/default/tools#services. Does anybody have an example of...
In Adobe AIR 1.5, I'm using URLLoader to upload a video in 1 MB chunks. It uploads 1 MB, waits for the Event.COMPLETE event, and then uploads the next chunk. The server-side code knows how to construct the video from these chunks. Usually, it works fine. However, sometimes it just stops without throwing any errors or dispatching any eve...
I know this is a fairly simple question, but I'm sure I'm not the first to have it, and won't be the last, so I thought it might be a good idea to get the answer in Stack Overflow for the benefit of everyone else, as well as not bugging my local Flex guru. I've got an object that contains a dozen or so fields I want to bind to form elem...
Hi Guys! Here is the error: TypeError: Error #1009: Cannot access a property or method of a null object reference. at mx.styles::StyleProtoChain$/initProtoChainForUIComponentStyleName()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\styles\StyleProtoChain.as:72] at mx.core::UIComponent/http://www.adobe.com/2...
My Flex web application is almost ready for launch. I'm currently optimizing as much as I can in order to make sure even low-end clients are able to run it fluently. The problem is, I have no idea where to optimize more than I've already optimized. My question is, what are the usuals suspects regarding bottlenecks? What tips and experie...
In my project I used Google adwords API and also Yahoo API. I want to send request to two API at same time by using flex. Is it possible to send request to same time. If not how can I do ? ...
Hi everyone ! Almost everything is in the title : Here's what I'd like to do : A nice html page with a php authentication process (http first then http**s** & so on) Launch a flex app which knows (I don't know how (this is the actual question !)) the user has already been authenticated and display his/her stuff he/she has to do for ...
Hi, I am use the FileReference in flex to download a file and I have created a listener for the progress bar but the event does not fire until the data has fully transfered. The file downloads fine. I tried this against a python cgi script and a file just sitting in the root of the web server. Same behavior with Flash 9 and 10. I h...
I'm getting an unusual behavior that I can't seem to get to the bottom of. When I run this, if I move in the swf area it traces normally on mouse move. To be expected. But it's tracing for the move event when I click anywhere on screen. If I click and drag, it traces as if I were moving in the swf area of the browser. Here's the code. ...
in Flex if i have a loader class (i.e., XMLLoader) and a document class (document.as) and in document.as I'm instantiating XMLLoader var ldr:XMLLoader = new XMLLoader(url); ... and on the document.as class I have a text box, which I would like updated with the progress from that XMLLoader is making by using URLLoaders progress event, ...
Hello Flexers, I have what seems a straighfoward situation: I update the source property of an image, when the image is loaded i want to redraw the border skin to fit the new size of the image. newImgEdit.addEventListener(Event.COMPLETE, loadImgComplete); newImgEdit.source = myurl_ressource; private function loadImgComplete(evt:Event...