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


Similar Posts:


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

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

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 :: Minimize Build Time Of A Flash Project?

Nov 22, 2010

One of the most annoying things when working with Flash/Flex projects is that it takes soo long to build the project. In a Flash game I am doing, it takes more than one minute to build it.

View 4 Replies

Actionscript 3 :: Maximize And Minimize Line Charts In Flex Using It?

Mar 31, 2011

In my adobe flex interface window there is two graph at a time .Is it possible to add maximizing & minimizing functionality to these graph so that one can view both graph at a time and if required minimize one ,which leads the other graph to occupy the minimized graphs place.and vice versa. it?

View 1 Replies

Javascript :: Disable The Browser's Minimize Button When Launching Flex Application?

Mar 14, 2011

How can I disable the browser's minimize button when launching my flex application?

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 :: 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 :: Navigation Fails In IE?

Aug 24, 2011

In my application, when I have got an modal window with tab navigation enabled for all the fields. When I am working with chrome, the navigation works fine but when i try it in IE, when i press on tab from the last field, instead of going to the first field, the control goes to the address bar. Does anyone know how to rectify this issue? Is it possible to set next-navigable-item on items?

View 1 Replies

Flex :: Debugging AIR: ADL Fails To Launch?

Sep 6, 2011

I've hit a snag when trying to debug an AIR app using adl.

Although adl successfully launches, the application never appears on screen / starts up.

eg:

<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"

[Code].....

Update: I've also since uninstalled and reinstalled Flash Builder (and therefore, the AIR SDK), and it still doesn't work. I think this adds weight to the port conflict, but still leaves me unsure of where / how to proceed

Further update Compiling exactly the same codebase to a AIR installer, installing, and running the application works fine. (Ie., a production release). However, the codebase fails to launch with adl. This pretty much confirms the issue as a local machine config problem somewhere with adl, and not an issue with the codebase.

View 5 Replies

Flash :: TabIndex Fails In A Swf Loaded Into A Flex App?

Jun 25, 2009

I feel like I'm missing something really simple here. I'm loading a AS3 swf containing a form (created by one of our designers) into a flex app. The swf's tabIndex properties work fine when the swf is viewed by itself, however, once it's loaded into the flex app:

<mx:SWFLoader source="form.swf" top="20" horizontalCenter="0" id="formSwf" complete="swfCompleteHandler(event)"/>

the form fields stop receiving focus on tab. I've been looking at the FocusManager in flex, for some sort of solution, but I can't seem to find any examples, and I'm not entirely sure I'm looking in the right place. Am I stuck redoing this form in flex?

View 2 Replies

Php - Flex Fails To Pass Parameters To Httpservice Php Script?

Sep 2, 2010

I am sending two parameters to a php script. The php script works fine if I use the browser to run the script and pass parameters to it like

[Code]...

View 1 Replies

Actionscript 3 :: Flex 4 Fails To Parse XML With Quoted Text

Oct 5, 2010

[code]...

And I get an error: TypeError: Error #1090: XML parser failure: element is malformed.

If I remove the quot part of the title it works fine. How come? Isn't this the proper way to escape "?

View 3 Replies

Flex :: PenWithDefaultApplication Fails On Files In Application Folder

Oct 29, 2010

I'll ONLY recieve an "Error #3000: Illegal path name" if I try to open a file which is placed inside the app-folder of the air. If the file is somewhere else outside of the app-folder it works.

private var file:File = File.documentsDirectory;
public function download():void{
var pdfFilter:FileFilter = new FileFilter("PDF Files", "*.pdf");

[Code]....

When i try to get the same file and copy it to another place it's doing fine.

Why that? Something special to do if i wanna open files which are inside the appfolder? It also don't work in debug mode - bin-debug.

View 1 Replies

Flex :: Why AsyncHandler In FlexUnit Fails In Capturing TIMERCOMPLETE Event

Feb 22, 2011

I am testing timerevent with flex unit. Follwing is the code which i tried ,it always goes to cmdFailed function (Time out function).I am new to flex unit.[code]

View 1 Replies

Actionscript :: Flex 3: Data Assignment To A Subcomponent Fails In An MXML Component

Aug 26, 2009

I'm trying to propagate an assignment to the data parameter of a sub-component through it's parent component's setter. Like this:

<CustomComponent
xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns="components.*"

[Code].....

When I ran my application, the sub-component never received its data. When debugging and stepping to the line marked "ref #1", the debugger jumps out of the method and continues on to something else as if the method was complete. It seems like some exception or error was thrown but the console gives no indication of what is wrong with this assignment.

Environment: This is using Flex SDK 3.2, with the Flex Builder 3 plugin for Eclipse on Windows, with Flash 9 Debug ver. for IE7.

Note: With this particular example I'm trying to avoid Binding on purpose. I mean, why can't I manually push the data to the sub-component rather than binding it?

View 2 Replies

Flex :: Loading A Module Fails The First Time Load() Is Called, But Succeeds After?

Jul 19, 2011

I have a Button that when clicked loads a Flex module in my AIR application. However,occasionally the Module fails to load the first time the button is clicked, but it works the second time it's clicked. When I debug it in the debugger the READY event is not fired so the remaining logic is never called.

var moduleInfo:IModuleInfo = ModuleManager.getModule(managedModule.url);
moduleInfo.addEventListener(ModuleEvent.READY, function(event:ModuleEvent):void {
trace("ModuleEvent.READY called.");

[code]....

View 2 Replies

Flex :: URLLoader Fails Randomly Without Throwing An Error Or Dispatching Any Events

May 29, 2009

In Adobe AIR 1.5, I'm using URLLoader to upload a video in 1 MB chunks. It uploads 1 MB, waits for the Event.COMPLETE event, and then uploads the next chunk. The server-side code knows how to construct the video from these chunks.

Usually, it works fine. However, sometimes it just stops without throwing any errors or dispatching any events. This is an example of what is shown in a log that I create:

Uploading chunk of size: 1000000
HTTP_RESPONSE_STATUS dispatched: 200
HTTP_STATUS dispatched: 200
Completed chunk 1 of 108

[Code]....

View 3 Replies

Flex :: App Fails To Compile With Mxmlc Command-line But Works With Flash Builder IDE

Apr 21, 2011

i have this flex app (it's a flex project created from flash builder), and it compiles fine when i build it from the IDE.it fails to compile when i do it from command line through mxmlc.i am invoking the mxmlc at the location "flash-builder-installation"sdks"flex-ver"inthe mxml file is test.mxml.i don't have any dependency on any of custom swc file.i am getting the following type errors when i compile it.[code]

View 2 Replies

Actionscript 3 :: Embed Video In A Playbook App?

Mar 25, 2011

How can I embed and play a video from a given url, in a playbook app written in as3?

View 1 Replies

Actionscript 3 :: Graph Library For Playbook?

Mar 31, 2011

I need a line chart in my playbook app. does anybody know a library for that? (for as3 mobile air projects)

View 3 Replies

ActionScript 3 :: Instantiate TabbedViewNavigator For Playbook

Nov 16, 2011

How can I instantiate a TabViewNavigator from actionscript for the playbook? Currently, I add the necessary spark frameworks and have this piece of code in the Main of my actionscript project:

[SWF(width="1024", height="600", backgroundColor="#ffffff", frameRate="30")]
public class Main extends Sprite {
private var waitDialog:BaseDialog = new BaseDialog ();
public function Main() {
super ();
[Code] .....

When the button is clicked, the button disappears as you would expect but the tab navigator is not added/does not appear. I tried without removing the Main class but that does not work either. What do I need to do to set up a tab interface. I can get similar code working through Flex and MXML but not in actionscript.

View 1 Replies

ActionScript 3.0 :: Minimize The Size Of SWF?

Feb 19, 2009

I'm trying to minimize the size of my SWF, but I can't find the tools that I need. HI need a tool that will take my SWF (or .as files would work as well, I suppose) and deconstruct it, analyzing how many bytes each class contributed to the final SWF file size. I would like this analysis to occur for both 'built-in' Flash classes ('flash.util.*', etc), as well as my own hand-written classes. (Other languages, such as C, Java, OpenLaszlo, etc, provide this functionality in a straightforward manner, but I'm stumped with AS3). (Note that I'm compiling with CS3, but Flex SDK solutions are also welcome)

Armed with this information, I'll be able to identify which classes are contributing the most to file size, and optimize them as necessary. For example, Flash's Button class is a bit bloated for simple applications - this tool would help me realize the inordinate number of bytes the Button class is contributing and re-write a simpler Button class for my needs (which inadvertently, I've already done ).

View 2 Replies







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