My PHP Code returns always NO regardless there is a username and password.
Flex/MXML code:
<mx:RemoteObject id="zendAMF" destination="zend" showBusyCursor="true" source="test_class" >
<mx:method name="doLogin" result="onSayHelloResult(event)">
<mx:arguments>
<username>
{username.text}
</username>
<pass...
Hi,
I have the following project structure:
- A Flex Project (SDK 3.3)
- Multiple SWCs with grafics and textfields that are used as components in the Flex project.
Since I have a lot of SWCs that all use the same font in dynamic textfields, I do not want to embed the font in every SWC.
Instead I want to have a library (RSL?) with the fo...
Hello, I created my own validation control.
something like this
control.mxml:
<mx:states>
<mx:State name="ExceptionState">
<mx:AddChild relativeTo="{hbox1}">
<mx:TextArea id="txtError"
styleName="errorMessage"
width="140" minHeight="26"
wordWrap="true" editable="false"
/>
</mx:AddChild>
<mx:SetProperty n...
Hi,
I want to post data to a URL on my server from a Flex app. im using the following
UrlParam = UrlParam + '&name='+ name.text + '&business=' + buisness.text; navigateToURL(new URLRequest(UrlParams),'_self');
the problem im having however is that if i enter a business with an ampersand ("A&b.com") then the name does not send.
D...
I'm adding a line to a canvas using canvas.moveTo(0, 0); canvas.lineTo(100, 100);, but I then want the user to move the mouse to set the rotation of the line. Google suggests using the rotation property, but I don't have a reference to the line object. Can I get a reference to the line or should I rotate the whole canvas? Is any of thi...
I'm trying to create a module for a flex application, and I want to send notifications to clients. I've been looking at the BlazeDS messaging service to push out the notifications to clients, but I want to be able to send certain updates to certain clients. The Flex notification framework doesn't seem to allow this - if we have a field...
I have a flex application that uses BrowserManager for Deep Linking.
But whenever the # changes the new hash fragment gets appending to the bottom of the page. In IE it is inside a frame that says "Hidden frame for Browser History support." I didn't even know it worked that way. But anyways it is not supposed to be showing up visibly on...
I have a TextInput and a Canvas object both inside an HBox object. When the input text field has focus it highlights, I would like to change this to be the containing HBox that highlights when the Input Text has focus.
Does anyone have any ideas on how I can do that?
Here is my code:
<mx:HBox
keyDown="checkKey(event)"
hori...
I have an small application in flex in which I have defined 2 canvases. On one of them I added controls and the other one is used to draw something and no controls are added:
<mx:Canvas x="0" y="80" width="100%" height="520%" id="Canvas1"/>
<mx:Canvas x="0" y="0" width="100%" height="80" id="Canvas2"/>
I add an keydown event handled t...
I would like to let the data provided to a DataGrid decide how best it should be rendered (that is, let the data carry with it an object which will do the rendering).
For example, by creating a "Renderable" interface, which has a 'renderer:IFactory' property, then used as below:
<mx:DataGrid x="0" y="0" width="100%" dataProvider="{myDa...
I have a TextInput object that highlights when it is focused...I would like it not to highlight when it is focused...seems like something that should be simple but I can't figure out a way to stop it? Any ideas?
Thanks!
...
Hi
I have creating a distributed note taking application in flex, it basically is a notepad I can keep in my desktop tray. When I add notes and goes back to a server and saves it in a database.
To am struggling to design the application correctly, I want to have a Syncing service that polls the webserver for changes and updates an Arr...
I'm storing my model data in a Singleton called ModelLocator. This is pretty common...
Can I look at this data in the debugger?
[Edited - Title changed]
...
Hi All
I am wondering how I would add a checkbox at the start every line in a textArea. Kinda creating a checklist.
...
When i refresh my flex application, the page does not hold its state and gets back to login page. I am not sure why this occurs, Here is my peiece of code handling session.
public function doLogin($username,$password) {
include("connection.php");
session_start();
session_register("session");
$query = "SELECT *
...
I have a hierarchical data set that i would like to display in an advancedDataGrid. My data is a set of composed value objects that do not use the 'children' attribute. On a Tree control you can create a custom dataDescriptor to define which elements contain the children of the node. Can this be done on the datagrid as well?
...
I want to learn how to process XML with namespaces in E4X so basically here is what I want to learn, say I have some XML like this:
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://purl.org/rss/1.0/">
<rdf:item value="5"/>
<item value="10"/>
</rdf:RDF>
How could I assign < rdf:item /> to a v...
I have a WebService that returns XML in a SOAP response:
<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<GetConfigResponse xmlns="Web.Services">
...
I am using a custom advanced auto-complete component. Selected items do not have a tooltip by default, but I would like to use the label as my tooltip.
The arraylist allQuestions is the dataprovider to my component.
<components:AdvancedAutoComplete id="addQuizQuestions_txt" width="800" height="300" dataProvider="{allQuestions}" labelF...
In as/flex, Is it possible to find all Classes in a package that implement a certain interface?
...