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
Similar Posts:
Mar 16, 2011
I've got a QNX Picker control that isn't displaying the selected values when there's only one item in the picker. For example:
import qnx.ui.picker.Picker;
var pick:Picker = new Picker();
var arr:Array = [{label: "hi!"}];
pick.dataProvider = new DataProvider([new DataProvider(arr)]);
pick.selectedIndices = [0];
addChild(pick);
The result is a blank picker. Maybe I'm doing something wrong. When there are 2 items in the arr Array, the picker actually shows the selected Indices. How do I get the picker to display the selected item when there is only 1 item to choose from? I'm using Burrito, with Playbook SDK 0.9.3.
View 1 Replies
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
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
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
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
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
Apr 28, 2011
Is there any way to change the size of swatch panel in color picker control?? I tried thiscolorPicker {
swatchHeight: 21;
swatchWidth: 24;
}
but this is not working
View 1 Replies
Jun 5, 2011
I am going to make an Arabic application using Flex builder 4.5. I have two questions that need to be answered What is the difference between ActionScript Mobile Project and Flex Mobile Project. (AS Mobile Project supports iOS and Android but I doubt about it!!)
Is Arabic support available in Flex Mobile Projects or AS Mobile Projects? I know TLF supports Desktop and web apps but does it support mobile platforms?
View 1 Replies
Jan 2, 2011
I have a Flash application written in ActionScript 2 that I would like to port to the BlackBerry Playbook. The application is composed of an .swf file and a directory containing a large number of vector images. The path to these images (e.g. imagefolder/icons/icon1.swf) is hard-coded into an application and requires the image directory and the .swf file to be in the same directory.
I've installed the PlayBook SDK and have tried packaging the application with FlashBuilder 4, but I have no experience with this programme and have so far been unsuccessful. I tried placing the application in an SWFLoader component, but I then realised after reading this pdf document that MXML components are not supported. Since the app is written in AS2, I believe it cannot be compiled by Flash Builder. I don't need any any of the AIR features so I was wondering how could I embed the .swf and image directory in a Flash Builder ActionScript project so that it would run on the BlackBerry PlayBook.
View 1 Replies
Mar 11, 2011
This is for a playbook app. I have two classes:
public dynamic class Bullet extends Sprite {
public function update():void {
x += 5;
y += 5;
[Code]...
This is essentially what I'm trying to do. What's the best way to achieve this in actionscript?
View 2 Replies
Apr 16, 2011
What is a good framework to build a multiplayer game in Actionscript? I want to create a multiplayer 2D shooter like Asteroids on the Blackberry Playbook; my main concern is latency - a shooter wouldn't be fun if the bullets are super-jerky and unexpectedly hit people. I'm guessing that a UDP-based framework would be the best.
View 4 Replies
Feb 10, 2011
I'm trying to do an unzip like application for the Blackberry Playbook, which means that the application mostly gets launched when the user clicks a file for which the app is registered.I googled a bit around, and the closed what I found is this, but MobileApplication doesn't have invoke parameter.
<?xml version="1.0" encoding="utf-8"?>
<s:MobileApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark" firstView="views.TestHome"
[code]....
View 1 Replies
Dec 2, 2010
I'm created multiple instances of the basic color picker component, using a library linked color picker.I was wondering if there is any way to change what colors are available in the swatch?
View 3 Replies
Dec 10, 2010
I have a color picker which I set usingMenu.ColorPicker.selectedColor = 0x339900;It displays the correct color when ran. If trytrace(Menu.ColorPicker.selectedColor);it traces 0. Why is this? Even stranger is later I set some xml parameters using
xml.parameter[0] = Menu.ColorPicker.selectedColor; xml.parameter[0].@name = "color1"; xml.parameter[1] = Menu.ColorPicker2.selectedColor;
xml.parameter[1].@name = "color2";
[code].......
View 1 Replies
Sep 13, 2005
I'm trying to make a color picker / swatch similar to the one in flash but I can't seem to go in the right direction, there are 6x6x6 colors to be displayed in order, from top left 000000 to bottom right FFFFFF.In each 6x6 square, horizontal adds Green, vertical adds Blue, each 6x6 square adds a shade of red.The hex values for a color are : 00,33,66,99,CC,FF. each of them adds 1/5 of 255(51) to the color...I've got the drawing part ok but what I'm missing is an array of color...
View 2 Replies
Apr 3, 2009
what i have is this:
HTML Code:
function drawGradientBox(size:uint, col:Array, alph:Array, rat:Array, matRot:Number):Sprite {
var sp:Sprite = new Sprite();
var mat:Matrix = new Matrix();
[code]....
but i want it to look like the flash color picker component where all colors are divided:i forgot to mention that i dont want to use flash components
View 4 Replies
Feb 28, 2010
Does anybody know of a good, free downloadable colorpicker component for as3? I don't want to use the one by jumpeye components, so I was wondering if their was a better free/cheap one. I really don't like the default colorpicker in the flash IDE.
View 1 Replies
Feb 24, 2011
how to create a random name picker in flash?
View 2 Replies
Jun 15, 2010
When Flash starts up, the default color picker looks like this: I have accidentally somehow made mine look like this:And I have no idea how I did this, how to do it again, or how to get it back to the default.
All my web searches come up with a lot of stuff about coding my own color pickers or importing new ones and stuff. I just want to switch between these two modes: I would like mine back to the default, and my coworker would like hers (stuck on the default!) to look like mine.
View 3 Replies
Apr 13, 2011
Is there a color picker for actionscript in Flash Builder 4? It is very annoying to create custom components in actionscript without being able to get color codes in from Flash builder itself.As of right now I have to get color codes from the internet or Photoshop.
View 1 Replies
Feb 23, 2007
I have read all threads on color picker keyword on this site.Some of them includes links to components and some of them does not contain useful information.
Does anyone here had an experince on creating dynamic color picker?I need key points and design issues to consider to program colorpicker class with AS 2.0.
View 2 Replies
May 12, 2010
I'm currently working on a project where people can drag different symbols (man, woman, house, building, etc) onto a stage to create a graphical representation of a scenario.
I have been able to make draggable classes with different symbols. What I'm finding difficult is the ability to dynamically change these instanced classes using the color picker.
Example: Let's say the user has added two "man" symbols (being external classes) onto the stage. How would I code the ability for the user to change the color of one man symbol to red and the other to blue. I'm finding it quite difficult to achieve this since both man symbols are from the same class.
View 2 Replies
Mar 28, 2005
I am using the color picker from flash UI components set 4. All is well except when I use the getValue() command for the color picker it returns the decimal form of the color and I would like to obtain the hexadecimal instead. The text box of the color picker outputs the color in hex, but I can�t seem to obtain the text field output. Does anyone know how to do this?
View 1 Replies
Aug 19, 2009
Does anyone have any experience or examples of similar functionality to the Iphone's Picker View to the in Flash/AS3? I'm working on a touch screen flash application and would love to use something like this for a time picker, instead ComboBoxes, which are difficult on touch screens.
View 5 Replies
Aug 21, 2009
Anyone knows how I can do a simple slot machine which can pick random names based on the names I put in the text area?
It is almost similar to this [URL]
But I want the chosen name to be in the middle instead of the top and more random.
View 2 Replies
Mar 28, 2005
I am using the color picker from flash UI components set 4. All is well except when I use the getValue() command for the color picker it returns the decimal form of the color and I would like to obtain the hexadecimal instead. The text box of the color picker outputs the color in hex, but I cant seem to obtain the text field output.
View 1 Replies
Dec 18, 2010
"I have a series of pictures, there'll be a color palette by the side of the pictures. A user can select a colour from the palette and the picture will take on that colour".
View 3 Replies
Jan 8, 2012
This is my drawing code that I have now, and I wanna be able to use the color picker palette to chosse between color red, green and blue.
[Code]...
View 9 Replies
Feb 2, 2011
im trying to create a spinner/picker similar to the one used on the iphone in as3 [URL]
View 4 Replies