I am currently working on a Flash socket client for a pre-existing service/standard. The service uses TCP flow control to throttle itself and the Flash socket is reading in everything as fast as it can despite not being able to process it as fast as it's being taken in. This causes the bytesAvailable on the socket to keep increasing an...
Want to find out if facebook status can be updated through flex or air.
...
In Flex, I created a TextArea control and slapped in text data. If I do .setSelection(begin, end) and then call .setFocus() on the TextArea, it usually works fine (selected text comes into focus view correctly).
However, if I have wordwrapping turned OFF and let's say text goes beyond the visible horizontal viewing area of the TextArea...
Hi.
I wrote a simple application for facebook and it seems that i fail to login.
I created a test application on facebook and i test my application by going to apps.facebook.com/
i have the following function that is being executed after ApplicationComplete event of my main application.
private function initFacebook():void {
...
I am using Flex/Flash to build a UI which front-ends my Rails server application. I am using WebORB as the communication mechanism. My question should apply beyond just WebORB, however. (I think).
Specifically, it has to do with the services-config.xml file. I have a local (laptop) dev environment, a remote dev and a remote production e...
I have a grid filled with >1000 datasets. one column uses a custom itemRenderer which is used to display the value of a foreign key.
All the datasets which are displayed without scrolling are displayed with the right information. But when it comes to scrolling, some datasets will have displayed the wrong value in the itemRenderer. As fa...
Is there a way to post to a users Facebook wall via fbConnect? (php/as3)
I can authenticate and pull info but not post anything. I have searched extensively and not found a working example or docs on how to post directly via AS3. My current work around is to external link to an Ajax page. blah.
J~
...
Hi everybody,
I have this message, always when I paste something in my datagrid. I tried to figure out why that is, but I cant find Any ListEvent in the functions which do get called...
Can anyone give me a hint how I could approach to reason of that problem? I tried to comment parts of the code but I still couldn't find the basic of t...
Hi,
Right now I have an Accordion component in Flex that has two children, I want to give the children a reference to my application model when they have completed their instantiation (after the accordion changes index).
The following notation fails for me because the children are instantiated after the event is triggered (accordionCh...
In Flex, you can add functions to the prototype of a Class; but how do you add a setter?
For example, with A some (non-dynamic) class, you can do this:
var o:Object = new A();
A.prototype.myFunction = function():void{trace("foo");}
o.foo();
And that will call the foo function. But how could you add a setter, so that setting the prope...
I have a block of html text which is displayed to the user in a TextArea. Currently, the I have embedded the HTML as an XML object within one of my classes, but this seems like a terrible design. I would like to put the HTML in an embedded file and load it into an XML or String object.
I've tried to search for how to do this, but my s...
Can anyone tell me why the Range, header is restricted in the Flash player?
I want to be able to pause and resume downloads in my flex application, but I get a RTE when trying to set the Range header.
Error #2096: The HTTP request header Range cannot be set via ActionScript.
I imagine there isn't going to be a work around client side...
Hello Everyone,
I am trying to combine paging functionality with a Tile control. Has anyone seen an example of how this has been done?
Thanks in advance for any insight,
Orville
...
I am binding a checkbox to a property on a control. Everything is fine, but I need to bind the checkbox to another property, and the value needs to be the opposite of chkbox.checked.
BindingUtils.bindProperty(obj, "propertyBool", checkBox, "selected");
I need something like this...
BindingUtils.bindProperty(obj, "propertyBool", chec...
It's coming from this line of code:
var dropTargetXML:XML = XMLTemplate.template.component.section.question.(@question_questionID == nNode.parent().@question_questionID)[0];
nNode is an XML node sent as an argument to the function this is called in. The code runs, and does everything expected but the compiler sends out that warning. D...
If my ComboBox is editable how can I tell if a change event comes from a change to the TextInput or a change in the selectedIndex of the drop down?
Is there a way to check for this in the event object?
...
Is there any way to speed up MXMLC compiles using Flextasks in Ant in Eclipse. Compared to FDT and Flex Builder's in-built compilation, it is painfully slow.
...
The "import "Player.as" line throws the error: 1084: Syntax error: expecting rightbrace before semicolon.
package {
import "Player.as"; //ERROR
import "Card.as";
public class Game {
I was going great with Flex, until I tried to split up my code into separate files. Now I'm struggling.
Here are my files and their dependencies:...
EDIT: I just needed to add: import mx.controls.Image;
I have an MXML file, and when I can add image tags to the XML and it works.
But, I can't figure out how to create an image and add it to the canvas programatically with AS.
I was hoping this would have worked:
var card:Image = new Image(); //ERRORS ON THIS LINE: call to possibly u...
Hi,
I'm trying to get Flex and OpenX to work together.
OpenX is returning XML. I've got two Flex classes that clean-up the XML and place the ads on my site (thank you Daryl Bowden). Unfortunately, I get Error #1090: XML parser failure, when I test it. And I can't figure out why.
The first class is:
package com.darylbowden.ads
{
imp...