actionscript

Any Resources for Pure Actionscript 3 Games?

What resources (books or website/tutorials) are available, that cover game development using pure Actionscript 3 code? By pure, I mean not using Flash CS4 and its timeline, and not using Flex MXML components. Everything done using only Actionscript code. In another question, I asked about using certain objects of the Flex SDK for simple...

Context menu for loaded SWF

I have a Flex app with a viewport that loads a series of other swfs. I would like to place a context menu over top of the SWFs when the user right-clicks. To that end, I have set up a fairly standard context menu where each item has a ContextMenuEvent.MENU_ITEM_SELECT event handler. One problem: The eventHandler never gets called. I...

How to achieve volume slider effect like on vimeo in flash?

The video player (aka moogaloop) on vimeo.com has a neat visual effect for the audio volume slider. There are a number of sound bars that rise and fall when the mouse hovers over them. The volume level is shown by a blue filled area under the bars with pixel precision. This puzzles me, how can the multiple masks (bars) be used to cove...

Converting MovieClips in an fla to bmp

I have a game that I made in flash, and now I want to take all the movieclips I have and export the images into something that I can use outside of flash. What would be the easiest way to do this? I would rather not use screenshots, plus, I need to keep the transparency. ...

understanding rtmp buffer size

When streaming an flv to flash, I am not sure I understand the feedback from the NetStream buffer events listed here. This article from Adobe suggests that the files are never cached to disk: "When RTMP-based video streams into the Flash Player, the audio and video data is only stored in the Flash Player's memory buffer" Spe...

column resize in flex 3

look at this code (couldn't paste it here it doesn't fit)it represent my real app structure: mxml source code EDIT: the relevant part of the code: <mx:VBox width="100%" height="100%"> <mx:HBox width="100%" horizontalScrollPolicy="off" height="100%"> <mx:VBox width="100%" verticalScrollPolicy="off" height="100%"> ...

movie does not start in full screen in flash video player

We have this legacy code of a flash video player that functions well enough but still has some loose ends I need to tighten up. It can do the basic "switch to full screen and back to normal size" stunts, however with one exception. On the first fresh load of the app, if I switch to full screen mode first, and then click to play the mov...

Q:achieve effect similar to jibjab cards

I have a good understanding of everything up until the actual embedding in the video. Anyone know the best way of doing this? http://sendables.jibjab.com/ecards ...

Problem using flex to read XML in e4x format from SOAP webservice

UPDATE: The problem was not to do with namespaces or flex at all. My webservice was returning the wrapped xml. I was blaming the language I had least experience with before questioning the java... I have a basic soap webservice that I am having trouble reading the result from in flex. I'm a solid java programmer and just tryi...

How to deploy SWF file?

I have a SWF file I created using Adobe Flex and I cannot seem to properly embed it inside an HTML page. If I take another SWF file and use it instead, it works all the time. My SWF file is pretty big (1 MB) while the other one is tiny (25 KB). However, I can wait 5-10 minutes and the server connection is super fast and it still will ...

start motion on click?

I'm having a problem with a small animation for a form I'm creating in flash. Basically I want the motion to happen when I click it, and then stop where its told to. It plays and stops just fine, however I cannot figure out how to make it wait for the click to play. This is the current code I have tabbut.onClick = function() { play(); }...

Fail-safe way of round-tripping Flash swf files to text-representation and back

I'm looking for a fail-safe way to round-trip between a Flash swf file and a text representation and back again. One strict requirement is that the resulting round-tripped Flash swf file is exactly functionally equivalent to the original Flash swf file as long as the text representation is left unchanged. Furthermore, the text represen...

Horizontal align components inside HBox from Action Script

Is there any way to set horizontalAlign from Action Script not from mxml? ...

Flex: Long polling (ie, server push) without BlazeDS?

Apart from using BlazeDS, are there any pre-existing libraries that implement long polling (or server push) in Flex? Note: I've read I like to implement Flex to Server comet / long polling for games, but he's only asking if it's possible to implement… Not if implementations exist. ...

Disadvantages of a Flex project vs an Actionscript project?

I've recently started making a game in FlexBuilder. The game is currently a Flex project. Is there any downside to using Flex as opposed to just Actionscript? A friend of a friend told me that Flex is slower than an Actionscript project. I've been unable to validate this on the internet; is there any truth to that claim? Thanks! ...

Can Flex wrap Java applets?

I'm just learning about Flex and I'm loving it. Unfortunatly I still have to make the decision on which RIA technology to use and its dependent on, among other things, from the following case: How can we wrap a java applet around a Flex application? More specifically, I would like to wrap/integrate NASA's World Wind applet in a Flex pan...

Is there any 'FindBugs like' plugin for Adobe Flex Builder or Flash Builder?

Is there any 'FindBugs like' plugin for Adobe Flex Builder or Flash Builder ...

Is there a program that uses static analysis to look for bugs in actionscript code?

Is thre any program which uses static analysis to look for bugs in actionscript code? ...

Create and build pure "ActionScript project" with Flex SDK under Linux

Before all: excuse my english :) Ok, here we go - im developing mostly java things, so my IDE - Intellij IDEA. For a few last weeks im playing with Flex and AS3. So, im using Flex SDK 3 with IDEA plugin. Everything was just fine, but now i want to create pure actionscript project without any flex things (it dramatically increases size ...

Flex RemoteObject timeouts?

I've been tinkering around with Flex RemoteObjects, and I've found that they aren't very well behaved with respect to timing out. First, I can't figure out how to set a timeout on "connect". I know I can set requstTimeout, which will correctly timeout after an initial handshake… But if the server doesn't handshake, the connection doesn'...