What TextInput event can I listen for to throw an Alert when a number is entered? The scenario is : a user enters a number into myTxt1. An Alert appears that says "Are you sure you want to enter that number?". If the user clicks Yes, do nothing/continue. If the user clicks No, leave focus on myTxt1 so he can change the number.
Problem i...
I've got several custom classes. Let's call them "Character", which is supposed to import and use "Head". Then "Head" imports and uses "Hat". That works just fine...
package character
{
import flash.display.MovieClip;
import flash.events.Event;
import flash.display.Stage;
import flash.display.Sprite;
import flash.events.Event;
i...
I'm currently creating a whiteboard in Flash, and I want to be able to record all of the user interaction for later playback. Is it somehow possible to create a video of what the user is drawing?
...
In Python, there is a class called "set". I realize that similar functionality could be implemented in AS by a Dictionary where only the keys matter.
But it seems that this should be a built-in type for ActionScript. Unfortunately, it's nearly impossible to search for. Before I go off and code up my own "set" class, does it already exis...
i am trying to add a uicomponent which contains an object of a custom class the extends UIcomponents and i want to display this uicomponent to canvas i have done no error compile or run time but it does not display the Uicomponent.
here is code;
var item:RecordRanderer = new RecordRanderer();
item.randerItem(child);
it...
I am trying to force the download of a file (image) vie fileReference.
It works great when tested in the flash publish preview, but not when its posted online.
Im publishing to AS2 from CS3, by browser has flash player 10 installed.
When i click my download link, i couldn't get the save file dialog box.
How this can be solved?
...
Rather than assign to every buttons with MouseEvent, I assign to AIR application with:
private function init():void {
this.addEventListener(MouseEvent.MOUSE_DOWN,mpressKey);
}
However, I only want the mouse_down to execute if it detect a "button" property instead of Demo0.WindowedApplicationSkin2.Group3.contentGroup.g4 (g4 is an id)...
I want to check the file extension from the string using regular expression in action script.
By googling, I find this, but I'm week to regular expression.
Thanks.
...
I am setting out for a visualization project that will generate 1000+ sprites from dynamic data. The toolkit I am using (Flare) requires some optimization. I am trying to figure out some optimization techniques for Flash. How can I make Flash run fast when there are so many sprites on the stage, or maybe there is an optimization techniqu...
How to post data from a flex file to a php file? I am not able to create an action.
...
I have a simulated enum as follows:
public class Sport {
public static const BASEBALL:Sport = new MyEnum("Baseball", "Baseball ...");
public static const FOOTBALL:Sport = new MyEnum("Football", "Football ...");
public var label:String;
public var description:String;
public function Sport(label:String, description:S...
How can I make the background of the Button component transparent in actionscript (or remove it completely) ?
I'd like to show a Button component with only the text label, no background, no border.
ps. I'm using AS2
...
From the Flash player specification, it supported up to 15/16 or 32 sounds in a buffer, which mean any more sounds is load beyond that limit will either caused buffer stop working.
Is there any class to override to increase sounds to 1024 or greater?
...
Hi,
what is the best way to write and debug Server Side Action Script on Flash Media Server?
I use Flash Builder for syntax highlighting, but that's all.
Any ideas?
...
Hey,
I've installed Flash Moto CMS, and I want to link it with any kind of TemplateMonster but I have no idea on how I can do this right now.
So I'm asking you for help !
Any documentation, any video tutorials !!!
Thanks
...
All I got "Cannot perform operation on a NativeProcess that is not running." when running debug mode in Flex 4 Builder. Where should I place my HelloWorld.class in IDE project folder?
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe...
hello
i am working with actionscript flex and using UIcomponents i need all the valid arguments for this function for example
component.setStyle("borderColor","white");
i need all valid strings for first string parameter and 2nd valid argument for there value setting,
i have some of them that are given below but i need all possible...
I've used axdt ( http://new.axdt.org/ ) with Eclipse. I've read about fdt on on linux ( http://www.brighthub.com/hubfolio/matthew-casperson/articles/73648.aspx ). FDT is a commercial package that I wouldn't mind paying for if it officially supported linux. Right now I'm using vim with the command line tools, and I'm not really satisfied ...
Hello,
I'm dynamically creating an empty movieclip inside another movieclip to load an image into it.
How could i make sure that this image is always centred in the movieclip?
Also, if i have a attached movieclip named E.G. 1M how do i find out the x and y position to make it appear next to each other?
...
Hello i'm importing a video in flash cs5, using actionscript 3.0.
I have copy the SkinOverPlay.fla and i'm changing it to fit my needs.
I am looking for just a play/pause button (no other controls) in the center of the screen that disapear when the mouse it out of the video.
I am looking also on how to play the video in loop.
thanks!
...