flash

Problems with listening for an event in child object in Actionscript

I have two classes. The first one (the starting class): package { import flash.display.Sprite; import flash.events.KeyboardEvent; import tetris.*; public class TetrisGame extends Sprite { private var _gameWell:Well; public function TetrisGame() { _gameWell = new Well(); addChild(_gameWell); } } } The second...

How should a programmer go about getting started with Flash/Flex/ActionScript?

What is the shortest path between zero (ie no flash related development software on my computer or information about where to obtain it or get started) to running a "hello world" ActionScript? I'm hoping for an answer that gives step by step instructions about exactly what software is needed to get started, an example of some "hello wor...

"Packages cannot be nested"

Hi guys, Im having a problem with Flex 4 beta 2... I cant call a class using: "<fx:Script source:"myClass"/> For some reason, no matter what I do, the error is always the same. "Packages cannot be nested". I googled it and I found links to help.adobe.com... but they are all broken links... So, is this a Flex bug or there is a new wa...

Stop SWF file from repeating

Hey people, I have converted a short clip to an .swf file, i want to implement it on my website: <object width="400" height="300"> <param name="movie" value="movie.swf"> <embed src="movie.swf" width="400" height="300"> </embed> </object> When i play it it autoplays (that's fine) but it also keeps repeating over and over, i'd like it...

Best tutorials or sites for Actionscript 3.

This is semi-redudant, but the other entries on here didn't yield anything. I know a bit of AS3, but only from copying segments and attempting to figure it out. Is there any online resources for going through from the beginning and UNDERSTANDING everything, allowing me to more creatively interpret and learn it? Anything is appreciated...

dynamic video streaming in flash

Hello, Is there any way to do dynamic video streaming in flash without using Flash Media Server (FMS) 3.5 as it's a very expensive software but using some open-source software or in any other way. It will be really helpful if you can provide me the solution as quickly as possible. It's really very urgent. ...

I have some questions about building an AIR app for use with a connected projector.

For an app I'm working on, I'd like to have a control panel window and a video output window to use for projecting video with an attached projector. I have built many Flash applications but this will be my first time using AIR so I have some questions. Is it possible to have two seperate windows as part of one AIR application? Can one ...

How to set focus and insert caret in an empty text field in AS3

stage.focus = textField; textField.setSelection(0,0); is not working for me. ...

Adding video and flash functionality to the Ajax Control Toolkit HTMLEditor

Greetings, I'm looking for a way to extend the functionality of the HTMLEditor control that the Ajax Control Toolkit supplies for ASP.net. I would like to add video and flash functionality to the editor (buttons, allowed tags, etc). To my knowledge, this is rather easy: plop in an embed tag with the correct parameters and it just works;...

Determining when Video has ended in Adobe Flex using Events

Hi everyone, I'm new to Flex, Flash, and ActionScript. I'm attempting to create a video player that starts another video when the previous video ends. I thought there might be an event that is thrown when the video finishes playing, but I have not been able to find it. VideoEvent.COMPLETE is when the video is completely downloaded, n...

Open tab from TabNavigator with actionscript in flex

A short question: I've got a TabNavigator with multiple canvas children. How can i open one of the children with actions script (imagine it as a tab with an intro and after login the tab with content needs to be opened). I have tried this.parentDocument.tabs.selectedIndex(1); but that doesnt work. ...

Need Fla file of Maps...

Hi All, I need .fla files of maps to develop map apps in flash. Can anyone tell me from where i can download .FLA files of Maps. Thanks in Advance ...

Flash Photo Uploader - Take photo from web cam

Are there any examples of Flash + Javascript libraries which allow you to display a variable-sized Flash movie in your page that captures Webcam snapshots (still frames), and submits them to your server in a JPEG format? Currently I know of: jpegcam Thank you ...

Papervision3D: mouseEnabled = false on DisplayObject3D

How do I make a DisplayObject3D have mouseEnabled = false. I have a Sprite behind the Papervision3D scene listening for mouse events and so i need to let it pick up those mouse events through some of the DisplayObject3D objects. I've tried adding the DisplayObject3D to a separate ViewportLayer and setting thats mouseEnabled to false bu...

copying link id to an input field

The code works fine when links are images. But I have a problem when there are flash movies. Another page opens with undefined in the address bar when it needs to copy the link id to imagesID input box. <script type="text/javascript"> var $input = $("#imagesID"); // <-- your input field $('a.thumb').click(function() { var value =...

showPermissionDialog with ExternalInterface (facebook/ flash)

Hi. I trying to pomp showPermissionDialog for allow the user to post something in a friend Wall. I have the flowing javascript code: <script type="text/javascript"> function showStreamPermissions() { FB.Connect.showPermissionDialog("publish_stream", doResult); } </script> On may as3 class file i have this code t...

How to create plugin for browser like Flash or Java?

I know there is a question about that, but there isn't any good answer(for me). I want to create a plugin like Flash. What programming language do I need?? Are there any tutorials?? ...

sequencing through several images

I'm using flex and have a few images that I need to sequence through. I may add some text under each image. What I'm trying to do is automatically sequence through these images such that a black fading effect appears briefly between each image and the next - sure you've seen that sort of thing before. My questions are this: should th...

Flex 3 or Flash Builder 4 for development of Church management system.

hello, i am a learner of flex 3 builder and i have downloaded the Flash Builder beta 2. i have been experimenting with it for a while, i have been given the task to develop a church management system for my church. Because i am new to both technologies, i wanted advice actually as to which will be fastest to build such an application. T...

Possible to link an image in a playlist to a URL, with Flowplayer?

I have a simple Flowplayer playlist. First one plays a short clip, which then cuts off, and an image is displayed. Is there a way to make the image clickable? here is what I have: <a style="display:block;width:640px;height:360px" id="player"> </a> <script> flowplayer("player", "../flowplayer-3.1.5.swf", { playlist: [ ...