Flash :: Integrating Animations Into Android Games
Jul 2, 2011
I'm developing a game and want to integrate some animations, I've thought about making them in Flash and integrating in Android, is it possible in general? If yes, does it make sense? How will it look in terms of user experience, performance and app size? What are other ways to create game animations in Android?
Have 3 flash games that I would like to integrate in a menu / list in an android app. So when the user selects the game from the list, the game starts with android flash player. Is it best to do this with WebView or is there something better? I do not know where to place the flash games to get them in my compiled application.
From what i have googled out so far, it seems that we will have to host the flash file(swf) in a website and load the html page in the application in a webview... Is'nt there any other way to do it ?? Is there any library or something to integrate them ? Flash lite ?
I understand that flash is quite new to android. Has anyone actually used flash in an android app? How did you do it and what do you recommend. I'm trying to embed flash animation into an app.
I have successfully created a VB6 app that loads a swf movie. However the loaded movie is a preloader that subsequently loads another swf using loadMovieNum() which no longer appears to work. Does anyone know why this might be? I am using the Flash.ocx and specifying files that exist in the same directory by name only but have tried fully qualified paths as well.
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.
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?
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?
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.
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.
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.
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.
Is it possible to develop original content with Actionscript using bespoke question formats and transfer this to a LMS. I have just developed lots of script without using the question templates & feel that it has been a waste if I cannot make it SCORM compliant. The alternative is that I switch off so much of the functionality and just use the question templates but it will make so much of it bland.
i am creating a dynamic site that pulls all of its content from and access database. i would like to make the entire page in flash. i have never used flash to pull any content from a datbase before.i can only seem to find tutorials for flash 8 or flash 5,nothing for mx2004.
I must integrate a .jar file into a flash project. The project is like this: There'll be a flash video player for a Web Browser with Play, Pause, Stop commands. I must use voice commands to trigger the player actions. I have a .jar that makes the voice recognition so I want to integrate this file with my Flash Player.Is this possible?
P.S.: You may wonder why I don't use other tools, but it's a project for University with given materials, so I really need to use Flash + this given .jar .
i have some problems in integrating with my own flash. 1st of all.. let me define the key things
1st step.. the flash will detect the xml. 2nd, it detect whether if it has people on air on the studio or not refer to the time. 3rd, if its between the [timeid] range ( 0-7) it has a slot but either has a dj or not, if the timeid = 8 , no slot and no deejays here is my core part of problem..
the flash will show the slot language pics background = MC ( session ), the slot name = dynamic text area ( slonem ), and who's the deejays = dynamic text area (djnem), of the current time, if there's no one on air or no slot , the pics background = MC ( session ) will show music only.
i'll include also my xml file and my dummy file for this thing.. also iincluded is the original schedule that working properly.. the original schedule and the dummy is basically different just they read from same xml file..
i just learn xml just a few months back then also with action script with help from my roomate [URL]..
i have a basic movie clip in flash, inside the movie clip is some text and i was wondering wether it would be possible to change the text using xml meaning the .FLA file doesn't even need to be opened. Obviously i've tried researching this but decent information on xml/flash integration seems to be pretty hard to find.: I know there's a lot of pro's here at kirupa, so if you know much about flash/xml integration
i have some problems in integrating with my own flash.1st of all.. let me define the key things
1st step.. the flash will detect the xml 2nd, it detect whether if it has people on air on the studio or not refer to the time. 3rd, if its between the [timeid] range ( 0-7) it has a slot but either has a dj or not, if the timeid = 8 , no slot and no deejays
the flash will show the slot language pics background = MC ( session ), the slot name = dynamic text area ( slonem ), and who's the deejays = dynamic text area (djnem), of the current time,if there's no one on air or no slot , the pics background = MC ( session ) will show music only.i'll include also my xml file and my dummy file for this thing.. also iincluded is the original schedule that working properly.. the original schedule and the dummy is basically different just they read from same xml file.i just learn xml just a few months back then also with action script with help from my roomate.
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?
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.
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)?
how to use a CSS file in a flash project.Unfortunately every time I get to the end of the instructions.I'm making a simple flash slideshow for a web site.It has three buttons at the bottom, numbered 1 - 3. the web site I'm building this for is already up and running, and has a CSS file implemented.I want to apply that CSS to the three buttons at the bottom.The numbers are never going to change, but I want the font face to be congruent with the rest of the site.I'm assuming the best way to handle future compatibility is to link it up with that CSS file.So far I have the numbers, and the text is set to dynamic, each number has an instance name.Or a link if it has been covered in an introductory level and my searches failed me.
I am building this application. I have a psd file withe a few layers in it. Now I need certian actions to be performed in flash on events occuring on the layers of the psd file that involve retrieving data from a database.
im designing a website for my dept for my college....i have designed it well(i guess) with some as3 did some stuffs... that's not important here... i have created a tab called "Login" in that i need two fields Students Name and Password.. in which after logging in the students detail and marks and other student profile must be displayed....all in the movie clip....[URL]
I recently I followed this great guide to integrate the subversion revision into exe/dll files generated from my c++/c# visual studio projects. Now I can easily right-click on an exe-file to find which revision was used to build the binary (see image below). I love this feature.
Is this possible to do the same in flash/flex when building air/stand-alone applications? I would like to tag both exe file and dlls.
Update with solution: Although the ANT-based solutions provided here aren't as smooth as the one where the svn info is burnt into .exe/.dll files (in my opinion), it has solved my problem and is now implemented in our productions. My setup is based both on Kevin's and frankhermes's answeres but uses SubMCRev.exe instead of svn.exe or jar files. In our implementation we dump the svn revision to the logfile at startup. The output from the SVN target below looks like this: Built with SVN Revision: 1.0.0.1181 (local modifications found)
I am currently learning Actionscript 3.0, mainly to start developing mobile games for Android.Device central is really useful to emulate the Flash content running on devices, but I thought there was a way to test directly on the device itself via USB. Am I mistaken here, because I cannot for the life of me find any information on doing this.how to get the USB connection up, but the actual testing/debugging itself seems to be done exclusively in Flash Builder.
I am using Flash CS5, and I want to test my AS3 projects directly on my Nexus S via USB.The only guides I can find detail the publishing of Flash projects to Android, which is a fairly lengthy process. Surely there has to be a quicker way to preview content directly on your phone without having to go through the entire process of creating an APK for it?
I am working on a existing Flash project (a Flash based game), where I need to integrate social login widget Gigya. I researched and finalized using Adobe Flash Platform Services Social. The problem is, I successfully integrated that in a test Flash file that I initially prepared. But when I integrate it in the source file of my actual Flash project, I get following error:[code]in my code, but it works in my initial test Flash (a minimal file with 2 frames and no extra components), but does not seem to be working for my actual game Flash.