Actionscript 3 :: Communication Between 2 Flex Playbook Applications?

Aug 4, 2011

The overall aim of my project is to communicate between two Playbook flex applications. I found this article and tried it out:

[URL]

Application 1 (Called 'App1')

var folder:File = File.applicationStorageDirectory.resolvePath("shared/misc");
folder.createDirectory();
employeeDB = File.applicationStorageDirectory.resolvePath('shared/misc/employee.db');

[Code].....

View 1 Replies


Similar Posts:


Communication Between Two Flex Applications?

Aug 6, 2010

I have two web applications written in Flex I would like to integrate. I would like one Flex app (let's call it application A) to invoke second Flex app (let's call it application B). Application A has access only to swf file of application B (not source code). When application A invokes application B, it should be able to pass some data to application B. After application B is invoked it should be able to pass some data back to application A. These two applications will be hosted on the same server, but will use different server code.

The easiest way of implementing this (or one of the ways to be more precise) would be to have UI element on app A (button, link, menu item, etc) that would invoke app B. But in that case, two Flex applications couldn't communicate directly (since only one is active at a time), and they would have to communicate through server code, which is something I would like to avoid.

In short application A should invoke application B, pass some data to it. Application B should do it's work, display some content, and have a mean of passing some data back to application A. I'm aware of LocalConnection, and I've seen similar question, but in that case I would have to have both application in the same browser window. This would be acceptable to some extend, but only if app B is contained in app A (not if they are both on the same HTML page). Would LocalConnection work in that case?

Do you have any recommendations on how to implement this kind of communication?

View 2 Replies

Actionscript 3 :: Communication Between Two Flex Mobile Applications Over A Network

Jan 8, 2012

I have two mobile devices on a local network, A and B. I would ideally like A to be able call functions on B, returning a response to A.

I am aware of LocalConnection, but unfortunately this isn't supported on mobile. What is the best way to achieve this? Do I have to setup B as a server using BlaseDS?

View 1 Replies

Flex :: Playbook App Fails To Minimize?

Feb 21, 2011

I am having an issue with a playbook app I am working on. This is the first one i've done using Flex Burrito Hero, and on the simulator I noticed that the app fails to minimize gracefully (when multi-tasking etc). Are there any resources for handling minimization or anything that could help guide me to debug whats going on with that?

View 1 Replies

Flex :: Playbook AIR SDK Images On Surface

Jul 21, 2011

I am trying to write a Playbook app using the AIR SDK, I need a surface of some kind that I can load a large image onto, then subsequently place some smaller images on top of and add the whole lot to a ScrollPane so I can pan it around the screen. I have tried by adding the image to a sprite and displaying that in a group in the application but the image does not show up. What is the correct surface kind I should be using here and how should I be loading the images? (currently using "Embed" and loading the image into a BitmapAsset.)

var scroll:ScrollPane = new ScrollPane();
scroll.setScrollContent(image);
scroll.update();
scroll.graphics.beginBitmapFill(icon.bitmapData);
scroll.graphics.drawRect(100,100,56,56);
scroll.graphics.endFill();
scroll.update();

This code causes a non-moving icon to be drawn behind the scrollContent, I want to add something on top of the scroll content that moves with it.

View 2 Replies

Flex :: Building Blackberry Playbook App In Adobe AIR?

Mar 29, 2011

Ive been trying to write my first Blackberry Adobe Flex application but get the following errors:

1172: Definition mx.controls:Label could not be found.

View 1 Replies

Flex :: View Navigation On Blackberry Playbook

Apr 14, 2011

I'm creating a pure actionscript 3 mobile project for Blackberry Playbook. One problem I have came across is that there seems to be no inbuilt way to handle view navigation. In flex mobile projects, we have the spark.components.ViewNavigator component, but this isn't available on a pure AS3 mobile project. These two links are both making their own libraries for view navigation...

[Code]....

View 2 Replies

Flex :: Swiping Through Content On Blackberry Playbook?

Apr 18, 2011

I am creating a Playbook app in Adobe Flex/AIR. I have a situation where there is too much content to show all on one page so I would like it where the content overflows vertically, the user can swipe to scroll down, like they were viewing a website on an Ipad.

I am extending the View class to make my screens, I could place every screen in a one element List or surround it all in a Scroller but surely there must be an inbuilt way to do this on the Playbook?

With the limited Blackberry documentation, I'm struggling to find the solution,

View 1 Replies

Flex :: Remove Choppiness In Scroller On Playbook?

Apr 21, 2011

After deploying the Flex 4.5 Spark Scroller control to a Playbook, the default result is choppy/jittery scrolling and no spring at the top and bottom of the scrolling.

Is there a way to change this behavior to a normal smooth touch scrolling with start and end springiness?

View 2 Replies

Flex :: Push From Server To Blackberry Playbook?

Jul 13, 2011

Is possible to make a "push", initiated by a server, to send data down to a Blackberry playbook application?

If so how is this best implemented in Flex/Actionscript? ie. How do we capture this on the client?

View 1 Replies

Flex :: Modify Icon Of The Application For Blackberry-Playbook?

Mar 23, 2011

way to modify/replace the icon of a Playbook program?

Like display a red star on it - to indicate there is new message for the user.

I've tried tracing NativeApplication.supportsDockIcon and NativeApplication.supportsSystemTrayIcon properties, but they are both false on Playbook simulator.

View 2 Replies

Flex :: Search - Application For PlayBook Text Input Variable

Jan 8, 2011

how to take what a user inputs into a s:TextInput and use that as a variable in a JSON data request? Basically, I want to have a user enter a search term, like "math" and then have that placed into a variable so I can use it in a JSON request. Something like public var q:String, except that my search box (and hence user input) is on another "view" of the application. I've just started with Flex Mobile applications and I might be way out of my league.

View 1 Replies

Flex :: PlayBook - Create A File Browser To Allow Users To Load Images From The Local System Into The Application

Mar 24, 2011

I'm developing an application for the Blackberry Playbook using Flash Burrito 4.5 and Flex. I'd like to create a file browser to allow users to load images from the local system into the application. I followed this example [URL] When I click on the Load Image button in the simulator however, the file browser pops up but tells me that "no file was found with the specified filter", even though I don't specify any filter or even if I specify a . filter.

View 2 Replies

Flex :: Adobe - Create Smooth Transitions For Drop Down List In Flex For Desktop Applications?

Jan 22, 2012

I have a drop down list for selecting the titles for a person, I want to employ smooth drop down when i select the drop down menu.

View 1 Replies

Flex - Design Patterns For Adobe Air/Flex Applications?

Jun 2, 2010

I'm going to write an application with the Air/Flex-Framework. I'm looking for Best Practise and general Design Patterns for designing software especially in Air/Flex. I have experience with this framework but never had the pleasure to write a piece of software from scratch.

For instance: I stumbled across lots of software written in Air/Flex with nearly infinity global vars Most of the software I saw was not object-oriented How can I pack the asynchronous method calls nicely?

I'm familiar with general design patterns by gamma. I'm looking more for advise in designing good quality software with Adobe Air/Flex.

View 4 Replies

Flex :: Using Qnx.ui.picker.Picker In Mobile Project For Blackberry Playbook

Mar 11, 2011

there is a Picker example for usage in an ActionScript project. It works well in simulator. But how do you use that component in a Mobile Flex Project (with Burrito Flash Builder)? How do you add a qnx.ui.picker.Picker to a spark.components.View? The latter seems to expect a mx.core.UIComponent, but the former is a qnx.ui.core.UIComponent. The ActionScript project I've mentioned above works ok, because the Picker is added to the Sprite. But adding it to a View in a Mobile Flex project fails for me.

UPDATE: I've found this page today: [URL] And also I've found out that the QNX AIR components work on Android as well, wonder if it is legal to use them there? Nothing is mentioned in Playbook SDK Legal Notice.

View 2 Replies

Flex :: Get List Of Installed AIR Applications?

Feb 15, 2010

Is it possible to get list of installed AIR applications, optionally only by one vendor?

Or, is it possible to check, whether is one application (checked by name/some id/vendor) installed (this method would be preferred)

View 3 Replies

Flex :: Load Audio Into Applications?

Mar 9, 2010

I want to play Audio in flex application.I am using SWFLoader for it.Is there any other way to load audio into Flex applications.

View 1 Replies

Flex :: Write Adobe AIR Applications?

May 9, 2010

I cannot afford the Creative Suite or Flex Builder but I would like to develop a commercial Flex/ActionScript AIR application. Is this a viable goal and are there robust tools out there that don't cost a small fortune?

View 2 Replies

Flex :: Do AIR Applications Run In A Trusted Sandbox

Jul 22, 2010

I have an AIR application that is packaged with a network appliance and that is used to configure that network appliance...much like a the embedded webservers on home routers except this is an installed AIR app.

If I want to communicate with the appliance on a port higher that 1024, do I need that appliance to serve up a socket policy file or is AIR considered a trusted sandbox. All the info I find relates to Flash Player and the web, but this particular AIR app is communicating in a closed environment.

View 1 Replies

Flex :: Skins Not Loaded In Sub-applications ?

Jul 29, 2010

we try to develop a flash game engine with several abstraction layers. This flex project contains: an Application (1)-> loading a class (2)-> loading another class (3) which instanciates a Flex component (4).

The loadings uses SWFLoader. The last Flex component (4) is just a Group with AdvancedDataGrid. We do not define skins so I suppose it must take default skin.The problem is that during execution, an error is throwed because default skin for components cannot be found in the Flex component (4). In our case, for the AdvancedDataGrid:

Error #1007: Instantiation attempted on a non-constructor.In mx.controls::AdvancedDataGridBaseEx. The guilty command is: getStyle("headerSeparatorSkin"); which returns null

For the moment, we found two solutions :

the first solution is to add the attribute headerSeparatorSkin="spark.skins.SparkSkin" into the AdvancedDataGrid of the Flex component .

View 2 Replies

Align Flex Applications To The Left?

Dec 17, 2010

How can align my application to the left in Flex ? The application is horizontally centered and when I resize the browser window it stays centered. It is not css padding, it is flex padding, so I guess I have work with Flex code.

I've tried to add the following properties to the Application container: paddingLeft="0", left="0".. but it doesn't work. Still centered. I've also tried to set "align","left" in the html/javascript code, but it doesn't solve the issue, because the padding is inside the flex application.

View 1 Replies

Flex - Printing In Adobe Air Applications?

May 12, 2011

I have a requirement to print a bill from the AIR application.

Following are the constraints.

I need to print to a DotMatrix Printer. I have a complex layout with header, footer and a datagrid with data rolling out to more that one page. I need to have a template to which I will be passing my object.The suffice with the usage of Jasper reports, but I have no server side support.I tried the FlexReport, bentbit and other tools which is optimized for the DotMatrix printers.

Is there a alternative to get the above requirements done. Is there any alternative similar to that of jasper reports without going for a server.

View 2 Replies

Why Flex Applications Perform Better Than Flash

May 14, 2011

When I'm making projects with Flex (or Flash Builer) the end result usually performs much better than a similar level project made with the Flash authoring tool. I know Flash IDE is rather for animations and design heavy works so you can't really compare these 2 tools, but this question is bugging me for a long time.If apps made with Flex (or Flash Builder) are really faster and less CPU intensive - why is that?

View 1 Replies

Flex :: Mailto With Attachments In AIR Applications

Jul 27, 2011

How to forward attachment(for example image) from Flex or AIR application to email client? For forwarding email address, body and subject, I use this:

var s:String = "";
s+= "mailto:";
s+= g.text;

[Code].....

View 1 Replies

Android :: Ios - Flex Vs Eclipse For Applications?

Dec 18, 2011

I am a beginner in this so I am not sure what would be better. I read that Android API is targeted towards Eclipse, however, I read that Flex allows you to use your apps on Android and iOS at once, reducing the need for two apps.

The kind of app I am building will involve reading data from the gyro, and making some calculations, then reporting it to a server.

View 1 Replies

Iphone :: Make Applications Using Adobe Flex/AIR?

Jun 22, 2009

Is it possible to make applications for iPhone using Adobe Flex/AIR?

View 5 Replies

Flex :: Pass Parameters Across Multiple Applications?

Jul 21, 2009

Is there any way we can pass parameters from one flex application to the other flex application ?

I know we can pass parameters from module to application and vice versa.

View 1 Replies

Flash :: Securing .net Web Services For Flex / AIR Applications

Oct 15, 2009

What would be the best way to secure .net web services used by a flex application (both desktop and browser) that requires login? I thought about requesting the user and password in every method of the web service, and having them stored as variables in the flex app, but I don't feel like this is the most elegant way.

View 2 Replies

Flex :: Free Tools For Building AIR Applications?

May 16, 2010

There is an ongoing argument on the web right now about the "openness" of the iPhone OS and Adobe Flash platforms. Adobe's argument is that anyone can build a Flash application without having to worry about being allowed to distribute it.

This made me wonder... is it possible to build and distribute an AIR application without giving any money to Adobe (without violating any licenses, of course)? Are any of these tools free? Are any open-source?

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved