adobe

How do I ensure a Flex dataProvider processes the data synchronously?

I am using an component, and currently have a dataProvider working that is an ArrayCollection (have a separate question about how to make this an XML file... but I digress). Variable declaration looks like this: [Bindable] private var _dpImageList : ArrayCollection = new ArrayCollection([ {"location" : "path/to/image1.jpg"}, {...

Linking a button to a movie clip... gotoAndPlay() doesn't work!

I have a button, "pb". I have a movieclip, "pm". I want the clip to play certain frames when I press the button. I have a layer on top of every other layer, with only one frame. In the ActionScript for that frame, I have put: stop(); pb.addEventListener(MouseEvent.CLICK, onMouseClick); function onMouseClick(event:MouseEvent):void ...

example of streaming compression in adobe air

I'm trying to write an adobe air application that compresses multiple files into one archive and then uploads that archive to a web server. Currently I'm using the fzip library. The problem is fzip requires me to load the entire file into memory before serializing it to the zip format. I'm looking for an example of doing streaming fil...

Flex - SOAP Variables in Network Monitor but not making it to event handler....

I am querying a 3rd party web service and not all the data seems to be making it to the event handler. When I view the request/response in the Network Monitor I see a collection of data objects each containing two string variables (name, url) and two arrays (counts, breakdown). When the result handler receives the data and I view it in d...

Uploaded flash movie expanding to entire page... want to just show correctly proportioned stage.

I'm sure this is very simple, but it's not readily apparent how to do it. I created a flash file. Uploaded the file to my server. I'm going to it at blahblah.com/demo.swf , not included in any html or anything. When I go to the file, the browser loads it in "fullscreen" mode, taking up the entire window size. The size changes as the wi...

Alerts, Dropdown Calendar of DateField, Cursors resulting in null value references once embedded...

I have a Flex application embedded in a Flash application, which was working fine and currently works fine if not embedded. As of last Friday, when embedded the Alerts do not show (no error, just nothing), DateField Calendar dropdowns do not show (null value reference of DateField), and dynamically showing the busy cursor errors (null v...

How can I change a package explorer icon in Flash Builder (Eclipse plugin)?

I've located an icon that I would like to replace in Flash Builder (Eclipse plugin version). C:\Program Files\Adobe\Flash Builder Plug-in Beta\ eclipse\plugins\com.adobe.flexbuilder.project.ui_4.0.0.235740\ icons\project\obj\fb_mxml_16x16.png This icon is displayed in the package explorer. However, when I replace the icon in the file...

Cannot print off-screen HTML content from AIR application

Hi, I am a newbie in Adobe AIR, and am trying to print a HTML from my air app, however, this HTML should never be seen on screen. I am using HTMLLoader for this, as per some sample I saw on the web. What happens, is that there is a print dialog, but it prints out a blank page. If this is a window application, and I click some button t...

Flex Skinning and Adobe Illustrator

I'm developing a skin for Flex 3 using Adobe Illustrator and I've just ran into a problem. I've designed a larger scrollBar skin to be used in a touch screen application but Flex seems to apply the default sizes regardless of the size of the symbol in the generated .swf. I could achieve the correct effect with .png but I'd like to know i...

Why might the Flash Builder 4 network monitor not work?

I'm using the Flash Builder 4 beta, and I have two projects, both of which have Network Monitor enabled. I have two projects, for one of which the network monitor works, and for the other, it doesn't. The working project is using an HTTPService to connect to an application running on localhost, using POST and GET to retrieve values. T...

Extending Flex DataGridColumn for custom sorting function

I extended the DataGridColumn because I wanted to include a custom itemToLabel function (to be able to show nested data in the DataGrid. See this question. Anyways, it also needs a custom sorting function. So I have written the sorting function like so: private function mySortCompareFunction(obj1:Object, obj2:Object):int{ var curre...

Passing in variables ByRef in Actionscript 3

Is it possible to pass a parameter to a method ByRef (or out etc) in ActionScript 3? I have some globally scoped variables at the top of my class and my method will populate that variable if it's == null. I'm passing in the variable which needs to be populated but so far my efforts have returned a locally populated variable leaving the...

How can I return variable from the correct JS scope ?

Hey, I'm doing some development using JS unde Adobe AIR. What I want to do is create a request to a remote website (for authentication for example). The problem is not AIR related, it's a JS thing I can't get right. What I want to do is to retrieve the request body but if I just return the "str" var it shows "undefined". I've tried to...

Having rows with different number of columns in Flex Datagrid

Hello all, I am trying to understand if having different number of columns for different rows in a flex data grid is possible. For example, in Microsoft excel, you can select multiple columns and then merge them without effecting other rows that you did not select. Is something like that possible in flex data grids? Thanks in advance ...

Server side alerts for client side app

Here's the scenario: User interacts with Adobe flex webpage to configure reports based on some data stored server side. They configure their view and have THAT view emailed to them daily. I've got the report builder, the part I'm trying to figure out is how to render the report server side and send it out as email (native flex functio...

Adobe Flex in an email?

Is it possible to host a very basic trust, Adobe Flex application in an email? ...

Adobe Director (dcr) "wmode" question.

can *.dcr be set the 'wmode' just the *.swf does? ...

Adobe Director (dcr) depth (z-index) problem

Can *.dcr depth (z-index) can be controlled such that a flash or some other layers can appear on top of it? ...

Which one is better? Adobe Director or Flash?

(My apologies if my keywords are wrong, I tried to find them in all different combinations but to no avail) I think the title explains my situation but I'll elaborate a little. I'd like to be able to create games, some simple but others more complex. Adobe Director can export to the Shockwave format and embed into the browser as can Fl...

create flash projector application which cannot be closed

I need to create a flash projector application which can be interacted with, but will not close unless a password is entered. I have created the projector file which I have created a close button with a password popup, but this doesn't do anything if the user presses ALT+F4 or Escape etc.. I either need to disable these combinations of...