flex4

String replace method not doing anything in Flex 4 app

I have a string called userEmail in my Flex 4 app that has a value of: my%40email.com I need to have an @ symbol instead of %40, so I run this line: userEmail.replace("%40","@"); But the string has the same value after. What am I doing wrong? Thanks for reading. ...

I'm trying to use CSS to position my Flex app but it's not working

I'm trying to position my Flex app so that its in the bottom 40% vertically, and the left 70% horizontally. This is how I define the flash section in CSS: #flashContent { display:none;position:absolute; top:60%;width:70%;height:40%;} Here is the HTML: <div id="flashContent"> <p> To view this page ensure th...

Embedd fonts in a TextArea in Flex4

Hi, I'm trying to embedd fonts to use with a TextArea that I have extended using the code below, but it doesn't work. I have used this code before with a TextFlow object and then set the containers with the flowComposer, but I can't get it to work with the TextArea. When using the code below and set the text with setText, all I get is ...

s:Label does not load the font

Hello! I have a mxml component with a "s:Label" and fontFamily="notes" as an attribute. Source code: <?xml version="1.0" encoding="utf-8"?> <s:SkinnableContainer xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" mouseUp="skinnablecontain...

Attempting to use CSS top property on a SWF file, but it's not working

Hey guys, I'm trying to position my Flex app so that it's further down the page, but I can't get it working. It's still appearing in the top left. Here is the HTML, any help would be greatly appreciated! <html lang="en"> <head> <title>Page</title> <style type="text/css"> body { margin: 0px; overflow: hidden; } #swf ...

Shader vs Shader Material , papervision specific , general insight welcome.

hello overflow. I asked this question on the pv3d forum and not a single person could, or cared to answer it. Im relatively new to 3d so i apologize if this is common sense to some. I have a sphere , in which i am applying a CellMaterial to. Looks great. I noticed that in the papervision sdk , there is also a CellShader. Should I...

The Adobe Flash Player Settings popup is appearing offscreen in my Flex4 app. How do I stop this?

Hey guys, I have a page with some html content and my Flex app in the bottom left hand corner. At one point, the Adobe Flash Player Settings popup appears, but for some reason I can only just see the top of it, the rest is off screen towards the bottom. Does anyone know how I can fix this so that the user can interact with the popup? Th...

Flex 4 front end connecting to Java Jersey Web Service

I created a Java REST service using Jersey. I use three of the HTTP "verbs" GET, POST and DELETE. I want to create several prototype front ends for the service. After much research, a lot dating to 2008 and 2009, I have been unable to find anything remotely simple. My three options are: 1) resthttpservice. This project hasn't been upda...

The height and width properties on my Flex 4 app are not working?

In the opening application tag of my Flex 4 app, I set the width and height properties as follows: <?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" creationComplete="init()...

Flex - Tab View Multiple DataGrids and same dataProvider

I have a flex application in which I have a TabNavigator with multiple tabs and a datagrid in each of those tabs. I have bound s single array of data to each grid. What I want to do is to bind each grid with a particular set of data in that array i.e. to distribute array contents among grids based on data type. For example items startin...

RichText controls for TextFlow in Flex 4

Is there a way to connect the RichText controls (without the textbox) to a TextFlow in Flex 4 and to be able to add the controls seperate from the TextFlow? ...

how to use vector images from adobe illustrator in flex skinning?

hi, i have to work on skin in flex, but this time , i have to use vector images from adobe illustrator, this is very easy in case of adobe photoshop, as we have .png files, just import them in flash and make them a movie clip, and u r done with the skinnning but i m facing problem when i m copying images from adobe illustrator in to the...

Flex 4: How to center a component that is larger than its container?

Hi Everyone! I am using Flex 4 Spark Components for this one. I have a custom component that is larger than a certain container, and I need it to be centered in that container. Best using only MXML, styles and properties This does not work as expected: <s:BorderContainer x="300" y="300" width="200" height="200"> <s:Button label="N...

how to show a tooltip on a disabled control?

I'm displaying a list of buttons, some of which might be disabled. I need to show a tooltip on the disabled buttons with an explanation of why it's disabled, but it seems I can't disable the button without disabling the tooltip. Is there a simple way around this? ...

Can't find compiled resource bundles

I am using Adobe Flash Builder 4. I've run into this issue with my latest project, but I was able to re-create it with an almost empty project. Here is what I've done. Created a new Flex Project Created a locale/en_US folder within this project. Added a class that extends SparkDownloadProgressBar. All this class does is attempt to cr...

Flex Menu Flickering

I am updating MenuBar dataprovider xml dynamically, but each time xml is updated the menu is flickering... Is there any way to avoid this... I am using MX::MenuBar in Flex 4. ...

Sharing variables between mxml components

I have several mxml components in an app, all of which need the same variable called genericX. I've included that variable in the main mxml and made it public [Bindable] public var genericX:Number = 102; but I still can't access it from other mxml components. If I try to do this for example, it doesn't recognize the variable. <s:But...

Flicker, orkut, picasa API for Flex? Need API?Please help?

hello, I have to work on one new project, there we have to provide an option to download images from any website like, Orkut, picasa etc, so that the user, can view his/her pictures any time and his/her images are accessible any time, so i heard of APIs, that we developer can use. i hope u r getting me, i saw tour de flex, there are f...

Flex 4 vertical TabBar

Hell, Is there a way to make a vertical? Thanks in advance ...

Flex 4 - Highlight keywords in a block of text using TextLine

I have a search and results page that I would like to highlight the keywords that were searched for, in the text of the results. It was suggested that I use TextLine for this, but I am having trouble figuring out how to make it work. I started a simple, compilable dummy application and was hoping someone could give me some tips on how to...