flash

Fun project -- can you hook flash?

So my wife is hooked on playing bejeweled on FaceBook. Whenever I watch her play (and she's pretty good) I think man I bet I could write a pretty sweet algorithm that would put up a really good score. So more than anything, I guess I need to know, if there is anyway to observe the UI hooks in Flash from either in the browser with JavaS...

Generate an SWF from an ActionScript source automatically, to be called from JavaScript

I have some data-crunching code implemented in ActionScript, and I'd like to call it from JavaScript. The related question http://stackoverflow.com/questions/460242/interacting-with-actionscript-2-0-using-javascript mentions the blog post http://blog.circlecube.com/2008/02/01/actionscript-javascript-communication/ which tells me how to d...

Flash on top of jQuery dialog

Hi, I know many have asked this question, but I think my situation is a little bit different. I have a site where I have some ads which is Flash hidden in a because of xhtml/html compatibility issues. But the flash elements is on top of my jQuery dialogs which is not ideal. Some solutions have suggested setting wmode to opaque but I ...

Loading flash videos into div with ajax

Hi, I have a client that wants to be able to select from a playlist of video thumbnails and it replaces a video that is on the page already. I also need to watch loading times, so thought it would be better requesting each video if and when it's clicked with ajax? I'm new to ajax so not really sure if this is the best option. My page i...

how to drag and zoom big movieclips on flash? (like googlemaps - withouth the +- buttons)

that's about it. I want a big movieclip or image to be dragable around the screen like a map. i'm very new to actionscript so please be descriptive. thank you in advance ...

Using ZeroClipboard with Dijit.Menu to provide copy functionality

Hi, I have a webapp that (did) allows text to be copied using zeroClipboard, using a Dijit.Menu, by right clicking. The problem is that Flash 10 needs the user to click on the actual Flash applet to allow this to happen now. I have tried to use the ZeroClipboard.glue() method to 'glue' the swf to the menu item but am having no success...

handle flash application update

Hi We build a Flex/J2EE application deployed in several site. When we update the application, we warn the client, shutdown tomcat, do our stuff, and warn the client client again that he can go back to work. For now, it's fine : BUT, some of the client forget to restart they browser. So the .swf ( the flash part ) of our application rem...

Efficient way to communicate between Flash and MySql?

What is the best/fast/efficient way of communicate between Flash and MySql? I have a multi-players online game using Flash-php-MySql, it seems like when I reach 5 or more players, the game is laggy. And I believe that problem is because of request and response from MySql through php. I am using URLRequest, Post method in AS3 file. I tri...

How does the preloader work in as3?

I've read multiple examples on this, but I just don't get how it works. How does the class know it's THE pre-loader? How does flash know to load one class but not another? How much can I do in a preloader? :-p I'm using FlashDevelop atm and it's generating the project for me - however, from all the examples I checked they didn't expl...

Cut Sound of an Embedded Video

Hi , I load a swf who contains flv video. I try to modify volume of sound but I don't know how do it... Is there an netStream with soundtransform ? Any volume property ? Any idea ? Regards, Mathieu B. ...

Actionscript TCP Socket failing to send message for some people

I've written a socket server which communicates with my actionscript 3 flash game using the Socket class. This is a TCP connection, which I thought would mean that it is 100% sure that the sending message will be received by the server as this is done low-level. So, if it would fail to send it would resend the message. This does seem to...

How to compile a SWC file with mulitple namespaces

Hi, I'm trying to compile an SWC file from a list of given ActionScript classes. I'm using the compc compiler. The problem is that there are so many classes grouped into multiple namespaces that I am finding it very tedious to specify each individual class to be included in the SWC. Is there any easier way of doing this like just simpl...

How can I create a flat marker in Google maps 3d flash api?

When using map3d, the default marker creation is always perpendicular to the viewport. How can I create a marker that lays down flat against the map? I can't use GroundOverlay because it becomes overly tiny when the map is zoomed out. How can I create a matrix3d object that will rotate/scale/skew my Marker's foreground DisplayObject s...

How to combine red and green channels into a blue channel?

I'm porting a DOS game to AS3. I need a way to specifically format my sprite files. I need to know how to take a 256-colour paletted PNG, and save a (presumably) 32-bit PNG, where all three colour channels are summed to the blue channel only - so all colour information is contained only on the blue channel. I plan on modifying an AS3 P...

Java marketshare: what version of Java runtime do most people have? Do I need to use Flash to get 90% possible marketshare?

My friend and I are planning to build a simple chat client to let people in a (physical, real world) room chat with each other (people chatting over the same wifi network, possibly pinging some external server to organize things by the external IP address of the wifi network). Partly we planned this as a chance to play around with Groovy...

Convert Flex Builder 3 project to Flash Builder 4

Hi, I just upgraded to Flash Builder 4 (beta 2) from Flex Builder 3 which I have been using since it came out. Problem: All the projects that were in my workspace from Flex Builder 3 did not carry over into Flash Builder 4 (e.g. in the "Flex Navigator" view if FB3). Flash Builder 4 now uses the .FXP format to manage projects, but Flex ...

What does the Flash VM use under the hood for drawing?

In windows--what does Flash use under the hood? It's a relatively simple question which I can never find the answer to. Is it GDI (for windows VM implementations) or something else? You don't need to go into any of the new GPU acceleration features of Flash. I just really want to the inner workings because it's NEVER discussed. ...

Is this possible to change color of flowers dynamically using FLASH

My problem is I am creating a web app which contains a lot of flowers. One of the concept is to change the color of the flowers dynamically. All the flowers are IMAGES. Is there any possible way to do that in FLASH. Is there any WEB SITE which currently have this functionality kindly provide the link it. Thanks in Advance Fero ...

Pasting bitmaps into as3 app

Hi, Is it possible to paste (as in copy/paste from the clipboard) a bitmap into a flash application? I'm thinking about a level editor that lets you edit the tile images but wanted to allow copying or some quick way of syncing from an external file without them having to upload it etc etc. Cheers, Chris ...

Flex Playing Media

Is it possible to play mpeg, avi, divx or other video types in Flex or do they need to be converted? I've looked around and I can only find that flv files are supported. ...