ActionScript 3.0 :: 3 Project (Playbook) & OpenGL Integration?

Jul 25, 2011

I'm building an application that has a certain colouring feature where the user is able to select pencil crayons and essentially draw on a white surface and erase and what not. I was hoping the actual implementation/math/logic for drawing would be taken care of and all I would have to do is set up touch events in my Playbook project.

The problem I have is how do I integrate the openGL library with a Playbook project that solely uses AS3.I've looked around the web for like a 'AS3GL' equivalent but couldn't find anything, it seems that openGL is only catered to certain platforms/languages?

View 1 Replies


Similar Posts:


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

Data Integration :: One XML For Whole Project?

May 12, 2009

I am dynamically loading images into my project using xml. If possible I'd like to use one xml file for the whole project and target different parts of the xml file. How can I target different parts of the xml file?
 
Ex:
 
<murals>
<image .....>
</murals>

[Code].....
 
Only access the images in the murals section when wanted and only access the images in trompe when wanted and so on.

View 2 Replies

C++ - Run Flash Video Using Opengl?

Jun 24, 2011

I am trying to run a flv file on the glut window using openGL (C++) in linux, but I have not got any reference in this direction.

View 3 Replies

Using Adobe Alchemy To Get OpenGL Image From C++ Code To Flash App

Jun 2, 2011

I have C++ application that use OpenGL. Need to convert this app to flash app. Is it possible to do this with Adobe Alchemy? Is it will be possible to get from that swc current image (for example, with glDrawPixels) and print it on screen

View 2 Replies

Iphone :: Convert Flash Art To OpenGL-ready Vector Format?

Nov 18, 2009

Say I have some 2D artwork in Flash CS4 format .FLAs, and I'd like to put it into an iPhone game that uses OpenGL ES, keeping it in vector format. An OpenGL-ready format could just be a list of vertex positions and colors for a triangle strip.

View 4 Replies

Professional :: Move Project To See The Not-project Area Around The Project?

Jun 21, 2010

I cant "center" my project, like you can see its "fixed" (yellow lines) in the left side and I cant see "invisible" part of project... (area around the project). how can I move my project so I can see the not-project area around the project. (picture 2).

At the moment situation... (cant see that area around the project)
http://img19.imageshack.us/img19/1186/68553623.png

View 2 Replies

Android :: Choosing Flash / OpenGL / Other Animation For An Android App?

Jun 1, 2011

I need to add some animation to the UI of my application. Something similar to the Talking Tom application that is all the rage these days. I am a complete noob to animation, so had the following questions to zero in on a particular platform before I began with any development.

Out of Flash/Rendered Images/OpenGL which one would be the fastest to implement (assuming that I have a graphics designer to do the drawing)? If I was to go with flash, would I still be able to interact with the application or will it be more of a one-way play-and-stop kind of animation? I have looked over a lot of questions on SO about this issue and have not been able to make up my mind.

View 2 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

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

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

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 :: How To Display Picker With One Item Using Playbook QNX

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

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

Actionscript :: Option Menu On Playbook View?

Jan 12, 2012

How to make option menu on Playbook view? Is there standard APIs to do that, I am using Air SDK

View 1 Replies

IPhone :: Playbook Support For Streaming And Choosing Camera

Dec 23, 2010

I am wondering if Flash / AIR can find all these mobile devices front facing camera and use RTMP to stream the video captured? I would like to create a video conferencing app for these devices. Of course none of them support testing this in the simulators and I don't have the funds to purchase or access all of them that I would like to test. I have seen some posts where they have done this for android but not sure about support for finding a list of cameras, choosing one and streaming from iphone 4 and playbook.

View 2 Replies

Actionscript :: Port A Flash Application To BlackBerry PlayBook?

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

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

Actionscript :: Blackberry Playbook - Override A Function In A Dynamic Class?

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

ActionScript 3 :: Creating Multiplayer Shooter Game For Blackberry Playbook?

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

Flash :: Blackberry Playbook: User Starts Up The Application By Clicking A File?

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

Flash :: Data Integration - Huluesque Video Integration

Jan 1, 2010

I have a video player that is currently using XML for its video library which is all fine and dandy. Now I have some developers working on a CMS type page in PHP that is going to hopefully pass some sort of information to my player that will let it know where the video is stored on our server. Is there a way to do this without using FMS? If so does anyone have ideas where I can find the information for it.

View 2 Replies

Add A Widget Board To Flash Project So Users Can Embed Project In Their Webpage?

Jul 4, 2009

I would like to add a widget board to my flash project so users can embed my project in their web page or wiget display. To see what I'm talking bout go here [URL] and click the white + mark on their widgets.If your a moderater please put this in the correct area, and consider making it a sticky so we can post new ways to impliment in different sites as they become available.

View 2 Replies







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