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...
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...
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...
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 ...
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...
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...
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...
Hi all, wondering if anyone knows any good resources for flash games ( need fla ) i have requirement to create Brain Training type game.
Thanks.
...
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...
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?
...
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...
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.
...
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.
...
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...
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 ...
Is there a way to detect mouse double-click on a button object using ActionScript 2.0?
...
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...
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...
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...
I'm trying to locate some decent flash/actionscript tutorial sites if anyone in this community has any suggestions I would appreciate it.
...