flash

ActionScript 3.0 : How to access a Shape's segments?

EDIT (for clarification): I have a vector image with a simple contour, an irregular closed polygon. I need to import it into Flash in a way that I can then programmatically access each of the segments that form the polygon. Importing the vector image into the library as a MovieClip wasn't good because all I get is a shape from which I ca...

Displaying graphics on top of another full screen application; hardware overlay?

On Windows (Vista32), I want to display some simple graphics on top of a fullscreen flash window (an overlay of useful information while using the flash application). What's the fastest way to accomplish it? I think I may be able to achieve it using DirectX with the DDSCAPS_OVERLAY flag but with the only example I've found I get an exce...

WebService implementation in ActionScript 3

Hi guys, How can I call WebService using ActionScript 3. from my initial findings, I come to know it is AS3 dosen't support WebService and SOAP, it was in Flash MX/AS2 though. Any suggestions or links guys?? Thanks ...

Flash - custom language instead of ActionScript

Hi, I recently heard of a language that gives the same functionality as ActionScript (creating flash SWF files) with a certain speed increase. The language was called something along the lines of 'hex'. Does anyone have any idea what this language is? Thanks ...

Directed graph layout engines on .NET / Silverlight / JavaScript / Flash

Hi! Who knows good graph layout engines with clear customization and managment? Flare is an cool one but it is written on Flex (may be you know how it can be customized without re-compilation and writing code?). I also know about JavaScript InfoVis Toolkit but it not good enough. ...

Invoke Flash methods from C# (MONO)

Using .NET (Windows), you can embed an ActiveX Flash player into a Windows form, load a swf file and set variables or invoke functions with single method calls from C# (I imagine because of the presence of a Flash OCX). That said, I would like to do the same thing in MONO (Linux): how could this be possible? ...

flex , ai,import,flash

can i import vector graphics file *.ai file(illustrator generated) into flex3 ?? ...

Animated gif or flash (or other) for small animated element on website?

I am redesigning a site, and the client is set on keeping a small looping Flash animation that is on the current version. They have asked if it would be better to replace it with an animated GIF version or to keep the current version, and I don't know the answer (apart from get rid of it!). Is either method preferred? ...

How does Adobe Stratus work?

I want to know How does Adobe Stratus work? to get an idea of how to do something like it on my own. So what net hack Stratus uses to work like it works? ...

Applying a color gradient on a line using ActionScript 3 / Flash

Hi, I am trying to construct a line dynamically, with a start and end gradient. I want to avoid using a GradientBox, as the lines are dynamic. All I want to do is have the line start red, end blue. This code does not work though :( myLine = new Shape(); myLine.graphics.lineStyle(2); myLine.graphics.lineGradientStyle(GradientType.LINEAR...

reinstate Jquery features after flash callback

Hello all, I have a page that uses the jQuery.swfobject plugin to embed 5 flash items into a page and each flash item has a callback using externalInterface. The callbacks work when I have the js function outside of $(document).ready(function() but the jQuery animations do not fire - the ajax load however does. Does anyone know how to...

facebook-flash-api getting username without PHP

Hi, trying to get the name of the user in Flash (not FLEX) without the PHP. Currently I have the session, the uid. But from here could not move forward towards getting the name. Would really appreciate if someone could help out. var fbook:Facebook; var api_key:String="xxxx"; var secret_key:String="xxxxx"; var fb_session:FacebookSessi...

Java Applets vs Back Button

I noticed that if you're playing a song at http://listen.grooveshark.com/ and you hit the back button Flash is smart enough to keep on playing the music while navigating "back" inside the Flash application. Is it possible to implement this sort of thing using Java Applets, or do Applets alway shut down when you navigate away from the pa...

external swf control flex applicaton?

I have a flex application that loads an external swf file. I created the external swf file using flash cs4 so I can add code to it if that is what it takes. Here is the code I use to load my external swf: //add button swf var request:URLRequest = new URLRequest("http://www.yadayada.com/media/but_button.swf"); var loader3:Loader = new L...

perspective in Flash

I have an 2D image that I want to draw in true 3D, and spin around its centre. I'm using Actionscript 3 code (actually Haxe, no IDE), and I'm struggling to discover the values by experimentation. I have a DisplayObject. If I use rotateZ = 45, the object rotates around it's top-left, rather than centre; more complicated Display.transfo...

Actionscript - Loop until mouseover then goto frame x.

I've been trying to get this to work for a while. I have 25 frames I want to loop, but on a mouseover I want it to jump to frame 26 and continue. Any suggestions? Actionscript 2 or 3 is fine... ...

Record and encode Flash video?

Is it possible to record video through Flash's "Webcam" facility and receive encoded video on server side without any further processing (i.e. just saving the stream to a file)? Or is server side software always needed to encode the input? If server side software is necessary, are there free / Open Source solutions available? ...

Flash CS4 Scroll Dynamic Text Horizontally

Hey everyone, I know next to nothing about Flash, so hope this doesn't make anyone mad...This seems like it should be really simple...I basically need a scrolling "ticker" for small amounts of formatted text and a little more information, which will stop scrolling on mouse over, be continuous (i.e. never have gaps, have first item appen...

flash as3 drag and drop with inertia

Hello I want to imitate the iPhone scroll behavior in a Flash app I am developing. The idea is to enable drag-drop with a certain amount of inertia/deceleration (you know, when you drop something while your cursor is still moving and the thing would continue moving for a moment and then stop). I am using the TweenMax library for my ani...

can a Flash app running in browser connect to localhost to get data from another app?

it seems that Flash was supposed to run in a sandbox in the browser. But, if Flash can get data from a remote server, can it similarly get data from localhost IP on the same machine? In other words, can I use a Windows app that provides a TCP socket on localhost to feed data into a Flash app? EDITED: ok, the answer is yes at least for ...