ActionScript 3.0 :: Image Processing In Flash (flex)

Oct 30, 2010

Is there a way to process a picture > 4096 x 4096 px in pixel bender? Or any other technique?

View 3 Replies


Similar Posts:


Flash :: Flex - Client-side Image Processing?

Sep 20, 2011

I'm creating some image uploader in Flex with client-side image processing. Processing consists of two steps:
1. Resizing (solved)

2. Converting resized image (represented by ByteArray in PNG32 with alpha-channel) to gray-scale PNG with bit-depth = 2 and no color-palette. Is there any existing library that is capable of second step? Something like libpng for C++, maybe?Edit:It seem I stumbled upon rarely encountered problem. However my descision was to create an AS3 class that is capable of converting bitmapData to 2bit grayscale PNG. I used standart PNGEncoder and PNG format specification (which is not so good as I expected) as basis.

View 1 Replies

Flash :: Client - Side Image Processing - Creating A PNG Image From A PDF File

Feb 1, 2010

We're building a web-based application that requires heavy image processing. We'd like this processing load to be on the client as much as possible and we'd like to support as much platforms (even mobiles) as much as possible. Here's the info: Image processing is rasterization from some data. Think like creating a PNG image from a PDF file. We don't have a lot of server power. So client-side processing is a bit of a must.

So, we're considering: Flash - most widespread, but from what i read has lackluster development tools. (and no iPhone/iPad support for now). Silverlight - allows us to use .NET CLR, so a big ++ (a lot of code is in .NET). But is not supported for most mobiles ( rumored android support in the future) HTML5 + Javascript - probably the most "portable" option. The problem is having to rewrite all that image processing code in Javascript.

Clarification: I don't need further ideas on what libraries are available for Silverlight and Javascript. My dilemma is choosing Silverlight means no support for most mobiles choosing Flash means we have to redevelop most of our code AND no iPhone/iPad support HTML5 + Javascript we have to redevelop most of our code and not fully supported yet in all browsers choosing two (Silverlight + Flash) will be too costly Any out-of-the-box or bright ideas / alternatives

View 14 Replies

ActionScript 2.0 :: Image Processing In Flash

Dec 21, 2004

I want the flash movie to allow the users to apply image processing functions on the jpg files that would be loaded by them..

View 4 Replies

Image Processing - Loading .bmp And .tiff File In Flash 10 Using Loader?

Jan 21, 2010

I am developing a Image uploader using Flash 10. I am using Filereference object to browse images and Loader to show the image:

Sample code:

var tempFileRef:FileReference = FileReference(ev.target);
var oLoader:Loader = new Loader();
oLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onImageLoad);
oLoader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, onIOError);
oLoader.loadBytes(tempFileRef.data);

It works fine with .jpg and .gif files but when I browse .bmp or .tiff file, I am getting the error:

Error #2124: Loaded file is an unknown type.

Is there a way to load and display browsed .bmp images from desktop?

View 2 Replies

ActionScript 2.0 :: Allow The Users To Apply Image Processing Functions On The Jpg Files That Would Be Loaded By Them

Dec 21, 2004

I want the flash movie to allow the users to apply image processing functions on the jpg files that would be loaded by them....

View 4 Replies

Flex :: Flex Causes Browser Unresponsive When Processing Large Amount Of Data?

Jun 29, 2011

I have an actionscript function which is supposed to launch a panel and then fill in Networktopology data inside it.As, network data is too large that it consumes much time and makes browser hang!Even I tried to display busy cursor which also stopped spinning when data was being processed.How can I ensure processing large amount of data does not hang the browser.

View 3 Replies

Flex :: Audio - Recording From Microphone From Within The Browser Using Flex Or Processing?

Jul 24, 2009

A groups of friends are working on a little game that would listen to the microphone as part of the interaction. We've tinkered with processing and flex. What we'd like to know is if anyone has succeeded in:

recording from the microphone using a web app

performing an FFT on this microphone data

In the case of flex, according to the docs "Because sound data from a microphone...do not pass through the global SoundMixer object, the SoundMixer.computeSpectrum() method will not return data from those sources."[1]

View 2 Replies

Flex :: Check To See If CallResponder Is Processing?

Apr 11, 2012

I'm using Flash Builder 4.6. As a simple example, say I have the following application:

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:sdk="services.sdk.*">

[code].....

View 2 Replies

Actionscript 3 :: Flex: Processing Xml, Before Using It In Datagrid?

Aug 12, 2009

I have following problem: My webservice application returns xml data in following order:

<my_claims>
<claim>
<opponent>Oleg</opponent>
<rank>2000</rank>

[Code]...

View 3 Replies

Flex :: Pre-processing Data Before Showing It In AdvancedDataGrid

Jun 8, 2010

I want to extend AdvancedDataGrid to show a Waterfall Chart in one of its columns.

To do that I already created custom cell render that shows bars as I need.

Now I have a little challenge: I have to pre-process data to show my Waterfall Chart properly. I have to do it before my grid is show. So, I assume that I have to extends AdvancedDataGrid and overwrite some methods.

View 1 Replies

ActionScript 3.0 :: Flex Delayed Message Processing?

Aug 6, 2009

I've been working with a 3rd-party multiplayer engine for a game I'm developing. A lot of messages get sent during certain times (loading, etc) to the point where it is possible that multiple messages may be sent per gameloop. To solve this problem, I am attempting to create a delayed message processing scheme. this function is invoked every time a new message is received:

Code:
// called by the Client
public function PushMessage(gameMsg:GameMessage):void
{
messageQueue.push(gameMsg);
}

And at a point in the gameloop, I want to process these messages and clear the message queue. The only problem: there is no assurance that the messageQueue won't be modified during that time. The messages in AS3 are basically interrupts (possibly overlapping), and I can't find any way to temporarily disable event dispatching for a specific EventDispatcher-derived class.

So at this point I can think of only two options. The first is to write a mutex using a Boolean and setTimeout. I do not want to do this for obvious reasons (bad! BAD!). The second is to give up on a delayed processing model.

View 6 Replies

Flex :: Adobe - UI Processing Data And Displaydata In One Thread?

Mar 10, 2011

As I know. Flex/AS is single threaded.I want to write an application that talking to server side, also display the data streamed from server.Since Flex is single threaded. I am not sure how could I do this.Better not involve something like "implement your own multi-thread model"

View 1 Replies

Actionscript 3 :: Deployed Flex Applet Not Processing Web Service Results

Nov 20, 2010

When I test my deployed app in a browser the popup window continues to be displayed even after it should be closed. Everything works as expected when debugged in Flash Builder 4.

Following is currently what's happening: the request is sent to my restful web service, which processes the request, (seemingly) the ResultEvent is called which in turn dispatches the profileEvt dynamic event that changes the view state. However, the popup window does not get closed and the applet gets 'stuck.'

Below are the flex applet web service event listeners/handlers:

webService.addEventListener(ResultEvent.RESULT, function(event:ResultEvent):void
{
var rawData:String = String(event.result);
var profileEvt:DynamicEvent = new DynamicEvent("profileSaved", true);

[Code].....

View 1 Replies

Java :: Moving From Processing To Flash CS5?

Jan 31, 2011

I've been using Processing for around two years now, and I really like it. However, I feel like Flash is a bit more useful for coding games, as it's more universal and flexible. I'm starting to feel like I have no idea what I'm doing, and I really don't get any of the concepts like movie clips and the stage and so forth. In Processing, to make, say, a ball, I might make this:

Ball[] ballArray = new Ball[ 0 ]; //Array to store each ball in
void setup()
{
size( 400, 400 );

[code].....

And that would let me create as many instances as I like, anywhere I like.I haven't the faintest clue how to make a comparable applet in Flash.I've tried making a 'ball' class in a separate .as file, but it gives me an error about too many arguments. I also don't know how to draw a shape directly to the screen.

View 2 Replies

Flash Movie Play - Processing A Delay

Feb 15, 2010

I'm working on a Flash intro for a site. After the Flash movie plays I want it to wait three seconds and then send them to the index page. Currently I'm using the action script:

[Code]....

I've got that keyed to the last frame. The issue is at the end of the Flash movie it displays the company logo image. Well with that script added to the last frame it just quickly blips up the logo then takes you to the main page so fast you don't even get to really see the logo. I want the viewer to have a couple seconds to take it in, but then move them along to the main site without them having to look for a button to press.

View 3 Replies

Flash :: Inputting Equation In Textfield And Processing It?

Apr 3, 2012

I would like to know if theirs a way where you can type in a text field something like "5*5".

And then on enter, the document would take the database and be able to return 25.

I am quite confused due to the fact that content that you input into a textfield must be a String and when you use the Number() converter the system gets confused.

View 2 Replies

Flash :: Suitable Is For Handling Audio Processing?

Jun 30, 2010

This is not a specific question, instead I'm trying to get an idea of flashes capabilities. I'm building a website that has an Mp3 upload component on it. Serverside I can use the command line audio tool "SOX" for most of my heavy lifting but I'd like to offload some of it onto a flash client. Essentially, client side, needs to be able to do the following: User selects an mp3 file off their harddrive. Render it as a waveform. Display a scaled indication of 30 seconds of the waveform that the user can drag backwards and forwards. This will record a start time. Upload either the full mp3 or just the selected start time plus 30 seconds.

I've never programmed anything in flash before so I'm not really sure what it's capable of.

View 1 Replies

ActionScript 2.0 :: Credit Card Processing Using Flash?

Sep 21, 2010

I want to process the credit card details within a flash/swf based form.

View 2 Replies

ActionScript 2.0 :: Processing Input Textbox Flash 8?

Nov 4, 2004

I have an input textbox, say instance is "inptxt".I'd like to "search" the text inputted by user, e.g. search for letter "e", if user enters "hello", replace all "e" with "s".Idk how to process inputted text...example.fla After looking at the example, you will see that I am trying to do the following:

Code:
var user_input:String = "";
//Create var for inputted text.
var changedtext:String = "";

[code]....

I bolded the part I am actually having trouble with (it's 1 line).

View 14 Replies

ActionScript 3.0 :: Batch Processing Flash Files?

Jun 1, 2011

I'm working on an interactive company, and for each campaign we create dozens of loaders. A loader is a simple flash file contains the following elements:* few lines of code for eRate (counting how many clicks have been done on a banner)* a loader for the source banner from "http://....host.../..../" + w,h + ".swf"* a button that tells what happens when a banner is clicked (different portals as us for different scripts)Is there a way to automate the process of making such files? it takes a 1 minute to make 1 swf, but the amount of loaders make the work a bit longer.I'd like to see an application that asks for a list for sizes + eRate code for each one and the URL for the source banners.

View 7 Replies

ActionScript 2.0 :: Processing TextBox Input Flash 8

Jul 28, 2011

I have an input textbox, say instance is "inptxt". I'd like to "search" the text inputted by user, e.g. search for letter "e", if user enters "hello", replace all "e" with "s". How to process inputted text. I attached an example, I am trying to do the following:

Code:
var user_input:String = "";
//Create var for inputted text.
var changedtext:String = "";
//Create var for edited text.
user_input = inptxt.text;
[Code] .....
I bolded the part I am actually having trouble with (it's 1 line).

View 6 Replies

Http :: Flash - Make A POST Request From Within Flash To Processing Php Page?

Nov 6, 2009

I basically have a form inside of Flash that I need to submit to a server-side processing page, which will then return either json or xml telling if it succeeded or not ( json, xml I suppose ). My version of Flash is CS4 and I'm wondering if there are any libraries or frameworks I can use to accomplish this.

View 2 Replies

Actionscript 3 :: Convert A Processing Sketch To A Flash File?

Nov 10, 2011

I'm trying to convert a processing sketch to a flash as3 file, and I'm getting hung up on two of processing's commands - pushMatrix() and popMatrix() - how to convert these in flash?

Essentially I just need to store the matrix of lines I've drawn so far and draw a new line, and this gets done recursively. Here's my code:

var theta;
var xpos:Number = 0;
addEventListener(Event.ENTER_FRAME,draw)
function draw(e:Event) {

[Code].....

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

Java :: Flash Upload IOError #2038 After Successful Server Processing

Nov 3, 2010

I built two flash uploaders using actionscript 3 & actionscript 2 that sends files to a java servlet. The java servlet successfully receives that file, but the flash uploader fires an IOerror #2038 instead of a complete event.

There was another question is my exact same problem, but the answer "clear the cache" was very broad, and the question owner was too lazy to give a detailed description.

[URL]

View 2 Replies

Actionscript 3 :: Flash Pixel Bender: Number Crunching For Audio Processing

Nov 10, 2010

I've seen some example of using a Pixel Bender for mixing two tracks together (per shader passes). However, would it be technically possible to write a Pixel Bender kernel that could do this?

[Code]...

View 1 Replies

Flash :: External Audio Processing Technology Player Interact With In Realtime?

Apr 3, 2012

There may be more than one answer to this, but I'd like to know if there's some technology out there that exists to handle Audio Processing / Playback in realtime, so that Flash can:

Interface with the technology / plugin to generate sounds with no delay or lag. Apply DSP effects (Reverb, Delay, Dynamic Range Compression / Expansion, Distortion, etc). Manipulate DSP parameters in realtime (sweeping an EQ filter's band or Q).

The most important thing of all, would be for this technology to be available to most users, as it would likely be used for Gaming environments or online Audio production, even. So far, Flash has a few ways to manipulate Audio Data, such as the SampleDataEvent, Andre Michelle's Popforge library, chiptune libraries like SiON, and possibly some other unheard of libraries.

I'm not really convinced though, that these methods are the optimal ways to create interactive sounds - sounds that change depending on game conditions, sounds that closely responds to the users actions. Nothing (that I've seen so far) easily allows developers to create or communicate with a DSP effect in order to manipulate the sound in this way, in realtime.

I know that Flash has the ability to communicate over sockets / ports, so perhaps there is an existing library that can communicate with an external plugin, and can be easily distributed to users at the same time.

Is there such an audio solution out there?

View 1 Replies

Flex :: Get Updated Image In Flex Image Control After Changing Source Not Name Of File (image)?

Jan 25, 2012

I am changing image through flex every time i change it saved into server directory with same name(which i am referring to show). So when i refresh my page my browser didn't send new request to server since it's already in request.so didn't getting new image.Tip:- when i clear browser history it will come with new image

View 2 Replies

ActionScript 2.0 :: FileReference Class - Pass Images To Php/imagick For Processing And Then Back To Flash As JPG?

Mar 20, 2010

I'm using the FileReference Class under AS2 to pass images to php/imagick for processing and then back to Flash as JPG. The AS is based largely on the Adobe examples here: Adobe Help.Its all working fine across various platforms except that filenames which include spaces never make it to the server - turns out thats about 10% of the images folk are attempting to upload.

View 3 Replies







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