Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash


ActionScript 3.0 :: Printjob Not Working For Android?

I have a web application, wherein i am using Printjob class to print my flash content over the connected printer.

While browsing the application on web browser (desktop) it opens a print dailog box which is fine, but same application while browsing from android devices is not working..

I am publishing the content using less than the 10.2 version of the flash player.

Below is the code:

import flash.printing.PrintJob;
import flash.display.Sprite;


View 3 Replies (Posted: Apr 11, 2012 11:03 PM)

Sponsored Links:

Related Forum Messages For Flash category:
ActionScript 3.0 :: Printjob () Not Working On IE?
I got a very simple printjob that works on safari, but it doesnt work on IEAny ideas what Im doing wrong?

function printMe():void{
var my_pj:PrintJob = new PrintJob();


Posted: 06-06-2011, 12:19 PM

View 0 Replies!   View Related
ActionScript 3.0 :: PrintJob Seems To Have Stopped Working?
I embedded that (as a swf) in Captivate5 and published.It was working fine.... When I went into it today to modify some of the text it quit working. After long struggles and thne restoring the original version. I discovered that the original version was no longer working either. So sometime in the last couple of weeks this Flash AS3 file contained in Captivate5 has stopped working. The print function now produces a page that has a light gray box the size of the bounding rectangle of what is supposed to be the content (which is almost entirely text) The rest of the piece works fine and the printing function is as basic as it gets. All of what I am trying to print is contained in a single frame of a one frame movie clip:

function doPrintReport() { var myPrintJob:PrintJob = new PrintJob(); if (!myPrintJob.start()) { //printing canceled return; }else{ myPrintJob.addPage(this.report_mc); myPrintJob.send(); }}

And this was working just fine... a couple of weeks ago - Back on April 14th to be precise. This is currently living on my local IIS server on my Windows 7 64bit desktop. I have tried running it in Windows IE 8 and Firefox 3.6 - Again the original version was working and now is not.

Posted: May 3, 2011 2:14 PM

View 1 Replies!   View Related
Android :: Adobe Flash Application Is Not Working On Android Tablet
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.

Posted: Dec 2 11 at 9:50

View 1 Replies!   View Related
ActionScript 3.0 :: Get Control Over Page Margins When Working With PrintJob
I just step into the task of printing jobs in as3. All I have to do is to print the text in a dynamic text field which is in a movieclip. The text filed has a scroll bar to show the rest of the content. I am using the following lines of code to print the page.


I have also tried printArea and pageHeight,pageWidth, paperHeight, paperWidth properties. But still I am not able to control the margins of page.

Posted: Aug 29, 2011 10:12 AM

View 3 Replies!   View Related
Android :: Flash In WebView Not Working On 3.2
I am having a problem that only happens on my Motorola Xoom which I have updated to 3.2 through OTA. I have a simple application that uses a WebView to load a small html that has flash content in it. Here is the code snippet.

mWebView = (WebView) findViewById(;

I know it is correct because it can run fine on my Samsung Galaxy S running Android 2.2.

Posted: Aug 18 11 at 4:37

View 1 Replies!   View Related
Professional :: Android Flash 5.5 Debug Not Working
Just purchased Droid Charge. Trying to use it with Flash 5.5 on Windows 7 to debug an application.Computer recognizes phone USB connection (so I can transfer files...)(Menu/Settings/USB settings/Mass storage enabled)I have USB debugging (Menu/Settings/Applications/Development) feature on the phone enabledI have Unknown Sources (Menu/Settings/Applications) feature on the phone enabledWhen I Publish from Flash 5.5 I get the following message: Could not find an Android device to connect to. Please ensure that you have the phone connected,the correct drivers installed, and the phone has USB device debugging enabled.

Posted: Jul 18, 2011 1:01 PM

View 6 Replies!   View Related
Actionscript 3 :: Flashvars Not Working On Android Browser
I have a flex app that I need to pass FlashVars into. It works great on desktop browsers(chrome, firefox, ie) but for some reason the flashvar is always undefined when i load it on my Android browser(webkit on a droid incredible).

Has anyone successfully passed flashvars into a swf on an Android Device?

Posted: Feb 5 11 at 16:06

View 1 Replies!   View Related
Professional :: VideoEvent.COMPLETE Not Working For Android And IOS Publishing?
I have a project that I want to port to mobile platform on Android and iOS.The project uses a v.addEventListener(VideoEvent.COMPLETE, completePlay) handler to detect when video is finished playing and trigger the next action.

The project is running perfecty when publishing for Air or Flash Player 9 and above.However when just changing the target player for publishing to Air for Android or iOS the following error occours:Access of possibly undefined property COMPLETE through a reference with static type Class.

Posted: Jun 2, 2011 9:45 AM

View 1 Replies!   View Related
Android :: Flash - Keep The .apk Files On Phone For App To Continue Working?
A considerable amount of space is used up by .apk files on my phone with apps which cannot be moved to the sdcard (Adobe Flash and Google Maps). In those directories, there are .apk files. Can I delete these to save space and have the application work as it did before?

Posted: Jan 28 11 at 8:16

View 3 Replies!   View Related
Android :: StageWebView Not Working On Samsung Nexus Device
I have following code And it is working fine in AIR device simulator on my desktop. But when I install it on device(samsung nexus with Android 2.3) it is loading nothing.

import flash.geom.Rectangle;
var wv:StageWebView = new StageWebView();
wv.viewPort = new Rectangle(0,0.stage.width,stage.height);
wv.stage = stage;

Posted: Feb 9 at 5:52

View 1 Replies!   View Related
Professional :: MouseEvent Not Working On Android Touch Screen Tablet
I recently discovered that the MouseEvents in my Flash animations aren't working on touch screen Android tablets. Is there some extra code that I need to add to make this work? There's an example at [URL]. My other issue is more of a web design issue, but the animations are not placed correctly on the webpage.

Posted: Dec 13, 2011 1:03 PM

View 2 Replies!   View Related
Android :: Flex DropDownList Working Weird In Mobile Devices?
I try to use spark DropDownList Controller for flex mobile project but its not working properly. Is there any alternative solution available?

Posted: Jul 15 11 at 18:02

View 2 Replies!   View Related
Flash :: Air Android App Always Launches In Portrait Mode Irrespective Of The Way The Android Device Is Held?
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.

Posted: Jan 25 11 at 10:21

View 1 Replies!   View Related
Android :: Android Tablet Browser Flash Movie To Landscape When In Fullscreen Mode?
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?

Posted: Oct 28 11 at 17:52

View 1 Replies!   View Related
Android :: Capture Video And Stream It To Flash Server On Realtime In Android?
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?

Posted: Mar 14 at 14:05

View 2 Replies!   View Related
Android :: Frame Rate Is Very Low For Android Game Developed By Flash CS5?
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.

Posted: Dec 29 10 at 18:11

View 1 Replies!   View Related
Android :: Flash Inside Android WebView - How To Set Fullscreen Automatically
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

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


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.

Posted: Apr 14 11 at 1:21

View 1 Replies!   View Related
Access Front Camera In Android Devices Using Flex-android?
There are samples to show how to access front camera of android devices using android sdk.

Posted: May 17 11 at 11:32

View 1 Replies!   View Related
Android :: Performance - Taking Too Much Time To Finish The Activity In Android?
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.

Posted: Jul 20 11 at 6:12

View 1 Replies!   View Related
Android :: What Versions Of Android And IOS Is Adobe AIR 3.0 Captive Runtime Compatible With?
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.

Posted: Nov 16 11 at 6:40

View 2 Replies!   View Related
Android :: Eclipse Can't Locate Android.webkit.WebSettings.PluginState?
I am trying to load a flash in a webview using the codes below


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?

Posted: Dec 12 11 at 12:08

View 1 Replies!   View Related
Flash :: Android - Playing SWF Files Locally From Android Webview
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


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.

Posted: Feb 21 at 16:39

View 1 Replies!   View Related
Android :: Install Adobe Flash On The Android Emulator?
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?

Posted: Sep 14 10 at 20:26

View 5 Replies!   View Related
Android :: Away3DLite On Android Objects Doesn't Appear On The Screen?
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:


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

Posted: Mar 16 11 at 5:16

View 1 Replies!   View Related
Copyright 2005-08, All rights reserved