flex

unable to delete only the very first of a series of objects

This is kind of long - don't know if anyone will bother to read it (don't know if I would), but been beating my head against this for over a day. I have a problem where the first of a series of objects I create is not ever being deallocated. I'm removing event listeners from the object, using the localconnection hack, etc. and it works...

flex pagination example help

I've found a flex paging example I'd like to get working, but can't seem to get it running. The Example files can be found here: http://blogs.adobe.com/tlf/2008/12/actionscript-pagination-exampl.html I've downloaded and imported the project into flex. However I seem to have an error that prevents the example from running. Here is the e...

Flex 4 Air 2 RSL (Runtime Shared Libraries)

Hi, Has anyone got any experience will loading SWC / SWZ's at runtime within a Flex 4 / Air 2 desktop application? The very rough idea would be to have a desktop Air app, which is able to "download" additional modules (eg, a SWZ/RSL representing a form) and load these at runtime? Imagine the App is configured using an XML file obtaine...

Flex AdvancedDataGrid multiple cell selection highlight not fully clearing

I've two problems, the second of which is only an issue because it's a possible way to fix the first! I'm developing a Flex 4.1 application, using a Spark theme: I can't change these; Halo isn't an option. It's providing the facility to fill multiple-selected cells of an AdvancedDataGrid with a single character, from a single keypress....

Good book to start learning Actionscript3?

I am a Flex programming beginner and wouls like to know some good resources to learn ActionScript3 ...

Flex 3, component Ids and URLS -- Hyphens vs. Underscores

Hi, I'm using deeplinking in a Flex 3 application. I've got a ViewStack and I'd like to use the id's of the canvases in the url. I've read that search engines prefer hyphens over underscores as word separators. So, the search engine sees "big-book" as a separate word, but "big_book" as possibly one word. Also, underscores are obscured...

Drag and Drop not in a rectangle area

I mean is it possible to have the Draggable Area a circle(for example), not rectangle which have the predefined width and height or just to define you own area ? How about some implementations in JS, Flex ? Can someone help me with some suggestions, thanks a lot!! ...

ASDoc compiling error in Flash Builder 4

I can't seem to figure out why i continue getting this error every-time I try to compile ASDoc in Flash Builder 4. I did succeed in ASDoc creating a asdoc-output folder but it is incomplete. There is only toplevel.xml and a tempdita folder that show up. This is the error that shows up on my Console Error at xsl:choose on line 46 of p...

How to display images from FileReferenceList?

I have a FileReferenceList from which I'd like to display images in a DataGrid; currently I'm getting the following error: Only one download, upload, load or save operation can be active at a time on each FileReference. Following is my code; anyone know how to resolve the error I'm getting? Thanks. Here is my DataGrid: <s:Panel> <mx:D...

Flex 3 PopUpMenuButton and ReferenceError #1069

Hi, I've got a PopUpMenuButton in a Flex 3 application. If someone clicks on the pulldown part, it works fine. But, if they click on the main button part, I get get ReferenceError: Error #1069. After the user dismisses the error, it then does what it's supposed to do. <mx:PopUpMenuButton id="myPopUpMenuButton2" label="Flip" ...

Problem laying out box using grid in XUL box does not take full space

I'm trying to use xul to create a lay out like this: there is a box contains of a tree of data there is a box containing some buttons right below the previous box. I decided to use because otherwise the second box will be put right next to the first one (unless I use vbox). The problem is no matter what value I assign to flex, the bo...

Sitemap for a Flex 3 website

Hi, I've got a Flex 3 website. I've read that having a sitemap will improve SEO. I've enabled deep linking and I've created URLS for all of the major bits of my site. Does Google index "pages" that use URL fragments like in Flex? Does anyone have an example of a sitemap for a Flex website? Thank you. -Laxmidi ...

Flex tree control only displaying branch elements and not leaf elements

Hello all, I've created an mxml page that displays a tree control, however the data is only being displayed as branches. Even items that are leaves are being displayed as branches. What am i doing wrong? Please help! thanks, tone <mx:Script> <![CDATA[ import mx.collections.ArrayCollection; public function ini...

mp4 not playing in flex video player

I created an mp4 using the melt command line player by mixing two videos. Following is the melt command used for the generation melt -blank 0 avformat:/var/www/html/myscenario/app/web/files/videos/1l_926.flv in=0 out=540 -track -blank 300 avformat:/var/www/html/myscenario/app/web/files/videos/1h_376.mp4 in=300 out=900 -consumer avformat...

Embed a streaming .swf file inside another Flash or Adobe Air Application

I currently have a network camera that streams video as a .swf (and also as a motion JPEG as well...) and I want to be able to embed the stream inside of either a Flash or Air project that I'm creating myself. The only examples i've been able to find though, require the .swf to be saved as a resource of the project; clearly, this is unde...

Flex/Flash white screen in FireFox

We get a white screen when loading our swf in FireFox. No problem in Chrome, IE and Safari. When we create a Flex project targeting SDK 3.2, things do work. Using 3.5, things don't work. Anyone that had similar problems? ...

protecting the URL where flash/flex app can be executed

Is there an easy copyprotection, so that I can define in code the URL where flash/flex app can be executed ...

Running Flex 4 on AIR 1.5.3

Hi everybody, I'm trying to migrate a large project to Flex 4. The problem is that the AIR version must be compatible with old MACs (without intel processors) such as G5. As far as I know, only AIR runtime 1.5.3 works on these machines, but Flex 4 requires AIR 2.0. Is there any possible way to deploy an AIR application built with Flex ...

Flex XML Tag Attribute Value / Property Parsing

I'll try to ask this in a way that makes some sense. I have an RSS feed, within Flex I have connected to the feed via HTTPService, the XML structure is as follows (not exact, but for the purpose of the question). I am able to walk down the xml and access the data within the title and link nodes with success but when I get the the descri...

Flex 4: Can't pre-select item in DataGrid (Array)

I'm polling a RemoteObject every 5 seconds using setInterval and the returned result (Array) is being fed into a DataGrid as the DataProvider. However everytime this happens the selected row deselects when the DataGrid is refreshed. So I want to re-select the item when the DataGrid has been updated. So far I've tried capturing the selec...