flash

Chinese handwriting recognition

I'm looking for handwriting recognition solution. I've found one here, which is a flash application. What's the principle of how it works? Does it make any queries to db to find the character? Thank you! ...

How can I get the background color of a loaded swf file ?

I'm loading an swf file into my main application using URLLoader, I want to get the background color of the loaded swf file. ( I heard that one solution wold be reading the byte code of the loaded swf ) ...

Restrict MouseEvents to Mask in Flex Skin?

I have a ButtonSkin (Flex 4 Skin) with a Rect, a Label, and a Group, the Group masking the Rect. On rollOver, I animate the Label's x to this.width, and on rollOut, back to the original position. The problem is, when I rollOut, if I roll to the right (where the label is hiding behind the mask), it doesn't register rollOut, until I go p...

GWT check if flash is installed

Is there a way in GWT to check if the browser running is supporting Flash? ...

php html flash website design tools for beginner

I have 5 years of C#, Perl and SQL programming experience but I've just found a web designer and developer job. I dont know anything about it but need to design a website using PHP, flash and HTML, whatever it is. Can you give me pointers on where to start to learn it all ASAP and start designing the website? I downloaded WAMP and learne...

Using seek() in Flowplayer with an FLV file

Is it possible to use Flowplayer (flowplayer.org) and the seek() function with an FLV file? I'm not streaming. ...

AS3 incorrect Button dimensions

I have a MovieClip created in Flash CS4 which so far only has two textfields and a button in it. The buttons width and height are set to 60 and 22. If I select everything in Flash it confirms that the width and height of the entire movieclip is 130 and 120. The problem is when I try and get the size in AS it returns 170 and 200. After ...

Flash charts that can map/dither the data on X axis

I looked at different flash chart software (free and commercial) and could find only one that supports the feature I want: map my dataset on the predefined X axis. Let me give an example. Let's say my X axis is time. The time is represented in hours. So let's assume my X axis has last 24 hours. Now the data I have in the database contai...

Seek and Play video that is already buffered

I'm currently building a custom Flash player that will play streaming video from an FMS. Everything is working 100%. However, I would like to optimize the way the player seeks from one part of the video to another. Currently, anytime the seek method is used to progress to another part of the video the buffer is restarted from the time...

how to detect links in a string using RegEx in as3 ?

I am trying to find the generic links in strings. I've found a very handy regex on RegExr, in the community expressions: (https?://)?(www\.)?([a-zA-Z0-9_%]*)\b\.[a-z]{2,4}(\.[a-z]{2})?((/[a-zA-Z0-9_%]*)+)?(\.[a-z]*)?(:\d{1,5})? I tried to use it and it returns null, although the same string tested on RegExr works fine: var linkRegEx:...

how can I unload a swf with AS3?

Any body can help on how I can do to unload a swf before I load the next one? var mLoader:Loader = new Loader(); function loadSWF(e:Event):void { var imageId:Array = e.target.name.split("_"); var targetId:int = imageId[0]; var caption:int = imageId[1]; txt = arrayText[caption]; dynText1.text = ""; dynText1.tex...

Getting error when trying to use stage.height to place a graphic

Hey peepz! I have this footer image, that I want to align to the bottom of the stage, however I'm getting errors. As you can see I have an ADDED_TO_STAGE listener in the constructor function. package src.display{ import flash.text.*; import flash.display.*; import flash.geom.Matrix; import flash.events.Event; public class Frame exten...

ActionScript 3 and SSH

Is there a library for SSH in ActionScript 3? If not, I'd appreciate some ideas on how to have Flash integrate with SSH. I have a Flash prototype programmed out, and my client wants to see some minimal integration with an SSH server. What is needed is basically: connect authenticate send a few basic commands I can't just have these ...

flash/flex: progressive download vs. rtmp

I'm trying to understand and really pinpoint when to use progressive download vs. rtmp in flex/flash. It seems that the main point is that rtmp is not served with http, whereas progressive download is. Since it's not rtmp, the resource is protected since there is no way to connect to the rtmp server from outside the swf. Even if the us...

ActionScript 3 Workflow using SWCs with linked external classes

I'm working on a very graphic-heavy application which uses content from a bunch of different FLAs. I'm a coder, though, so I want to do all my coding in Flash Builder, however I want to allow my designer to still use a few timeline actions such as stop(); and even a few simple button handlers to change the view. I've been trying to find ...

flash antialiased systemfonts

Hi! is there any way in flash to get text antialiased, which is rendered with a systemfont (without embedding any fonts into the swf)? if so - how to do it? thanks ...

Choosing a Class Dynamically in Actionscript 3

I have a line of code like this: var myObj:[SomeClass] = new [SomeClass](); I want to choose which class this object will belong to randomly at runtime. Is there a way to do this in Actionscript 3? ...

Flex full screen mode

Hi, I'm new in flex. I faced problem to make full screen in flex 3.My layout container type like below. <mx:Application > <mx:Panel> <mx:ViewStack> <mx:VBox > <mx:VBox > <mx:Canvas > <mx:HBox width="300" height="300"> </mx:HBox> </mx:Canvas> </mx:VBox> </mx:VBox> </mx:ViewStack> </mx:Panel> </mx:Appli...

How to pass the ... rest argument array to another function as an object property in flash actionscript 3?

Hi, I have a function that uses the ... rest argument as follows: public function dispatchActions(... actions):void { var params:Object = new Object(); params.actions = actions; // I also tried casting ie. = (actions as Array) this.target.dispatchEvent(new ActionEvent(ActionEvent.dispatchActions, params)); } I call it usin...

Cursor image to the center on mouseout

Hi all! I'm a real noobie with flash and I was wondering if somebody could help me with this one. I have this actionsript 3 code, where the cursor image "ball_mc" follows the mouse's position with a slight delay: stage.addEventListener(Event.ENTER_FRAME,followBall); function followBall(event:Event):void { var dx:int = ball_mc.x - mou...