flash

Flash: How can I force a movieclip to stay inside constraints

I have a flash program that loads movie clips dynamically and sometimes they want to use more than the space that I give them. Ideally I'd like to force them to only show content in borders I give them. The reason I want this is that my program has a user interface that sometimes gets covered up by this behavior. I'd like to avoid rewrit...

Is there a way to detect Flash playback progress, using the Flash ActiveX object, when progress is NOT on the main timeline?

I've done some programming where I've embedded the Flash ActiveX control into my program. I'll play SWF files in a "playlist" provided by the user. Typically, I've kept a timer going that looks at the CurrentFrame vs. TotalFrames to detect forward motion. I don't allow for looping - if the CurrentFrame ever decreases, I jump out of the f...

Libraries for text animation in Flex / Actionscript ?

Are there any good libraries for cool text animation effects for use in Actionscript (for use in an intro screen or banner). I've given up tryin to use Flash itself because that takes forever, and I dont know which of the many flash text animation tools to choose from. I'd like to be able to dynamically product cool text effects with d...

Alternatives to Flash Media Server for multiplayer game development

I've used Flash Media Server to create multiplayer flash games, but the cost of deploying a FMS application seems rather high. Are there good alternatives, open source or not, that I should look into to mimic the same functionality? I'm specifically looking at using FMS for the aspect of synching game-play state between users running t...

How does one go about developer scalability and code-reuse in Flash?

I've so far dabbled in Flash doing 1-man shows for quite some time, but have never done any big projects with it, where actually source management and code-reuse was truly necessary. However I'm considering Flash for a new project, but this time around it's won't be a 1-man show, that's when it struck me that I had no experience of how o...

Flash Standard Libraries?

For a new project with Flash I was looking for something along the lines of standard libraries for basic programming needs, along the lines of Python or Ruby standard libraries. But the only thing I found was a dead project on Sourceforge. Thus is there no standard library for flash? Does everyone reinvent the wheel each time? ...

Multiple viewports of the same DisplayObject

Is it possible to have multiple view of the same display object? (e.g. same-computer multi-player game using split screen) The sample code that failed to work follows: var content: Sprite = new Sprite(); var v1: Sprite = new Sprite(); var v2: Sprite = new Sprite(); with(content.graphics) { lineStyle(2, 0xff0000...

Force Garbage Collection in AS3?

Is it possible to programmatically force a full garbage collection run in ActionScript 3.0? Let's say I've created a bunch of Display objects with eventListeners and some of the DO's have been removed, some of the eventListeners have been triggered and removed etc... Is there a way to force garbage collection to run and collect everythi...

Check if SoundChannel is playing sound

How to check reliably if a SoundChannel is still playing a sound? For example, [Embed(source="song.mp3")] var Song: Class; var s: Song = new Song(); var ch: SoundChannel = s.play(); // how to check if ch is playing? ...

Good Flash books/resources for programmers?

most flash books and resources seem to be targeted at artists, or atleast non-programmers, and actually because of that hard for those with a more programmatic mindset. Thus I'm looking for some good resources to train some entry level programmers to use flash well as programmers,not artists. Any recommendations? ...

Are browser based online games possible?

I'm not talking about BB-type text based but rich rpgs with spriting, etc. With the current advancements in javascript for rich browser interfaces, would it be possible to create semi-massive multiplayer online games running on our browsers within the near future? We could say that if we really want games we must stick with c++, but I'...

Virtual 360º, stitching and presentation software, for use on PHP driven website?

EDITED (after 1st answer): Can anyone help by pointing to some good references for the creation and presentation of a 3D environment (a real room) on a website. Ideally it will not involve too much expense or too high a learning curve as this is a one off requirement for a small project. ...

Flash Organisation Chart

I've been searching for a library that can render organisation charts in either flash and/or javascript(preferably jQuery). I know of several javascript and/or flash chart libraries but none of them seem to be able to render an organisation chart such as this: http://www.fsai.ie/images/org_chart.gif ...

What is the difference between the onMouseUp/Down and onPress/Release events in Flash?

In Flash, there seem to be two sets of mouse click events: onMouseUp, onMouseDown onPress, onRelease Is there any actual difference between these events? I can't tell from the documentation, and I haven't noticed anything in actual usage, but it seems odd to have two different sets of names for the same basic events. Am I missing s...

Actionscript - combining AS2 assets into a single SWF

Hi guys, I have a flash project that I'm trying to export as a single SWF. There's a main SWF file that loads about 6 other SWFs, and both the main and the child SWFs reference other external assets (images, sounds, etc). I'd like to package everything as a single .swf file so I don't have to tote the other assets around with the .swf...

Embedding binary video data in a swf file

Is it possible to play video from data that has been embedded in a swf at compile time (with the [Embed] metatag)? The "Import Video->Embed" feature provided by Flash CS3 etc. is not acceptable because it has many severe limitations (including sound synchronization issues, a maximum number of frames, and other caveats) I'm interested i...

Loading a video from the local file system...

I have a swf that is run from C:/ in the browser instead of a server (long story) and that swf loads a video that it located at ../../videos/video in relation to that swf. Problem is, When I run it in Flex, everything is cool. Running locally, it can't find the file (not a security error) and is throwing a connectionError. Any ideas...

How to ensure a DOM element triggers mouseover when it contains a Flash object

I have a div that contains several child elements, one of which is a flash movie. When rolling over this div, I want it to change style to indicate it is rolled over. My problem is that the mouseover and mouseout javascript events don't always trigger, especially if the user moves the mouse over the flash element too quickly. Any sugge...

Are there any libraries for generating flash swf files or converting svg to swf

I was wondering if anyone knows of any libraries for programatically creating flash swf files. Or for creating swf from svg. ...

Flex development on Linux, what's a good free environment?

Hi, I would like to develop Adobe Flex applications using Linux and a free environment. I'd prefer a free as in freedom alternative, but as in beer would work as well. ;-) Are any of you developing Adobe Flex rich internet applications using such an environment? Or should I face the "facts" that Flex Builder is an essential tool for Fl...