Java :: Fullscreen Flash Application Test Needs External Pokes

Nov 28, 2009

I'm testing a full-screen Flash application. My preference is to drive the process with Java and I've had a lot of luck with the java.awt.Robot class. I'm looking for ways of modifying the test's behavior while the app still occupies the full screen. So far, I've found one "outside control", the caps lock key. If I see the process go horribly wrong, I turn on caps lock. Toolkit.getLockingKeyState notices that caps lock is on, and the test is terminated.

I need additional ways to change test operation, like "pause test" and "next test case." It looks like I could use num lock and scroll lock, but my tests need to run on Mac OS X, Windows, and Linux, so I can't count on having those keys. This is a small operation, so it's ok if the method isn't refined. But not as kludgy as overloading the caps lock key with 5 different operations. I have no internal control of the application; I'm supposed to "test" just like a user.

View 1 Replies


Similar Posts:


Java :: Any Opensource Alternative To Squish To Test Flash / Silverlight / Java Applet Gui Objects?

Jun 3, 2011

If one doesn't have the source code, the only to test is to send keystroke and mouse move so I found this product but it's not free and opensource price is not even known :([URL] Squish supports automating interactions and testing non-HTML/DOM elements, that is, native objects, which are embedded in a web page. This is done at a fairly abstract level, which means that mouse and text input can be recorded and replayed.

In addition it is possible to inspect embedded native objects with the Spy tool and to insert verifications for these native objects. All of a native object's public properties can be accessed in test scripts.

View 2 Replies

Flex :: Execute An External EXE From AIR Or Java Web Application

Aug 14, 2009

Need to execute an external EXE from either a Java web app (running on Glassfish on Windows Server) or from an Flex/AIR desktop app.

View 2 Replies

Java :: Load External Page HTML Via Javascript Or Flash Or Java?

Nov 13, 2011

I need to load somehow the html code of a webpage A into a javascript string of another webpage B, on a different host. I know this is impossible to do with javascript alone because of the same origin policy, and I know I could do it loading the page via php on my server and then send results back to the user's client but I wouldn't be able to handle so many requests, so I need it to be done directly by the user's browser. I can use nearly whatever browser scripting language/applet framework common enough to be installed on the majority of my users' computers, like flash and java.On example, what if I use flash or java to load the external html code and then call a javascript callback function providing the source? Could this work?

View 2 Replies

Java :: Java, BlazeDS And Config File For Application?

Nov 11, 2010

I'm programming Rich web applications with Flex and Java on Flex Builder 3 using blazeDS and SharedObjects.Now I need that my program will use configuration file.so, I need that my Java class will read it at the first time but the default path of java to read and write files is c:program filesFlex Builder 3 and not my application directory inside the tomcat webapps directory How can I read the config file from the java class without write the path hardcoded in the java?

View 1 Replies

Flash :: Do Fullscreen In Facebook Application?

Mar 16, 2010

[Code]...

But what is the trick to enable flash fullscreen in facebook application ?

View 1 Replies

Actionscript 3 :: Flash/AIR Application Going Fullscreen On Launch (on MAC)?

Dec 17, 2011

I've created an AIR application in Flash CS4 with AS3, and the application needs to start up as fullscreen. I put a slight delay on the fullscreen call to get around the fact that flash won't let you start an application in fullscreen. This works fine on windows. However, on Mac, my application has an issue...

It uses this code to go fullscreen on startup: var fullscreen_delay:Timer=new Timer(10,1);// delay to bypass flash's non-fullscreen-on-startup feature

[Code]...

Putting a ridiculously long delay on the fullscreen call (5000 milliseconds) seems to do the trick. I realized this when I launched the application and immediately started mashing the space bar (my fullscreen toggle key), which kept presenting me with the same issue until after 3 or 4 seconds, at which point the fullscreen began working properly.

View 1 Replies

ActionScript 2.0 :: Make Flash Application Fullscreen?

Dec 3, 2008

How can i make my flash application fullscreen

View 1 Replies

Flash :: Java - Get Cookies From A Application?

Jan 9, 2012

I'm trying to get data from a website, but first I need to log in to the site using java. The script worked until now, but now the site installed an anti bot system. Until now the procedure was simple, I've created a HttpStreamWriter and submitted my details to the login.php page, then get the cookies and later, when I want to get data from the site, I resubmit the cookie from the login.php page, but now there is a problem: an anti bot system: I'm not sure, but I think this is the system: [URL] The anti bot system creates a cookie, called anti-bot and I can't access the page without that cookie, the problem is that the cookie is generated by a flash application only after the page loads so I can't get the cookie from the page?

View 1 Replies

Flash :: Cursor MovieClip - Application In Fullscreen Mode

Jun 17, 2009

I have a custom cursor movieClip that changes depending on which side of the screen its on in my Flash application. This works fine, and even when the Flash test window is resized. However when going to fullscreen mode, it stops working. This code is called every frame, so shouldnt the stageWidth/stageHeight adjust accordingly when going to fullScreen mode?

[Code]...

View 1 Replies

Java :: Can A Flash Object Be Exported To An Application

Mar 2, 2010

Is it possible to play a Flash object/file into a jframe < netbeans > / any java application ?

View 1 Replies

Flash :: Flex - Embedding A UI In A Java Application

Oct 10, 2010

What's out there that lets you do this? Are there any OSS projects or maybe something a little more popular than this:[URL]? This does exactly what I'm suggesting (i.e. cuts out the need for Swing UI for the most part) but for a number of reasons I'd be interested in any better alternatives. alternatives would need to support the Flex SDK.

View 3 Replies

Android :: Possible To Use Both Java And Flash In Single Application?

Nov 30, 2011

We know that, with Android NDK we can use .C files along with .java files in a single android application. Similarly, is it possible to use Adobe Flash and Java files in a single android application ?

View 2 Replies

Actionscript 3 :: Possible To Lock Mouse Inside FULLSCREEN Flash Application

Nov 16, 2011

I've done some research and determined that it isn't currently possible to lock the mouse into a flash application/game. People keep suggesting using fullscreen mode, which is great for a single monitor solution. However, I am developing applications that use 2 or more monitors, and require the mouse to be restricted to certain ones. Is it possible, when running flash in full screen mode, to restrict the mouse to staying inside the full screen app, so that it can't move to and click on other monitors?I am using AS3.I am also running these flash applications in Adobe AIR, if that makes any difference.

View 1 Replies

Flash :: Application Is Not Working Correctly After Java Update From 6.21 To 6.31?

Apr 13, 2012

e an application which is talking with Flash clients through sockets. The messages are in XML and not too long, up to 1000 chars. After the update the messages aren't received correctly at the client side - one byte is missing at the end. The first message is correct, the byte is missing from the end of the second message and the Flash stops because of the parse error.

[Code]...

View 2 Replies

Flash :: Creating A Java Policy Server For A Application

Apr 3, 2010

I'm trying to create a simple Flash chat application for educational purposes, but I'm stuck trying to send a policy file from my Java server to the Flash app (after several hours of googling with little luck). The policy file request reaches the server that sends a harcoded policy xml back to the app, but the Flash app doesn't seem to react to it at all until it gives me a security sandbox error.

[Code]......

View 1 Replies

Flash :: Java - Content In Micro Edition Application?

May 11, 2011

Despite my luddite tendencies, I now have a phone with Java support - but no Flash support. I also have a copy of Macromedia Flash MX2004, though I'm unlikely to upgrade any time soon. What I'd like to be able to do is develop some content (including vector animations) in Flash, then use those resources in a Java Micro Edition application. I don't need all features of Flash - in particular, I don't care about ActionScript support. But I do want to be able to load a SWF file (or, perhaps better, an alternative file format that can be generated using a converter tool), and to be able to display animations and use other resources (particularly play sounds) from in that file.

Is there a good library and toolkit to support this kind of thing? Obviously (from the MX2004) it doesn't need to be completely up to date. On knowledge level - I've been a programmer for decades, and my everyday language these days is C++. However, I have a very limited knowledge of Java, and virtually no knowledge (yet) of Micro Edition and its libraries. I've already heard of Flash to J2ME converters, but so far as I can see they generate complete applications in one step, rather than treating the SWF file as a source of resources to be controlled from separately written Java code.

EDIT I get the feeling that this is (with slight modifications) probably quite easy. Java Mobile Edition supports SVG vector graphics. SVG supports animations. There are (I'm pretty certain) ways to convert flash animations to SVG - probably a simple export-to-SVG in the application, though I've not checked. This in itself doesn't give me a convenient bundle-of-media resources file format, but that's a relatively simple problem to solve, so long as there's a way to "load" SVG and other media files from some kind of non-file stream class that gets its data in turn from the bundle-of-media file.

View 1 Replies

Java :: Embed Adobe Flash Player Into Desktop Application

Aug 9, 2011

How can I embed a adobe flash player inside a java based desktop application? Can I be able to load and run an on-line flash game in it?

View 1 Replies

ActionScript 2.0 :: Loading Fullscreen External SWF's Into A Fullscreen SWF?

Oct 19, 2006

What I've done is created a "fullscreen SWF" by using ActionScript to stretch a movie clip (yellow rectangle) in the background to fill the whole browser frame. The navigation is positioned in the upper left using ActionScript also; when the user resizes the window, positions are adjusted so the nav always stays in the upper left. (Adapting the technique from http:[url]....

External SWFs are loaded from an XML file into a blank movie clip on a layer that is between the yellow background and the navigation (adapting the kirupa XML Photo Gallery). Here's my problem: I want to be able to create full screen backgrounds for these external SWFs so when they are loaded into the main SWF they cover up all the of yellow background of the main clip. Also if the user resizes the window, I hope like the main SWF, the background on the external SWF can also resize to match.

If you press next twice to get to item three for example, I want to be able to stretch that orange box to fill the entire background. You'll notice if you resize the window on the third item, the orangle rectangle will adjust, it's just not correct.

View 2 Replies

Performance - Simple Flash Test Application Runs Very Slowly Compared To Exact Same Processing Applet?

Mar 3, 2011

I get a working application in Flash made that lets the user click to create blocks which subsequently gravitate towards the mouse. I made the exact same thing in Processing too, just to compare speeds.However, when I run the Flash version and add around 15-20 blocks, the framerate drops to 5-10 FPS.In the Processing version I can add ~60 with no noticeable slowdown. What's the deal, Flash?

Links to each version's source:

Flash version
Processing version

Here is the source for each in case you are a wizard and can help just by glowering at the code sternly and telling it to behave:

Flash version:

blocks.fla
import flash.events.Event;
import flash.display.MovieClip;

[code]....

View 1 Replies

Flex :: How To Test Application Using QTP 10

Dec 28, 2010

I'm wondering is there any way to automate testing of Flex applications using HP QTP 10?

View 1 Replies

Media Server :: FMS Application Creation For Test?

Oct 26, 2009

I have created a folder inside Flash Streaming Server/conf/_defaultRoot_/ called Test with some FLV in the folder. When I log into the console its shows the server and _defaultHost_ and Test but says You are not logged into:Test; make a seperate connection. Does this mean it wants a new application created for Test? How do I fix this?

View 5 Replies

Flex :: Test Vkontakte Application With Local WS?

Sep 23, 2009

I've developed a Vkontakte application by using Adobe Flex technology with WCF as my server side. The whole thing works perfectly on localhost, but after uploading it to Vkontakte - the WS doesn't seem to work and I get this error[code]...

View 1 Replies

ActionScript 3.0 :: Speed Test Application Development?

Aug 28, 2011

I am developing an application which is similar to[URL].. I need your advice on how to achive the ping and download and upload speeds. I have experience in as3, but very new to this kind of applications. can you please give your thoughts on how this application is developed.

I assume the application needs to download a file, based on the data loaded in that specific time we calculate the download speed. i am not sure about the upload and the ping.

View 1 Replies

Java :: Get Flash To Respond To External Html Events?

May 17, 2011

I want my flash movie to respond to rollover type events for links on my website. The idea being that the flash movie will provide descriptions of the links when moused over, but if the user doesn't have flash the functionality isn't lost. What's the best way to do this (if it's possible)?

View 1 Replies

Flex :: Scale Its Application Up To Fullscreen?

Mar 10, 2010

Fullscreen mode and I have been battling for a while in this Flex application, and I'm coming up short on Google results to end my woes. I have no problem going into fullscreen mode by doing a Application.application.stage.displayState = StageDisplayState.FULL_SCREEN;, but the rest of the content just sits there in the top, left corner at it's original size.

All right, says I, I'll just do a stage.scaleMode = StageScaleMode.SHOW_ALL and make it figure out how to pull this off. And it looks like it does. Except that when you mouse over the individual checkboxes and buttons and various components, they all fidget slightly. Just a slight jump up or down as they resize...on mouse over. Well, this is frustrating, but bearable. I can always just invoke invalidateSize() explicitly for all of them.

But for the comboboxes. The ones at the bottom have their menus go off the bottom of the screen, and when I pop out of fullscreen mode, their drop downs cut off half way. I have no idea how to fix that. Can someone step in here, and put me out of my misery?

What is the right way to scale a Flex application up to fullscreen?[code]...

View 2 Replies

ActionScript 3.0 :: How To Open Application In Fullscreen

Sep 27, 2010

fs_btn.addEventListener(MouseEvent.CLICK, onClick);
function onClick(e:MouseEvent=null):void {
if (stage.displayState == StageDisplayState.NORMAL) {

[code].....

View 2 Replies

Flash Application Which Has A "Fullscreen" Functionality?

Sep 13, 2010

there is a flash application which has a "Fullscreen" functionality. That simply means that there is a link within the flash application called "Fullscreen". And when you click on the "Fullscreen" link a fullscreen mode appears.Here is the flash application:Now what I want is to directly go into the "Fullscreen" flash mode by clicking on a html link (without loading the flash application before and clicking within the flash application).

View 2 Replies

Java :: Writing A Desktop Application?

Oct 15, 2009

I am writing a desktop application and trying to decide between using AIR (FLex) or Java.Some of the requirements for the application are: needing to securely connect to webservices and JMShave a very interactive UI (lots oflittle and big features)displaying videoCommunicate with a C++ applicationTo implement the web services and JMS for Flex we were thinking of using Merapi to communicate with a Java application. Does this mean we should probably go with Java or does the better graphics capabilities of Flex still make it a better choice?

View 5 Replies

Java :: Controlling A USB Device From A Web Application?

Aug 17, 2010

I would like to be able to control a USB device from a web application. I was hoping to use Adobe Flex but I don't think that Flex can support access to USB devices.Is this possible using Java applets, or a similar approach using .NET?

View 3 Replies







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