I'm having trouble with an AS3 AMF RemoteObject request that is hosted on App Engine. I have a crossdomain.xml file in the root of the domain, and also one at the remoting endpoint.
Here are the contents of the root crossdomain.xml:
<?xml version="1.0"?>
<cross-domain-policy>
<site-control permitted-cross-domain-policies ="all"/>
...
I have a flex application that loads an external swf file. I created the external swf file using flash cs4 so I can add code to it if that is what it takes.
Here is the code I use to load my external swf:
//add button swf
var request:URLRequest = new URLRequest("http://www.yadayada.com/media/but_button.swf");
var loader3:Loader = new L...
Hi.
flex4 provides the following namespaces:
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/halo"
what's the difference? which namespace provide which function? where can i find info about that?
...
hi.
i'm trying to populate a <mx:List> with a dataProvider that i received from a soap request.
i get the following error when i try to achieve this:
TypeError: Error #1034: Type Coercion failed: cannot convert AchivementsItemRenderer@1906a851 to mx.controls.listClasses.IListItemRenderer.
at mx.controls::List/createItemRenderer()[E:...
Hello.
I'm trying to skin a button with images.
i added the following css code:
.muteVolumeButton {
upSkin: Embed(source='images/sound-mute.gif');
overSkin:Embed(source='images/sound-hover.gif');
downSkin: Embed(source='images/sound-on.gif');
disabledSkin: Embed(source='images/sound-mute.gif');
}
when the button is c...
I'm playing with the video components of Flex. When starting a new project, I was able to choose between (MX only) and (MX + Sparks). When I set the project to (MX + Sparks), the only video component I find is called s:VideoPlayer and it comes skinned. When I start the project as (MX only), the only video component I find is mx:VideoDisp...
Hi.
I have a master swf that loads a child swf using SWFLoader class. the child swf is connecting to adobe flash media server using NetConnection class. using the parent swf i want to to display status regarding the connection. how can i do that ?
...
Hi.
I try to load an swf in my flex 4 project using the following line of code:
<mx:SWFLoader id="game_swf" source="demo.swf" complete="init()" />
the demo.swf file is another project i created using flex 4. the problem is that when i run the application i see only the loading bar of the demo.swf flash file and nothing else.
if i t...
I've got a bare minimum Adobe Air application; it's basically a s:SkinnableContainer inside a mx:WindowedApplication. I have a 6000 x 9000 pixel PNG image (~3.20MB) that I want to show in the SkinnableContainer. Note that the s:SkinnableContainer is a tag from Flex 4 Beta3 (spark components).
Background
Before I explain the problem, a ...
Hi all,
Let's refer to the listing of the method "validateProperties" from mx.core.UIComponent class from Flex 3 (Flex 4) SDK
public function validateProperties():void
{
if (invalidatePropertiesFlag)
{
commitProperties();
invalidatePropertiesFlag = false;
}
}
My question is:
Why dirty flag invalidatePro...
I'm using the Flex 4 beta and the ability to load an external css seems to be broken. Running the code below shows no styling at all. Have I missed something?
Here's the code:
package components
{
import flash.events.Event;
import flash.net.URLLoader;
import flash.net.URLRequest;
import flash.text.StyleSheet;
import ...
I have Flex 4 app which is deployed in internet.
Just as an intro, when i'm behind our corporate proxy server, IE and firefox asks for username and password when accessing external websites.
WHEN BEHIND PROXY
In IE (i tested only in 8) Flex app starts fine, but it fails to invoke webservice - CallResponded result or fault event doesn...
I am looking for a way to programmatically dissassoicate the click handler function from a button on my mxml component through actionscript code.
Something like what older actionscript let you do,
mybutton.click = null;
Thanks in advance
...
Hello,
I have a very simple practice program for Flex 4 ( Gumbo ).
package
{
import mx.controls.ColorPicker;
import mx.controls.Label;
import mx.events.ColorPickerEvent;
import flash.display.Sprite;
public class testClass extends Sprite
{
private var cPicker:ColorPicker = new ColorPicker();
privat...
code looks like:
<fx:Script>
<![CDATA[
private var role:DisplayObject;
protected function btnAdd_clickHandler(event:MouseEvent):void
{
for(var i:int=0;i<10;i++){
var dis:DisplayObject = this.main.addChild(this.role);
dis.x = i+10;
dis.y = 400;
...
Hi.
I want to be able to load an swf into a flex 4 application in order to use it's classes.
var ldr:Loader=new Loader();
ldr.load(new URLRequest("file://path/to/fileswf"));
ldr.contentLoaderInfo.
addEventListener(Event.INIT, loaded);
function loaded(evt:Event):void { addChild(ldr); }
i receive the error:
Error: addChild() is not a...
Hi, I have an app built in flex 3.2, and would like to start using some spark components within that same app. Are there any pitfalls to look out for.
Is it possible to use the old 3.2 components in the same app or Will I have to rebuild them.
Would like to get the heads up from anyone that has done the same, before I make the plunge.
...
Sometimes (too often...) some webservices "hang". I can see the clock cursor in my app and the network monitor of FB2 shows the webservice as "pending". After waiting a long time, the status changes to "OK" and the clock cursor disappears. How can I find out why a webservice takes sometimes minutes while it usually takes not even a secon...
Hi All
My company is considering upgrading to flex 4 ( mainly to use the richtextlayout ) I would like to know from your experiance what is the status of the product ( how far is it from official release ) and do you recomend using it now or wait till its complete its beta stage
Thanks
...
Hi,
I'm working with a custom List component in flex4. I've created a custom ItemRenderer and everything looks and works as i want, but i'm trying to get the double click event. I'm receiving key down and all other events, but not this one. I've enabled the double click on the List component
doubleClickEnabled="true"
and i've added ...