Android :: Iconitemrenderer Clickable Objects?

Jun 29, 2011

I am making a mobile application in Flash Builder 4.5 for android and iOS and am using the itemRenderer and iconitemrenderer classes to make a list of options for my app. For some reason, i cannot make them clickable, or define actions to do when each is clicked. Basically, i'm aiming to use FB's "views", and when an item is clicked, to switch to a new view. Here's the code i'm working with:

[Code]...

View 4 Replies


Similar Posts:


Android :: Away3DLite On Android Objects Doesn't Appear On The Screen?

Mar 16, 2011

I have implemented an Augmented Reality application on Adobe Air for Android. When I publish my app on the android mobile phone (Nexus One) the 3D models that I have created don't appear on the screen.On flash CS5 it is working fine.I have used Away3DLite engine and I have imported a 3D collada object.I have also tried to publish some projects that I found online and I checked if the the 3D model appears on the screen but it doesn't show it either. how the 3D Models that I have imported in my project using Away3DLite can be visible when I publish the application on the android phone. Some extra stuff be usefull: I'm using GPU rendering.A also using a combination of the following softwares in order to create my AR application:

FLARToolkit
FLARManager
Away3DLite

I have created one 3D Model on 3DS MAX and another one on Maya 2010.

View 1 Replies

ActionScript 3.0 :: Clickable/unlcickable Stacked Objects?

Dec 21, 2010

i'm trying to develop a simple isometric flash game using AS3, but i have run into a small problem.

let's say i create a new movieclip (let's call it "ground") for the terrain base hexes (the ones that the character stands on) and populate that with more movieclip objects that represent each of the squares.since i want the game to be mouse-based, i want these hexes/movieclips to be clickable.

now, i will create a new movieclip (let's call it "objects") on top of the previous one that holds all the objects in a given map + your character and all the monsters. i want to do this, because then i can arrange the order (the z-depth) of the sprites according to their position on the map using swapChildren, etc (so that if your character is in a row in front of a tree, he is displayed on top, but if in a row behind the tree, he is displayed behind)

since the trees (or whatever other objects) can have clickable hexes behind them, i don't want them to get in the way of the mouse being able to detect the hexes themselves. the easiest way would be to make them mouseEnabled = false. but that would mean that i also have to make the whole "objects" clip mouseEnabled = false. at the same time if there are monsters inside the same "objects" movieclip i would want them to be clickable (for example to attack them), which means i cannot make "objects" mousEnabled = false.

hence my question. you can only change the depths of movieclips using swapChildren if they are in the same parent container, but you cannot make only part of that container's child movieclips invisible to the mouse. am i understanding something wrong and there is a different way to do this, or is this an actual and un-overcomeable limitation of AS3?

View 3 Replies

Actionscript 3 :: Put An Image Into An IconItemRenderer?

Sep 20, 2011

I want to display a list of dynamically generated images. I am trying to use an IconItemRenderer, however, I cannot figure out how to display the image (a spark.components.Image) in the IconItemRenderer.[code]But this did not work. The image is correct, when I use addElement(image) instead, it works.So, how can I add a dynamic image to an IconItemRenderer?

View 1 Replies

ActionScript 3.0 :: Playing Video With Alpha Channel - Objects Behind Clickable

Jul 30, 2011

I have a Video object which plays a video with an alpha channel. There are objects behind the Video object which I'd like to allow the user to interact with, so if someone mouses over the playing video nothing happens but if they mouse over objects in the background, something happens. Is this possible?

View 3 Replies

Actionscript 3 :: Flex Mobile: Strange Behavior In IconItemRenderer List?

Feb 29, 2012

I'm desperately trying to fix a strange behavior in my custom iconitemrenderer list: When I change the view to the view with the list inside and start scrolling, the list gets white for the fraction of a second (apperently completely redrawn), but only once when scrolling the first time after the view change.

[Code]...

I think the problem is in the myList.dataProvider.itemUpdated(oldItem), apperently the renderer thinks it has to redraw everthing, but I have no idea why.. and why only after the view is shown again.if it's a bug or something? how can I get rid of this bahavior or how can I debug this this properly?

View 1 Replies

Android :: Retrieve Objects Item Information From ArrayCollection?

Aug 26, 2011

I am currently using the latest verion of Adobe Flash Builder to create a Mobile Application. For the application one feature is to allow the users to bookmark content an this is done by storing the id of the object to be Bookmarked into an SQLite db on the device. This part has been done successfully and they are stored fine.

Now what I want to do is to pull back the bookmarked id's from the database and pass them to a WebService call which needs to be made to an External Database. When I retrieve the Bookmark id's from the local database they are contained within object, I now need to find a way to take the id's from the database objects in the ArrayCollection and store them in a new array that will be passed to the WebService, as the webservice is expecting an Array of Int's and not Objects. Below is the code I created to see if the object items are within the array list of objects:

private function loop():void
{
var index:int;

[Code]....

View 1 Replies

Flash :: Test My Android App For Playing Objects In WebView?

Mar 23, 2012

I need to test my Android app for playing flash objects in the WebView.

At first I didn't need to test it on the emulator since I have an actual device (Android 2.3.7) but since users have been reporting issues about the app on Android 4.0 (Ice Cream Sandwich), I want to test it now in the emulator.[code]...

View 1 Replies

Flash :: Embed Flash Objects Using Android?

Jan 27, 2012

Does anyone know a method to communicate commands and receive events from flash objects using Android? Flash media objects are quite handy for handling online media streams and I am wondering if we can control those objects to play media from an Android app.A typical case will be: a flash object embedded in a webview and this webview is loaded by the Android application. The application send "play" commands to the object to start playing the stream and gets "finish" events when reaching the end of the streamed media.

View 1 Replies

Flash :: Air Android App Always Launches In Portrait Mode Irrespective Of The Way The Android Device Is Held?

Jan 25, 2011

i have an AIR android app which i am running on an android device ( samsung TAB ). i want the app to get laid out in landscape mode when the user starts the app holding the device in landscape ( same goes with portrait ).

but the AIR app always gets started in portrait mode irrespective of the way the device is held.

i tried the following ways use stage.deviceorientation (but when the app starts (after the applicationComplete notification ) the value is UNKNOWN) use stage resize event. (this gets triggered at start itself, a manual resize is not required - the values are based on portrait mode though - the width is 600 and height is 1024 (should have been otherway) )

i get correct values when i try changing the orientation of device, only at the startup i see problem with the required values.

View 1 Replies

Android :: Android Tablet Browser Flash Movie To Landscape When In Fullscreen Mode?

Oct 28, 2011

I have an as3 built osmf video player swf that we embed on a standard HTML page. When you touch the image the video automatically goes fullscreen and begins playing. Droid and Flash often break after changing back and forth between landscape and portrait while in fullscreen.(by break I mean freeze, where you can hear the video and use the controls, but everything is just a still frozen image, the redrawing fails).Can you lock the fullscreen orientation in html, javascript, or do you have to try to handle it inside the swf?

View 1 Replies

Android :: Capture Video And Stream It To Flash Server On Realtime In Android?

Mar 14, 2012

I working on a project where the client side need to capture video and audio from the camera, use some library (proberly ffmpeg) to convert from mp4 to flv and send it to flash server on realtime,in the other side the client need to get flv and convert it to video type of android on real time. Is it possible to do?

View 2 Replies

Android :: Frame Rate Is Very Low For Android Game Developed By Flash CS5?

Dec 29, 2010

I am porting my flash games on android. I have ported 3 successfully. But the problem with all of them is they are giving very low frame rate near about 7-8. And I have observed 1 thing that frame rate always varies. Sometimes it goes upto 45 and again in next frame it comes to 3-4 and again goes to 15-16.

I am quite confused. Please let me know if anyone is having any idea about this.

View 1 Replies

Android :: Flash Inside Android WebView - How To Set Fullscreen Automatically

Apr 14, 2011

I am loading flash SWFs into an android WebView.I want the SWF to be instantly fullscreen and focused.The class name that handles flash is com.adobe.flashplayer.FlashPaintSurface .

Watching the log, when I fullscreen the flash manually, it calls com.adobe.flashplayer.FlashPaintSurface.toggleFullScreen()The first part of my question is, How can i call that method manually for my flash swf? Note that with a webview with a flash embedded, the only way i seem to be able to fullscreen it properly (to have flash's surfaceview fullscreen instead of the flash being displayed over top of the webview view) is by touching the screen with two fingers until an interface pops up at the top of the screen, and doesnt happen reliably.For focus, inside my webview class I call

@Override
protected boolean drawChild (Canvas canvas, View child, long drawingTime) {
if (child.getClass().getName().equals("com.adobe.flashplayer.FlashPaintSurface")) {

[code]...

This doesnt set the focus as I thought it would. Although i assume, if fullscreened properly, the flashpaintsurface should give itself focus. But if if the first part is not doable, i would wonder at least to not have to give focus to the SWF by clicking on it on startup.

View 1 Replies

Access Front Camera In Android Devices Using Flex-android?

May 17, 2011

There are samples to show how to access front camera of android devices using android sdk.

View 1 Replies

Android :: Performance - Taking Too Much Time To Finish The Activity In Android?

Jul 20, 2011

I have loading the webview in my Activity. the Web content is having some flash content. when i try to finish the Activity. Its taking too much time. the screen goes to blank screen for little time and resuming to the app.

View 1 Replies

Android :: What Versions Of Android And IOS Is Adobe AIR 3.0 Captive Runtime Compatible With?

Nov 16, 2011

I can't find this information online or in the documentation, does anyone know what versions of Android and iOS the AIR 3.0 captive runtime is compatible with? I'm assuming there is some restriction there, but short of actually compiling a program and trying it on iPhone for example, which I don't have, how can I tell which OS versions are supported?

I know that you can compile an Adobe AIR 2.7(?) application to target say Android 2.2, but what about the captive runtime with AIR 3.0? Also I don't see anywhere to find out the iOS version restriction with AIR, as you have to pay $100 to Apple to even get the SDK which would allow me to make an iOS project in the first place.

View 2 Replies

Android :: Adobe Flash Application Is Not Working On Android Tablet

Dec 2, 2011

I gone thorough the adobe flash builder video tutorials and did the same thing to create an application for android device, but when i run the application it is showing Sorry dialog box saying that, The application Test1-debug(process air.Test1.debug) has stopped unexpectedly. Please try again. I tried many times but it is not working. Initially i thought no Adobe-AIR in my device, but it is there. I am using Reliance 3G Tab. I don't why it is not working, if anybody know this please reply me.

One more thing, i downloaded one APK (which is designed with adobe flash or flex) file from [URL]..and installed on my android device. When i run that application only blank screen is appearing, but in video they shown, it is working. Why it is happening like this?? Is any problem with my tablet ?? or application ?? or adobe AIR not installed properly on device ?? Like this i am getting too many doubts.

View 1 Replies

Android :: Eclipse Can't Locate Android.webkit.WebSettings.PluginState?

Dec 12, 2011

I am trying to load a flash in a webview using the codes below

mWebView.getSettings().setJavaScriptEnabled(true);
mWebView.getSettings().setPluginState(WebSettings.PluginState.ON);
mWebView.loadUrl("http://www.adobe.com/software/flash/about/");

but when I import android.webkit.WebSettings.PluginState; eclipse return an error, asking me to search repositories to find it , the minSDK of my app is 7, any ideas?

View 1 Replies

Flash :: Android - Playing SWF Files Locally From Android Webview

Feb 21, 2012

What is the right way to view .Swf files that plays .Flv videos in Android? The code that I am using right now to enable Flash support in web view is

[Code]....

For the HTML file, I'm using swfObject. The problem is that I can open up the SWF file just fine from third party apps like SWF Player from the market. In addition, I can load up the HTML page from the browser by calling it directly through file:///. However, when I load it up using my webview, I'm stuck with a blank screen.

View 1 Replies

Android :: Install Adobe Flash On The Android Emulator?

Sep 14, 2010

I want to use Adobe Flash in the development of Android applications. But how do I install flash on the emulator so that I can test my software with flash?

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

Android :: Android, Hook Mount As Flash Drive?

Nov 12, 2011

There are way for:On USB connect to PC (or other flash drive reader) - hook process and allow access only specified files and folder on android (custom store)?

View 1 Replies

Android :: Recording Audio With Adobe Flex On Android And IOS

Dec 1, 2011

is it possible to record Audio on iOS and Android with Adobe Flex Mobile? I can't find anything about that feature on Adobe's website.

View 1 Replies

Android :: Flex - App Requires Android.permission.BROADCAST_STICKY?

Jan 26, 2012

I've recompiled my app with Flex 4.6 / AIR 3.1 and now when I upload to the Android market it says my app is using a "android.permission.BROADCAST_STICKY" permission. In it's simplest terms what is it and can or should I turn it off (it's not in the app descriptor file)?

BTW I used captive runtime for the first time in this upload. Would that have anything to do with it?

View 1 Replies

Android :: Android - Flex Mobile Project Option?

Mar 12, 2012

I have a problem with Flash builder, I can't find the "Flex mobile project option in the list" How can I install it?

View 1 Replies

Android :: Flex - Android AIR App Call An NDK Library?

Oct 14, 2010

Using AIR for Android, is it possible to call from Flex into an NDK library? If so, how can this be done? I have a large C library that I need to use. I know that I can do this from an Android Java app (through JNI), but I have a large Flex codebase that I'd like to reuse.

View 2 Replies

Android :: Flash CS5 Android And Blackberry Development?

Feb 2, 2011

If I build a Android and Blackberry app with Flash/AIR, do i get access to the file system and database for both platforms?

My app will need to save downloaded images.

View 1 Replies

Android :: Flex Access Android Compass?

Apr 8, 2011

Is it possible to use Air on android and access the compass? I saw there is some acceleration support[URL]..If it is NOT accessible, would it be possible to do some communication between a native android-app listening for compass update and an air application?

View 2 Replies

Android :: How To Make Application Of Flex For Android

May 17, 2011

Actually i have created one dashboard in flex. But now i want to integrate this dashboard or make same dashboard for Android.

How i can achieve this? I want to make dashboard for Android.

View 2 Replies







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