flash

Actionscript - is it better to cast or create a new variable? Or does it matter at all?

I find that in my daily Flex/Flash work, I do this number a lot: //Calling a function... MyCustomObject(container.getChildAt(i)).mySpecialFunction(); The question is - is this the best way to do this? Should I do this: //Calling a function var tempItem:MyCustomObject = container.getChildAt(i) as MyCustomObject; tempItem.mySpecialFun...

Is there a way to programmatically delete all local shared objects from within flash?

I'm using local shared objects within flash both to store significant amounts of user data, as well as for caching data fetched from the server. However, I'm very concerned about hitting the 100kb default limit. Because the 100kb limit is for the whole domain, I'm concerned that the sum of multiple local shared objecs would sum to more...

AS3 Components in Flash Designer

In an ActionScript 2 project I can create a new MovieClip, right-click on it on the library and select "Component Definition" to add parameters that can be referenced inside the MovieClip. This parameters can be easily changed in the MovieClips's properties. Now, I'm working on an ActionScript 3 project but haven't been able to figure o...

Where to start? What language to learn first?

I'm just starting out in the programming world and I know that I have a long road ahead of me..but I learn quickly. :) I want to be able to build RIAs and I've been going through Adobe's PDF files on ActionScript 3.0 and Flex. The more I learn, the more interesting it gets. My questions are these: Am I starting at the right spot? Should ...

How does Flash work?

Right now I'm developing a small canvas oriented 2D graphics engine for a game, and have been looking into several sources for hints to apply to my system's design. But obviously the most battle proven solution out there is flash, so I was wondering how is Flash architectured. I found some sources about Flash's workings, but most are ver...

Non-fullscreen FLVPlayback

I'm building a full-screen demo where I need to simulate a YouTube video. I dragged a video that plays an external .flv file. It works fine if the stage isn't set to full-screen. But I need to set the stage to full-screen like this: stage.displayState = StageDisplayState.FULL_SCREEN; stage.scaleMode = StageScaleMode.NO_SCALE; The pro...

[Flash] Algorithmic sound and music generation

Hello, I'm looking to use procedurally-generated sound and music in a Flash program I'm writing. I haven't found anything in the ActionScript 3.0 reference manual that shows how to do this. Is this possible? Have any third-party tools been developed that can do this? Or can Flash/ActionScript communicate with external programming la...

looking for good websites that have FLA for flash games

Hi all, wondering if anyone knows any good resources for flash games ( need fla ) i have requirement to create Brain Training type game. Thanks. ...

FF3/Windows CSS z-index problem with YouTube player

I'm stuck on what appears to be a CSS/z-index conflict with the YouTube player. In Firefox 3 under Windows XP, Take a look at this page: http://spokenword.org/program/21396 Click on the Collect button and note that the pop-up <div> appears under the YouTube player. On other browsers the <div> appears on top. It has a z-index value of 999...

Effects on htmlText in a TextField

In Flash when you set text in a TextField object with the htmlText property, changing the alpha value no longer works. Is there a way around that? ...

Controlling a Flash Player using JavaScript

I would like to be able to control a flash movie stream using JavaScript in the same pages as the flash component including: Play and Pause stream Change Stream I can already load the player and set the flash args, but I don't know how to interact with the player once the stream has started. Is this possible without modifying the SW...

Change color of DataGrid in flash cs4

I am using the as3 DataGrid component in a flash project and I want to change the color from black on white to white on black but can't find how to change the colors of the DataGrid control. Can anyone help? This is the flash component, I'm not using flex. ...

Flash CS3 error: fl.getDocumentDOM() has no properties

What causes the publish error: "fl.getDocumentDOM() has no properties" ? The error occurs only when using the "Test Project" button in the project pane. It doesn't cause the publish to fail, it's just annoying. ...

Looking for a Free Open Source IDE for Flash development

I am looking for a free open source IDE for flash development. I got an old project, built in flash, and I need to fix some bugs... I have the source code (some '.as' and '.fla' files) and no experience at all with this tecnology. I can edit the action scripts but I not able to work on the FLA files... so, I am guessing I need an spec...

Web-based yahoo-pipes alike plugin or app or ... something

I am looking for advice on how to create a drag and drop interface similar to Yahoo Pipes: dragging and dropping elements and linking them together. I really don't care if it's Flash or JavaScript or SVG or Open Source or Commercial (although reasonably priced would be better). Ideally I would like to describe my elements as JSON or ...

Detecting mouse double-click in Flash (AS2)

Is there a way to detect mouse double-click on a button object using ActionScript 2.0? ...

flash motion question

Hello, I am juststarting out with flash, and I know that motion tweening can automate simple things, but I would like to know if there are more ways to automate? For example, the animation of the bird here: http://www.youtube.com/watch?v=As_-K8xGqLE but going accross the page, I have basically been copying layers and moving the items...

Changing a flash file

I am trying to develop a way to change a flash file displayed on the screen to another file by clicking a button. I have been able to do this with jpg images, but I can't get it to work with flash files. Can anyone help? I would greatly appreciate it. Below are two html's: the first one changes jpg images and it works, the second one I c...

Changing flash files on screen by clicking a button

I am trying to develop a way to change a flash file displayed on the screen to another file by clicking a button. I have been able to do this with jpg images, but I can't get it to work with flash files. Can anyone help? I would greatly appreciate it. Below are two html's: the first one changes jpg images and it works, the second one I c...

Suggested flash tutorial sites

I'm trying to locate some decent flash/actionscript tutorial sites if anyone in this community has any suggestions I would appreciate it. ...