Javascript :: Using Greasemonkey Script To Automate Flash Application?

Dec 10, 2010

Is there way to simulate click on a flash application using Greasemonkey script? I need to test a flash app with lot of permutations and combinations. Traditional approach of using ExternalInterface wont work because it is too cumbersome to add the callback.

View 1 Replies


Similar Posts:


Flex :: Automate Testing Of Application?

Mar 25, 2011

I want to automate testing of flex application. I have heard that Flex provides with classes that help you automate the testing. But I don't know where to find them and how to use them.

View 3 Replies

ActionScript 3.0 :: Automate Key Press Event In Mobile Application?

Jul 6, 2010

I want to know how to automate a key press event in a mobile application (Flash Lite). i.e. the key press event should get emitted automatically without pressing the mobile key manually.

View 0 Replies

ActionScript 2.0 :: Automate Key Press Event In Mobile Application?

Jul 7, 2010

I want to know how to automate a key press event in a mobile application (Flash Lite). i.e. the key press event should get emitted automatically without pressing the mobile key manually.

View 0 Replies

Javascript :: Use HTML/JavaScript And Flash To Build An Desktop AIR Application And Publish It From Flash?

Feb 16, 2011

Is it possible to make desktop Air application by using HTML/JavaScript and Flash?Actually I want to make an Air app (which is for desktop) by using flash and want to use HTML , javascript and CSS as well.Is it possible ?

View 1 Replies

Javascript :: Best HTML/JavaScript Framework For A Flex Application?

Oct 23, 2009

We're currently building a Flex application using the PureMVC framework with a shell.swf which loads/unloads modules dynamically. We're experiencing issues with memory and we're looking to replace the shell.swf with a JavaScript-based loader.Two questions:What would be a good framework to dynamically load the Flex components and allow the modules to communicate between each other?Would dynamically loading/unloading the modules via JavaScript take care of the typical memory problems associated with Flex/Flash applications?

View 1 Replies

Javascript :: Srollbars For A Flex4.5 Application In Application And Browser?

Nov 8, 2011

I'm developing a Application in Flash Builder 4.5 to control an server application, also not a classical Website. All is Spark and I set the minHeight and minWidth-Properties for the , because i have an Image and Navigators, and there becomes a strange effect, when the browserwindow is sliding smaller that the min-Properties.The content and there scrollbars are already controlled over the parent containers, thats not the probelm.

Summary: What i expect from a upToDate-Application is:When the Browserwindow is larger than the min-Properties, but too small for the content, the Application respectively the container should control the scroll bars.If is the Browser-Window smaller than the min-Properties, i expecting scollbars from the browser. I think, in this case, the html-wrapper needs knowledge about the min-properties.

View 2 Replies

Javascript :: Load A Flash Before Application Starts?

Sep 4, 2011

I want to load a little flash video before my application starts, so people can see my website logo before using my application. btw I make my apps with Javascript, HTML5 and CSS

View 1 Replies

Flash :: Persist Application Data Via Javascript Between Browsers?

Feb 23, 2012

I'd like to persist a list of favorited items for all browsers on the user's machine.

Cookies are too volatile, and localStorage, while useful, does not move between browsers.

Are Flash's Local Session Objects my best bet?

View 1 Replies

Flash :: Jquery - Application Losing State After Displaced To Another Div By JavaScript

Jul 29, 2010

I've a simple flash application that does counting on button click. I load it in a page and a javaScript code does some DOM manipulation to move it from one div tag to another. Problem: the state of the count is not preserved as the swf node is moved from one node to another. What I did:

I simply get the node using javascript getElementbyId function and then once I get the source and destination div nodes then I use destinationNode.appendChild(sourceNode); //javascript This works well in Internet explorer, but it doesn't work in Chrome and Firefox. So then I tried prototype library.

[Code]...

View 2 Replies

Javascript :: Create A Multiple File Upload Flash Application?

Dec 30, 2011

I am trying to create a multiple file upload flash application to be called from an External Interface, but it isn't working.

AS3:

var fileRef:FileReferenceList;
ExternalInterface.addCallback('selectFiles', showDialog);
function showDialog()

[Code].....

When I run the script and comment out the fileRef parts and uncomment the alert call, it shows the alert, also when I comment out the ExternalInterface call, leaving only the fileRef parts, it shows the file upload dialog.

When I run it as intended, I get the following error:

Error calling method on NPObject

View 2 Replies

ActionScript 3.0 :: Calling Flash Application With Javascript For Batch Processing?

Oct 8, 2010

I'm working on a cartoon series in the uk and we use flash, 3d and after effects. I'm building a little pipeline tool to help us compositors do your job (there's hundreds if not thousands of files to be comped for a great number of shows)anyhow, we use flash for the 2d animation and we need to extract pngs. Right now it's a process I can't streamline (ie compers still have to have flash opened to choose which layers to export manually) but I'd like to be able to open flash and launch a specific javascript file ('command')

View 4 Replies

Javascript :: Put Silverlight Application Inside Flash File(swf - Browser Independet Which Run With Flash Player)

Sep 30, 2010

i have created a silverlight application , but i need to embed it to a Flash file(swf) which it runs with Flash Player ( whithout using browser), I had found a solutions to call it using javascript, but it still needs my flash file run inside the browser, dose any one can help me, Either to run js inside swf (without need of browser) or any other way that i can embed my Silverlight application inside Flash.

View 1 Replies

Javascript :: Detect When Key And Mouse Events Occur Inside Of A Flash Application?

Mar 5, 2012

I've some very old Flash applications, which we don't want to rebuild to add a new feature. We simply need to detect when the user has become idle. So, if the Flash application receives no key or mouse events after 3 minutes, we want to track that time till the user interacts with the application again.

We've considered wrapping the applications in newer Flash applications to include the key/mouse event tracking; however, early research shows that some of our apps are so old that they use event systems or AVM's (ActionScript Virtual Machines) that are incompatible. Also, it seems that mouse events on the inner application don't bubble up to the outer application. (I think the direction of event processing is backwards in versions of Flash prior to 8)

Anyhow, the next idea on the table is to see if we can determine when the user stops interacting with the old Flash applications using JavaScript. Can anyone confirm whether or not it is possible to detect, using JavaScript only, when a swf in an HTML document loses focus or key and mouse events stop and start occurring on the swf?

View 1 Replies

Flash :: Automate Testing In Flex?

Mar 25, 2011

Possible Duplicate: automate testing in Flex I want to automate testing of flex application. I have heard that Flex provides with classes that help you automate the testing. But I don't know where to find them and how to use them.

View 1 Replies

Professional :: Automate Flash Apps And Games?

Dec 17, 2010

I was wondering if its possible to automate games and apps that have been written in flash.
 
For example.
 
Suppose a simple card game was written in flash. To automate it I would need to
-read all of the values of all labels on the screen. -figure out the location and identity of active objects like buttons and text boxes.
 
I suppose these values could be passed to some kind of executable flile running outside the browser which would then move the mouse and click the buttons as desired.
 
Mabey there is a better way of doing this ?
 
I tried running flash apps in Firefox with firebug and fireflash installed to see if I could see what was going on inside the flash files. It didn't work. Mabey debugging has to be enable inside the files themselves which is no use if they are owned by somebody else.
 
Is it possible to automate a gmae somebody else has written in flash ?

View 4 Replies

Ruby :: Any Way To Automate Testing Of Flash Within Webpages?

Sep 15, 2011

I am attempting to test several web pages built in Flex, and need to automate clicking on several videos through the Flash interface. I'm using Ruby and Watir-Webdriver, but I'm not sure how to interact with Flash using them.

View 1 Replies

Loadtest - Automate Clicking A Button On A Flash Menu?

Jul 30, 2010

I would like to be able to click a button on a flash menu, programmatically.

This means, unfortunately, that tabbing over to it or hard-coding the X and Y coordinates of the button will not work (due to using multiple threads, neither of these approaches works while running in the background).

I tried doing this with Javascript, but automating it that way does not work because the individual items are inaccessible in Flash.

The reason I'm asking is because I'm attempting to load-test our application which interacts with a flash menu in order to build a report. From what I can tell, the low-end or open-source load-testing utilities don't offer much support in the way of flash navigation.

View 1 Replies

ActionScript 3.0 :: Batch JPG To Vector/Automate FLASH Authoring

Jun 15, 2010

I would like to be able the batch a bunch of JPGs and turn them into simple 1 or 2 frame vector swf files. I would like to be able to use the flash trace bitmap option as it does the best at what i'm trying to do. If i where using in photoshop i would use a script to do but i don't know how for flash.

So here is an outline of what i am ultimatly trying to do.

I have a swf called "page" page has two layers to it. layer one has some buttons and AS and Layer two is empty. I would like to batch a collection of 3000 images, all jpgs, and convert them into 100% vector and insert that vector in to layer two and save that swf as "original jpg file name.swf"

View 1 Replies

Flash :: Automate Testing Of A Website, Major Parts Of Which Are In Flex?

Oct 7, 2011

I'm looking for a good solution to automate testing of a website, major parts of which are in flash/flex.

The preferred language is c#, but I wouldn't mind java, python or php if the solution on any of those languages is better (meaning, easier to write on, less bugs and more tutorials and samples).

What is the best framework around for flash automation in my case?

View 1 Replies

Flash :: Automate Authentication Via Adding The Username / Password In The Profile XML Of Media Encoder Live (3.2)?

Feb 28, 2012

Is there a way to automate authentication via adding the username/password in the profile XML of flash media encoder live (3.2)? I'm not referring to the command line parameters, but placing a tag in the xml file that contains the username/password for both the primary and backup server.

View 2 Replies

Javascript :: Redevelop The Application So That The SWF?

May 31, 2011

Previously I'd worked on a flash application that would be embedded into a webpage at 100x20 that loaded a graphic for a button based on XML. When the button was clicked, the application would go full-screen via AS3. stage.displayState = StageDisplayState.FULL_SCREEN;

This worked great - the application went full-screen as expected. Today I need to redevelop the application so that the SWF will launch full-screen via JavaScript (so that they can add the launch functionality to a link and whatnot).

I moved the above code from the _click(e:MouseEvent) function and placed it straight into the constructor of the application document class. However this doesn't work when it's embedded on a web page? When I open the SWF on my PC it works fine (launches into full-screen straight away). Just doesn't wanna happen when it's on a web-page.

[Code]...

Which obviously just appends the object to the page. Is there another way I can go about this? Or am I just missing something simple? I'm guessing the reason is that full-screen is blocked unless it's user-initiated.

View 1 Replies

Javascript :: Embed Module Within Flex Application?

Mar 15, 2010

I have a large module written in JS which uses Canvas to draw and animate trees. This module was written for a product which is now being migrated to flex.

Is there a way in flex to embed this JS module as is? Or would I have to rewrite the whole module in AS3 (shudder)? Further, if embedding is possible, would user interactions (mouse clicks) etc. work seamlessly?

An example of the tree structure I am talking about can be found here - [URL]..

View 1 Replies

Calling JavaScript Function From Flex 4 Web Application?

Oct 19, 2010

I need to call javascript function from Flash 4 based web application. When I run it in Debug mode it runs perfectly but when I make release build or run same application on other machine it does not call JavaScript function.

[Code]...

View 2 Replies

Javascript :: Creating A Web Based Phone Application Demonstration?

Mar 17, 2011

I would like to create a demonstration through a web browser of our phone application. I can us Flash to create the demo but I want to avoid using Flash for compatibility reasons. I was thinking I could use HTML + CSS + JS. I want to know if anybody else have experience with this. I am open to the idea of using HTML5 but need to be pointed to the right direction to research.

View 1 Replies

Javascript :: Embedded A HTML-enabled Editor On Top Of Flex Web Application?

May 11, 2010

How do I embedded a HTML-enabled javascript editor on top of Flex web application? FCKEditor is not free but any free editor with basic toolbar will do?

View 1 Replies

Javascript :: Disable The Browser's Minimize Button When Launching Flex Application?

Mar 14, 2011

How can I disable the browser's minimize button when launching my flex application?

View 1 Replies

Professional :: Automate From One Slide To Next?

Dec 1, 2011

I built a functional flash header, that has slides in it with various images. The user can see the main image, and then there are 6 thumbnails that they use to click on to change slides or images.

I am trying to figure out how to automate those slides, so they "automatically" flash though, with an interval of 4 or 5 seconds, then the next slide. (above image are the slides I need to automatically go thru).

Looking into my files, I think I should just be able to apply some actions to each slide, however all the code I tried has been a failure.

So in a nutshell, I have a flash file that has image that move when clicked, and I am trying to have that automated so the slides/image slide automatically.

View 7 Replies

ActionScript 3.0 :: Automate Lines In The Main.fla?

Dec 9, 2009

main.fla: this file has 1 movieclip centered on the stage named "box"

Code:
import flash.events.*;
var upKey:Boolean;
var downKey:Boolean;[code].....

What I'dd like to do is automate the following lines in the main.fla;

1: var dtime:dTime = new dTime();

2: dtime.updatedTime();

My question is how I automate them?

View 6 Replies

How To Automate Saving Single Swf Files

Sep 30, 2009

I'm a newbie...it will be obvious I'm sure. This is what I'm doing.... 01. I take a PowerPoint slide show and convert it to an. emf (MetaData) PowerPoint show in power point. ( an aside...I have used enhance MetaData and regular MetaData and haven't noticed any difference. No biggie I guess)

02. I then load the Flash CS4 stage with the .emf PowerPoint slide show.

03. Do some clean-up.

04 I then must save individual .swf files of the timeline. ( I notice there doesn't seem to be a key board stroke for Export Image... that seems weird)

05. I do all the mouse clicks and save the .swf's in a folder. For 80 or more slide per show this is very tedious I must say. Clicking, numbering, saving, advanceing, clicking, numbering saving...etc. I typically end up with a folder with ...Slide_01, Slide_02, Slide_03 etc. which is what I want.

What is the best way to automate this process? I'm not a programmer, but is a Macro program what I need. Or is there a way in Flash to simplify this process ..of course I'm not a programmer.

View 2 Replies







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