flex

Why Isn't OpenX Working On My Flex Website When Using a PC?

Hi, I'm using OpenX to serve ads on my Flex website. It serves ads when I use my Mac with Safari or Firefox. But, it doesn't work when I checked my site on two PCs both running Windows XP with IE and Firefox. I'm getting error #1090, which is "XML parser Failure: element is malformed" only on the PCs, not on the Mac. In order to use O...

generative typography ?

How would you define/create generative typography ? I thought also of some sort of "intelligent" adaption. For example a font that uses serifs in certain condition or not… Are there some findings in how you could access the vectors of a font in actionscript ? ...

Getting an iPhone app communicating with an Adobe Air desktop app

I am creating a desktop version of an iPhone app and would like to have some sort of sync option. The desktop version of the app is an Air app. I know that I can have them communicate by: Starting a server on the desktop or the phone Ask the user to enter the IP of the device into the other one Make GET and POST requests over the htt...

Why are my HTML templates disappearing in flex builder when I target fp10?

When I target flash player 10 in flex builder 3, the index.html template along with some other files (history.js, etc) are removed and no wrapper html page is built. Anyone else experiencing this? I have an ant build script as well, but I was trying to run the built in fb builder. Thanks, Dave ...

P2P in Flash / Flex without using Adobe Stratus

Hi all, Flash 10+ allows peer to peer capabilities to be implemented in Flex and Flash applications. However Adobe has sought to "control" this feature by ensuring that P2P can only be achieved using their hosted beta service called Stratus. This is to the best of my knowledge. Is there any alternate method to achieve the same? FYI: ...

Flex + Drawing dynamically

I want to try display a relationship diagram. I have the xml <School> <Class> <Name>1st Grade</Name> <StudentName>A</StudentName> <StudentName>B</StudentName> <StudentName>C</StudentName> <StudentName>D</StudentName> </Class> <Class> <Name>2nd Grade</Name> ...

Flex: How to create area chart with only one element in dataProvider?

Hi, When I try to create a Flex Area Chart (I am using Flex SDK 3.4), It does not show any thing if there is only One Element in the dataProvider. Something like - <?xml version="1.0"?> <!-- charts/BasicArea.mxml --> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"&gt; <mx:Script><![CDATA[ import mx.collections.Arr...

unzip a file in flex?

help me some one can we unzip a file flex and we can maintain same directory structure. ...

Checkbox rendering in datagrid

<mx:DataGrid id="dg" dataProvider="{cNumbersList}"> <mx:columns> <mx:DataGridColumn dataField="contactName" headerText="Name" width="50"/> <mx:DataGridColumn dataField="contactNo" headerText="ContactNo" width="40"/> <mx:DataGridColumn headerText="Select Contact Number" width="20"> <mx:itemRenderer...

Debugging focus and event propagation in Flex

I have a custom TitleWindow component that is registered to listen for keyboard events from the user (so that esc closes the window, enter saves, etc.). However, in my testing I've found a couple cases where my keyboard event handlers don't fire. My best guess as to why this is happening is that there is some child component somewhere t...

Accordion child controls are null until we open the panels

I am using Flex AS3, i have a accordian with two tabs each tab contains some text boxes and i am trying to access these child controls from button event handler which resides outside the accordian, Problem is these controls are null until i open the tabs of accordian. ...

trace() is not working in flashbuilder 4 ?

i'm trying to use actionscript 3.0 and using trace(), it never outputs content of trace of variable either in flash player or in output area? how to coorect or should i enable something? whats the problem? ...

Can I run flexunit tests in the Flash Player instead of the browser?

I'm using Flash Builder 4 (beta 2) and FlexUnit 4, and instead of running my test suite in my browser I'd like to run my tests in the Flash Player. I know that it's possible to execute tests in there -- Library projects already run in the Flash Player -- but application projects still insist on running tests in my default browser, which...

how do I make a Flash browser app that could receive data from browser plugin or other Windows app?

in other words, suppose I want to send data, like text, programmatically from a Windows app (such as a browser plugin) to a Flash app running in the browser. Well, conceptually, an example of this might be a Flash instant messenger with a textbox and button "Send"; so let's say I want to be able to programmatically paste the text and pre...

Trying to synch Flex Builder/Eclipse project with SVN source tree

Hi, I am trying to link a Flex Builder WTP/Eclipse project with an existing SVN source structure. I'm using subclipse within Eclipse. Below is a mapping of some of the directories: Flex Builder/Eclipse Structure -> SVN Directory Structure -flex_src -> flex/src -flex_libs -> flex/libs -java_src -> java/src -WebContent -> web ** H...

How to get the displayed text portion in a Flex TextArea

Hi, hi want to know the index of the first character displayed in a scrollable TextArea in Flex3 and i need the last character's index too. Any ideas ? Thanks ...

What is the easiest way to programmatically extract structured data from a bunch of web pages?

What is the easiest way to programmatically extract structured data from a bunch of web pages? I am currently using an Adobe AIR program I have written to follow the links on one page and grab a section of data off of the subsequent pages. This actually works fine, and for programmers I think this(or other languages) provides a reasonab...

Better Flex memory profiling tools

Does anyone know of any better tools that the Flex Builder Profiler? I've googled and googled to no avail. While the FB tools are OK for small apps / small leak situations, they're nowhere near adequate for wading through the thicket of object references that can arise in a large scale Flex app (that is leaking memory heavily). In parti...

Why are my svn ant tasks failing?

Hello, I am trying to run a build script and I keep getting errors during a specific svn task. When I try to build the target from the command line, I get an authentication error. When I run the build from flex builder I get an error saying "please get a newer Subversion client". From what I can tell there is a root issue that can be se...

How to automatically set TextField()'s width

Hi there, I'm trying to set the width of a Textfield() object based on it's string content that I have set- Is there a way to dynamically set this once the string has been sent to the object? I have: var t1:TextField = new TextField() t1.x = stage.stageWidth / 2; t1.y = stage.stageHeight / 2; t1.text = "some string that i would w...