Hi there!,
I'm loading some swf files at 0 on my stage. They are the pages of my site.
To change from page to page I use removeChildAt(0) and then I addChildAt("page_title", 0).
The problem is that removeChild dont delete the functions from the first swf file loaded (before unloaded).
How can I stop then?
Do I have to use other wa...
Is there a way to determine which event listeners are registered with a display object? I want to remove all event listeners from a display object so that I can assign new ones based on context changes in the application.
...
Hi,
I have a ASP.NET/C# web application with FLASH object integrated. I need to upload two image files to the server at once from one HTTP POST via file reference class in FLASH. Is it possible? If so, How to do it ?
Thanks.
...
I'm binding an array of items to a data grid using ItemRenderer. I use the data variable to control the bindable data. I also have someComponentVariable that need be inserted into every row but its declared at the component scope, so the data grid doesn't seem to reconize it (compile error).
How can I use this variable (someComponentVa...
There is a specific bitwise logical op on three bitmaps I would like to achieve in Flex/AS3. It would presumably have to be done with some combination of DisplayObject blendmodes, ColorMatrix filters, and possibly something else I haven't thought of, as FLex/As3 doesn't have bitwise logical ops on pixels (except for BlendMode.INVERT).
...
I have two Flex libraries that reference each other. Both use link type "External", and I manually load then with the Loader class.
I'm getting the error "A cycle was detected in the build path of project: foo".
Is there any way to resolve this? Maybe a parameter for the compiler or something.
I don't think there should be a problem, ...
I'm still used to the AS2 style of all code on 1 frame, I'm trying to code AS3 in class files and I'm having a problem with a basic package setup. Scope issues are killing me with trying to learn AS3. Below is my package code, I don't have any other class files, just trying to return a simple trace.
The error I'm getting after I run the...
Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation:
I don't get this error on my local host but I do when I upload it to my server. How
do I properly fix this in Flash CS4?
...
Error #2044: Unhandled securityError:.
text=Error #2048: Security sandbox
violation:
How do I do handle this?
...
I'm trying to get the relative or full path from a FileReference object after its browsed but I think I'm bashing my head up against a wall (It's begining to hurt) anybody got a way of getting a file's path from the user.
...
I'm currently working on a very large Flash platformer game (hundreds of classes) and dealing with an issue where the game slowly grinds to a halt if you leave it on for long enough. I didn't write the game and so I'm only vaguely familiar with its internals. Some of the mysterious symptoms include,
The game will run fine for a determi...
This is driving me nuts, I can run this fine with code on the main timeline, but when I put this inside of my sub Class I'm getting the Compile time error and 1180: Call to a possibly undefined method.
This is the line causing all my grief: public var splashLoader:Loader = new Loader();
What I don't get is, inside my main class I'm usi...
I am trying Flash Builder for the first time and I'm stuck in a simple task.
How can I change the output filename?
By default, Flash Builder gives the SWF the same name of the entry point class and I couldn't find anywhere to change it.
Anybody?
...
I have created a video player, but need to add a button that, when clicked, puts the video into full-screen viewing mode. I don't want to scale everything on the stage - just the video. I can't seem to find how to do this - I thought it would be easy.
...
how do you make a tiled background in actionscript 3?
Ive been entering codes i found around the internet, but it seems to be messing up my slideshow pro.... so i want to try some other views
...
package a{
public class a{
public var a_var:String;
public var x_var:String;
public function a(){
var a_var = 'My name';
var x_var = 'X string'
}
public function show_a():String{
return a_var;
}
}
public class b{
public function b(){
var a_obj:a = new a();
trace('trace' ...
Is it at all possible to connect the Flash Player debug version to the debugger in Flex Builder using source code? I'm running an app which has no right click menu, and I therefore can't right click and select connect to debugger.
...
Good morning friendly Flashers ;) So I've been trying since yesterday to just load a SWF file into my main movie. I've done this before just placing code inside a movieClip, but this time I'm working inside of Class files. I have my main class which calls a function inside of my sub class which contains the loader. My problem is that the...
Hello guys,
I'm a newbi with sandy and action script 3. I has followed tutorial on the sandy web site and I created a cube.
But I don't success to create a cube with a different texture on each cube face. My first texture is duplicate on each face.
So, how can I have a different texture on each face ? I don't find that on the sandy we...
The documentation for the Date() class lists several string formats that it can convert to date values. The 8601 format is not listed.
Is this accurate? Does ActionScript support parsing for 8601?
If not, how do I ask Adobe to fix this?
...