flex

Flex 3, cannot convert SystemManager to SystemManager when loading from server?

I am working on an AIR application that needs to load, run, and access methods on a swf pulled in from the net. Using moduals has worked well in the past but due to design constraints is not possible for this application. Below you can see the code where I load the ImageTest.swf then call function Bleh() on it. private var l:Loader = ...

File Protection in Adobe AIR (Flex)

Is it possible download a file in an AIR application, store it on the user's system, and prohibit access to the files by applications other than the one with which it was downloaded? ...

Flash media server not creating directory to save files

Hello All, I am having an issue with my flash media server 3. We just moved our storage of files to a NAS solution. It seems that whenever we do a recording that would save in a directory that does not currently exist in our file system FMS does not create the appropriate directory structure. Each folder in our file system is named...

Flex Drag and resize

Hi All, I need to draw Line, Circle, and rectangle by mouse drag on canvas and then i need to to move and resize the drawn shapes. How i can perform this in flex as i am new on this platform. Please suggest me the method or refer any example with source to make it understand to me. Please Help. Thanks in Advance. ...

How can I do Flash 3d animation, Flash only supports 2d animation?

I am a beginner Flash developer. I saw some site like [http://www.3dfreeair.com][1] and another site also. On this site some 3d Flash animation there. How can I do like those animations? Because Flash only supports 2d animation. If you know, send me any reference url for studying 3d animation in Flash only. ...

spline for non differentiable function?

Hi community, I have a function that sometimes is non-differentiable at a point. When I now use a spline (Bezierspline in degrafa) for interpolation the interpolation at this point does not work as expected (at this point my function has a kink). Now when interpolating with a spline it draws some kind of loop around this point. I think ...

Flex drawing example error

Hi All, I am new to flex and i am trying to run the code for flex drawing application example given at following path: http://www.flashcomguru.com/components/flex_whiteboard/whiteboard_demo/srcview/index.html But I get the following error at the compile time: ''Unable to locate specified base class 'Whiteboard.WhiteboardManager' for co...

Can I create server-side Java classes, OR mapping, and client-side AS classes from a single model description?

I have a Java server application and a Flex client application. For my data model, I have typical objects, like User etc., that are basically the same in the database, the server-side Java code and the client-side AS code. I. e., the public fields of my AS and Java classes are named identically, and have the same types and values as the ...

Flex vertical sliding thumbnails

Hi All, Is it possible to construct an vertical sliding thumbnails of images. The example is shown at following path: http://www.rburman.com/#a=0&at=0&mi=2&pt=1&pi=10000&s=1&p=0 As i am new to flex Please suggest the solution or refer to any example with the source code. Please help. Thanks in Advance. ...

how to maintain ASP session during navigateToURL (safari issue!)

I have the following AS3 code that requires asp.net SESSION cookies remain intact, now it seems that SAFARI does not keep cookies well. (all other browsers are OK). I have cookie based sessions at the moment, question is how to alter the following code to support COOKIELESS sessions in case it works better? var request:URLRequest ...

ActionScript RemoteObject Response Headers

Can I get the response headers from a RemoteObject request? If so, how? I am in the process of writing an application in Flex 3.3, using the Cairngorm framework, for deployment as an AIR application. The application heavily utilizes RemoteObject services to get data from a web server. Each of my service delegates extends a common class...

Flex Databound List with ItemRender - Reorder resets CheckBox Values

Hi I have a Flex List which is databound to a Array. My problem is that when I reorder the List using the built in dragMoveEnabled, the values are reset to the original values. I assume I need to somehow do a two-way databinding but I am not sure how. <mx:List width="100%" top="20" id="uiItemList" dragMoveEnabled="true" bottom="0...

Any way to make default attribute values in XML get parsed in Flex based on XSD schema?

I have an xml with an xml-schema. The xml-schema defines an abstract complex type with 2 optional attributes that have default values. Then I have several complex types that extend the base one. And finally nodes of the types defined. So I load the xml and when I parse each node, the optional attributes are not present at all. I've tried...

Nginx and proxy to avoid Flex security error.

Hi there ! When doing a snapshot with flex bipmapdata.draw() a security error is raised if the image does not come from an allowed domain. I am trying to add images from several urls sources (google image) therefore i can't call draw(). If however the image is frow my server www.foo.com which has a nice crossdomain.xml its all good. ...

Dynamically change the width of Datagrid column in FLEX.

Hi, Can we change the width of the datagrid column dynamically by clicking on the border of the column in order to display the complete string which is too long to be displayed and needs to be scrolled ? If so, How ? Also, how can we ensure that the column width changes dynamically based on the number of characters / length of string; ...

What technology to use to write systray front-end to webapp?

Hi, we have an internal webapplication running on tomcat, build on Spring. The webapplication front-end is build with Flex. I would like to create a cross-platform systray application that allows to go the home page of the application and displays alerts when certain things happen in the server. What would you think is the best techno...

Mapping ActionScript Objects to Classes?

If I've got a bunch of plain old Objects, what's the best way to map them to a bunch of Classes? For example, if I use an HTTPService to pull in some JSON, then deserialize it, I'll have a bunch of objects which look like: { type: "person", id: 42, name: "David" } And I want to turn them into instances of a Person class: class P...

Flex: Custom Menu Functionality

Does anyone know of a way to keep a menu open after clicking one of its menu items? I have a custom menu (extended the menu object) it contains a bunch of ‘check’ type menu items, the requirement I am trying to fulfill is to allow the user to click multiple menu items without the menu closing, and then have the menu close when it loses ...

Servlet spring-servlet is not available (Spring+BlazeDS Integration)

I'm trying to setup a Flex project using the Spring + BlazeDS integration by working through the refcard kindly posted by James Ward on refcards.dzone.com. Some problems/challenges are sticking their heads out. The Tomcat deployment is going well, all the files are on the server and I can summon main.swf through the browser. I get the ...

Digital Rights Management in Adobe Flex

I have a NetStream set up and it's supposed to listen for DRMAuthenticateEvent.DRM_Authenticate. When I give it an encrypted file (encrypted using software from drm-x.com), no DRMAuthenticateEvenet seems to be dispatched. The code looks like this: private function init():void { nc = new NetConnection(); nc.connect(null); ns = new...