flex

Flex to Html/Ajax converter

Is there a tool to convert Flex code to Html/Ajax code. My Flex code primarily consists of datagrids/buttons/text labels.. ...

HttpService Vs Remote Objects

Hi, I have a flex application and need to show the real time data into the chatrs and datagrids. Eralier we are used Httpservices to showing the real time data and historical data into charts and datagrids. But now we are going to replace the Httpservices to remote objects. So which places generally need to change. I have a little bit...

Relative context-root fro flash application

Hello, i' m using BlazeDs. In services-config.xml we got following configuration of endPoint. <channel-definition id="any-amf" class="mx.messaging.channels.AMFChannel"> <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/> </channel-definition> Before c...

Move one child movieClip to another movieClip in Flash Action script 3.0

I have three movieClips (Columns) and each MovieClip contains diffrent number of child movieclips. I want to drag each child clip to another Columns. So how can I change the child to another parent in action script 3.0 ...

Modifying File's CreationDate and ModificationDate Properties in Adobe Air

I have written an Air program that mirrors a directory tree. The problem is that the destination folder structure and content need to be identical - right down to the creationDate and modificaitonDate file attributes. How can I change these file attributes using Adobe Air? I'm able to READ them both just fine, but the properties are r...

Display embed images in Flash/Flex Builder

Hi, i'm using image embedding in Flex 4 (the same goes with Flex 3). I have one class with a lot of [Embed(source="../assets/icons/icon1.png")] public static const image:ClasS And i reference them using: <mx:Image source="{imagesResources.image}"/> When i run the application i see the icon but in Flash(Flex) Builder i can't see th...

Downloading/Generating the Flex 3 API spec.

I have a somewhat unstable internet connection. I'd like to have the Flex 3 API on my local system for internet down times, but I cant find where it's available for download, or how to generate it. Does anyone have a link to a downloadable API spec or have instruction on how to generate it. Thanks ...

Trying to obtain the width or height of a piece of text, but how do I calculate spaces?

for example I have a linkbutton txtIt var metrics1:TextLineMetrics = measureText(txtIt.label); trace(metrics1.width); I use the width and the textbox width to calculate the amount of lines in a textbox. With numLines I can calculate where to place the next item on the y axis. However if a piece of text grabbed from the database has sp...

What is the "proper" method for determining if a swf is running within an AIR application?

I've got a Flex Web project and a Flex AIR project that use a common code-base. The common code defines several run-time loaded Flex Modules. I want the Flex Modules to behave differently depending on whether the running base application is WEB or AIR. What is the proper method for determining from the module code whether the module i...

How Adobe AIR program can to index all images on a user's computer?

What is the fastest way for a Adobe AIR program program to index all images on a users' computer? Using Open Source ActionScript-3, MXML Libs and classes. Fastest - Same pc configuration, different time (seconds) To index - get a list of absolute links (like c://bla-bla/file ) and save them into file (index.txt) All images (like JPEG...

How to get folder size in Adobe Air?

How to get folder size in Adobe Air? ...

I want to make the browser fullscreen through my flex website

I have a website which is built totally in flex. I want to make a button, on the click of which the browser becomes fullscreen. I am not talking about a flex fullscreen, by which i mean "Application.application.stage.displayState = StageDisplayState.FULL_SCREEN;" I dont want to use this. The reason, I dont want to use it is, that fla...

Force compile-time linking of all classes in a SWC

Using Flash CS4, I am making a game that has a dozen or so sounds and a couple of music tracks. To cut down on publish/compile time, I have moved the sounds and music into an (external) SWC, which is located in a "Library Path" for the project. This works, but with a caveat... Until before I externalised the assets, I had been dynamical...

Flash video slooow in AIR 2 HTMLLoader component

I am working on a full screen kiosk application in Flex 4/Air 2 using Flash Builder 4. We have a company training website which staff can access via the kiosk, and the main content is interactive flash training videos. Our target machines are by no means 'beefy', they are Atom n270s @ 1.6Ghz with 1Gb RAM. As it stands the videos are a...

File upload handling usign Cairngrom framework

Hi Has anyone handled a file upload within the cairngorm framework? Native Flex file upload is usually this way - var fileRef:FileReference = FileReference(fileList[0]); //fileList is an array obtained from FileReferenceList and then one does a fileRef.upload(new URLRequest("http://somedomain.com/upload")); to start off the upload...

flex3 to flex4 migration and rsl ( performance )

Hi , I am facing some strange behavior after upgrading my flex project from flex3 sdk to flex4. First the performance has decreased significaly so i did some research and read this: http://opensource.adobe.com/wiki/display/flexsdk/Linking+RSLs+by+Default which says in short the in flex4 all the flex libraries are loaded as rsls to the p...

How to search for a file on users file system? ( Adobe Air application)

So we want to seacrch for file like exampl*.ex*mple. We want to search in all users files and folders. I know it will take long, but steel using ONLY AS3\MXML, no native commands, no external programms - only AS3\MXML libs and classes, we can skeep all folders with sise <= 200kb So How to search for a file on users file system? (in A...

Any ideas on how to prepare for the future of Flash/Flex/HTML5 Development?

I've chosen Flex 4 as the most appropriate technology to develop a graphically-rich web application (its not a simple content-driven site), but worried about how the recent negative press (i.e. security issues) may effect end-user's trust and ultimately whether the user-base may drop promptly in response. (I don't care if my app works on...

Progress-bar (Video Preloader)

I have a spark component VideoDisplay which displays a video. I want to add a ProgressBar to it which will show load progress of the video and when the video is loaded ProgressBar to disappear. How to do that? Thanks, ...

Flash player 10 Filereference.save and file extensions

I'm using Filereference.save() to save a XML file. It's working fine with default filename.But is there a way to force a file extension on the saved file? I'm using "untitled.xml" as the default filename, but if the user changes it to say "myfile", it gets saved as "myfile", rather than "myfile.xml". ...