Hi all
I am struggling a proplem for a whole day, i hope somebody can help.
I am trying to get the list file of files located on the server, so i use flex to access a ASP.NET ASMX web services, that returns all the file names in a folder.
I can see that web servicese worked perfectly, however when i try to get the result from flex, ...
Hi guys,
I have a custom component:
<?xml version="1.0" encoding="utf-8"?>
<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx">
<fx:Declarations>
</fx:Declarations>
<fx:Script>
<![CDATA[
[Bindable]
...
i'm trying to create a unordered list in Flex. My issue is that within each line, i want the word NEW to be a different font color and different font size from the rest of the label text. I am unsure of how to do this INLINE within the label component. Any thoughts anyone?
<s:VGroup fontSize="15" color="#ffffff">
<s:Label text="\...
I have a Flex layout with some fixed size boxes into which I want to display text. However the text length is very variable, so it is necessary to scale, wrap and possibly elide (using ellipsis) the text.
The basic algorithm needed is:
fill bounding box with text, scaling font size to fit
if font size < minimum
set font size to mi...
Hi All,
I am drawing a line chart with 4 line series. Two of them have negative values and goes under the 0 line. I want only the grid line across 0 to be displayed. hence i used like this :
<mx:GridLines direction="horizontal"
horizontalOriginStroke="{originStroke}"
horizontalShowOrigin="true"
...
i wrote the following code for drawing a rotate rectangle
var s:UIComponent = new UIComponent();
s.graphics.lineStyle(1, 0x0000FF);
s.graphics.drawRect(50, 50, 200, 200);
s.rotation = 30;
template.addChild(s);
where template is a canvas. Its rotate nicely but the problem is the position is not in right place. i.e. it is not in (50...
Hey all,
I have made a program in Flex for creating simple schedules, similar to MS Project or Vico Control. I have one problem that I would like to solve. (You can see it here: OnTime Project Scheduling tool made in Flex
The tasks of the schedule are represented as Gantt Chart, for which I created a itemRenderer inside one of the rows...
Hi, griends!
Somewhere in code i have decalred variable:
[Bindable]
var nameWin:String = "";
after this i have an e4x statement
podContent.xml_m = xml_m.item.(nameWin=="necessary name");
that should compare item's namewin with "necessary name" and return only items whose nameWin matches with "necessary name".
xml_m.item:
<item>...
Flex 4 offers descendant css selectors and pseudo-selectors like:
s|DropDownList:open {
font-size: 11;
}
s|DropDownList #labelDisplay {
font-size: 12;
}
However, if I combine these two an wanted to do something like this, it doesn't seem to work:
s|DropDownList:open #labelDisplay {
font-size: 13;
}
Is this possible wit...
Hello Community,
I need to send data from an Air application, using a certificate.
This certificate is to be provided by the user through a USB Key.
I've got a lot of questions regarding this.
Is it possible to do what I'm looking for?
If yes, is it possible to do that only with the Flex/Air sdk or should I use Java or some other lan...
Hi I need to save email-id in my login form through the cookies. if I use shared object I am able to save but my requirement is need to save in cookies. How can I save? I got sample code from net. Attaching that code `package com {
import flash.external.ExternalInterface;
/**
* The Cookie class provides a simple way to create or ac...
I have managed to adjust Flex Builder 3 to work with the Flex 4 SDK thanks to this article. However, some strange things are happening. I changed all the namespaces as suggested, but I cannot get anything from the fx: namespace using the Flex Builder code completion, as well as the spark List class.
...
My script is:
[Bindable]
[Embed(source="loader.swf")]
public static var Icon:Class;
and my mx is:
<mx:Image source="{Icon}" y="125" x="0"/>
It works but when I try to export it it won't because of:
Data binding will not be able to detect assignments to "Icon"
What am I doing wrong?
...
In my Flex application, users need to be able to upload and download content. However, this content is access restricted, and I need to do a permissions check before allowing the upload/download. The user clicks a link, and then selects a file using the FileReference class. The FileReference class doesn't attach cookie information, so I ...
I want to make an flipping card object which has three sides, basic requirement is like below
as in image, I want to rotate from horizontal center of card but I can not find any way to change orientation of rotation except put card in an container and set its x to -(width/2) I am using appendRotation method after setting its z compone...
I use a custom skin as the track skin, but i can't get the mouse down event
protected function application1_creationCompleteHandler(event:FlexEvent):void
{
pBar.addEventListener(MouseEvent.MOUSE_DOWN, onEvent, true);
}
protected function onEvent(event:MouseEvent):void
...
In my site I use Unicode... I hoped when I'll connect Flash Builder to my server (using Data -> connect to HTTP ) It will work with my API sending Russian text as UTF-8 but instead it sends Þûõó ïúушúøý to my API and so to DB and so on instead of my favourite UTF-8 Русско
...
i have a flex app that transitions between 2 states with the toggle of a button. my issue is that the effect of fading only seems to work on the 2nd transition and after. However, for my first transition... going from State1 to studyState... there is no fade effect whatsoever, in fact the components in state1 disappear completely (the ...
I have an ItemRenderer that is shared by several applications (inside a DataGrid), and I would like to add a context menu to it (rather than in each application). The renderer is derived from the Canvas class, and the code to create the context menu looks something like:
var menuItem:ContextMenuItem = new ContextMenuItem("Te...
I have to port an existing project to Maven, and it includes a resource called "config.xml" that is copied to the deploy directory alongside the SWF and HTML, and loaded at run-time to locate a bunch of WSDLs.
Flex Mojos has taken it upon itself to assume that my xml file is a flex-config file with instructions for the compiler, which o...