flash

How do I programmatically move an item in a Flex 3 AdvancedDataGrid?

Is there a way to move a row in an AdvancedDataGrid in response to an external event? In this case, I'd like to have a toolbar button that moves an item or items selected in the grid either up or down. The problem as I see it is keeping the hierarchical data source in sync with the array of item renderers and selection data on the grid...

Flash Sampler App - Tour de Flash???

I am looking for an app or apps which I can use to demonstrate many of the specific graphics, animation, and interaction capabilities available using Flash CS4 Pro. Basically something just like the Tour de Flex app only for Flash CS3/CS4 Pro. The Adobe site has a sparse set of some examples, but again I am looking for something more co...

Integrate 3rd Party Flash Component into an Adobe Air Application?

I'm fairly proficient with HTML/Javascript/CSS. It's my understanding that I can write an Adobe Air application using just those technologies. Let's assume I want to convert one of my webapps to an Adobe Air application, but this web app uses a 3rd party Flash component. Can I embed this 3rd party flash component into my Adobe Air applic...

Understanding the "Instantiation" of Actionscript/Flash Objects

Could someone expand and clarify the different logical instantiations of objects in actionscript? So far it seems there are 3 layers of instantiations, for lack of a better term. The first one is declaring a variable/type. Next is instantiating that variable with something solid in the code, like a method or function? Is this jus...

Fastest way to build a basic Flash app

I need to write a really basic Flash app for my website in order to leverage XMLSocket() functionality. What's the easiest way to compile some basic flash source without having to download a lot of bloatware? ...

Show Flash video in a layer popup

Would like to show a flash video in a layer popup (a layer rests above the current page, darkens the background and shows the video front and center) that is compatible with all major browsers (Opera, FF3.x, IE6,7 and 8) Is there any code that can do this? ...

How do skinned Flex UIComponents capture mouse events?

If my understanding of Flex is correct, skins in Flex are just DisplayObjects that are added as children to UIComponents to create the visual representation of the object. But if my understanding of the Flash event model is correct, if there is a non-transparent DisplayObject on top of another, mouse events will go to the topmost Display...

Flash video player doesn't play after rewriting a url

Hi! I recently started a new job working on a content management system. One of the jobs was to implement url rewriting, which i've done, but for some reason the URL rewriting has killed the ability to play flv files through FLVPlayer_Progressive. An example can be seen below: Working if you then follow the link on the menu and go to ...

Any body know Clock animation using flex/flash/actionscript3?

In my application i want to show 5 clcok . In the clock shows international time depend on country based But Normal clock time i will get sytem time (getmintues and gethours ) and show . How can show all country time ?. i tried below code for animation . Do you know like those any example for clock animation . public function createCh...

Flex, resize children when parent is resize

Hi I have Buttons which I have rotated vertically within a Canvas, that is working fine. The problem occurs, when the user resizes the window to a small size a vertical scroll bar appears, I would rather have each button squashed upto a smaller size. <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="40" maxWidth="40" xmlns:m...

What's the most impressive Javascript/Flash/Silverlight example you've seen?

What is the most impressive "rich internet application" - which is usually Javascript/Flash/Silverlight - that you have experienced? I find Google maps is like Javascript/Flash voodoo and more specifically Google Streeview wins hands down. But I'm interested to know others. ...

3d lines in as3 (flash10)

is there a straightforward way to draw 3d lines with graphics.lineTo()/moveTo()? I havent run into anytihng. both of these methods only use x/y for their coordinates. Im using the 'z' coordinate on my sprites and want to connect them with lines... help is appreciated ...

as3 preloading for distribution

So the easiest way to preload in as3 would be to use an external .swf to load the main .swf. Since I will be distributing my game around the internet I can only use one .swf. What would be the best way to do this? Can I still use the external method but somehow combine the finished product into one .swf? ...

loading an RSL without using flex?

If I have rolled my own RSL, and I want to use it in my pure as3 apps, is there documentation or an example of how to do this? Or do I need to traverse the flex source code to figure out what adobe's engineers have done? ...

Array.Split() with square brackets[], from the Advanced Actionscript Animation book

I'm trying to understand how this piece of code from Keith Peter's Advanced Actionscript works. Essentially there's a for loop going on to split key/value pairs seperated by :. Here's the code: var definition:Object = new Object(); for(var i = 0;i < tokens.length; i++) { var key:String = tokens[i].split(":")[0]; var val:String...

Taking Adobe Flash Player Off Its Leash on WinXP

I'm working with a flash application that runs as a standalone executable by way of the File -> Create Projector... option on the standalone Adobe Flash Player. I've noticed that it's pretty well-behaved, with a modest memory footprint and reasonable CPU demands, even when it's struggling with something difficult to render or animate fo...

MP4 H.264 in Flash

I've noticed FLVs are ubiquitous in flash video, but I'm looking to use MP4s / H.264 in my flash video app. Has anyone had any problems with using MP4s? I'm just doing progressive download. Thanks, Trevor ...

Flash AS3 Help detecting a loaded file

Hello, I'm trying to load an external and local XML file to read its data, but I don't really know how to detect when the file has been loaded, I'm just able to open the broser window, here is what I have done package { import flash.display.Sprite; import flash.events.; import flash.net.; import flash.net.URLRequest; pu...

How to embed a .png in a .swf to show in flash app (DIY map)

Hey guys, I am using the cool map making program DIY map and i want to keep my points as images. However, you can only set .swfs and jpgs as image points. The author of the program says quote: Unfortunately, Flash can not load GIF’s or PNG’s dynamically, but you can embed these into an SWF. PNG’s embedded into an SWF will also displ...

Java LocalConnection Client

I'd like to connect a Flash Player instance (AMF3) to a Java LocalConnection. I know how to implement the AMF3 spec, since I've done a lot of work with Red5, but I'm unsure how to navigate building the actual LocalConnection interface. There is C code provided here, but I can't speak C to save my life. Does anyone know of a Java implemen...