flash

How to globally catch changes to the text of a TextField in AS2?

First the details Using AS2 (Scaleform) The solution needs to be global at least within a swf All of our UI is already made and this is purely for visual indication in-house of an issue with text size. I need to be able to globally catch when the text for a TextFeild changes and then perform my check. I have tried a few things wi...

remove header separators lines in flash DataGrid (actionscript 2)

Hi, I have a DataGrid component in flash (actionscript 2). I want to remove the separators lines in the header of the grid- searched for hours with no luck. thanks. ...

Flash AS3: Using "string" to pass in E4X XML querry

I want to be able to do something like var XMLquerry:String = "a1.a2.a3"; var parserVal:XML = parserMethod(XMLquerry); // or var parserVal:XMLList = parserMethod(XMLquerry);` and get an output something like <a3>Some value</a3> Important: And I want to be able to replace the output at a1.a2.a3 so using decedents is out of question...

Embed a streaming .swf file inside another Flash or Adobe Air Application

I currently have a network camera that streams video as a .swf (and also as a motion JPEG as well...) and I want to be able to embed the stream inside of either a Flash or Air project that I'm creating myself. The only examples i've been able to find though, require the .swf to be saved as a resource of the project; clearly, this is unde...

How to avoid Security Errors when using the Youtube AS3 Player API.

I'm using the Youtube AS3 Player API to load video's in a Flash Project. I get this really annoying Error when loading the Player swf: SecurityError: Error #2047: Security sandbox violation: parent: http://www.degoudenglimlach.be/main.swf cannot access http://www.youtube.com/[[IMPORT]]/s.ytimg.com/yt/swf/watch_as3-vflbgr4dW.swf. I tri...

Symbols/classes for walls and doors

Really basic question here: I'm trying to do a 2D top-down Zelda type game. I have two symbols defined for vertical and horizontal walls, with four instances of each. I also have four symbols defined for north, south, east and west doors, with accompanying classes for all of these symbols. My question is, am I doing this wrong? Can I ge...

protecting the URL where flash/flex app can be executed

Is there an easy copyprotection, so that I can define in code the URL where flash/flex app can be executed ...

Which projector for creating .exe from Flash?

Which tool would you recommend for creating standalone .exe files (Windows) from Flash? And why? ...

YouTube videos not playing in chromeless player in Flash using Zend_GData_Youtube class in PHP to pass results to flash (Works fine on Mac Safari??)

I have been noticing some strange (but consistent) behavior with the chromeless YouTube Player API. I have a Flash AS2 SWF that uses cueVideoById() to show the thumbnail images of videos which works great. When the thumb is clicked I call playVideo() to play the video. For some videos this loads the video and when I look at the traf...

AS3 Time offsets "Clumping together" after window switching

Imagine you have 100 tweens. Each tween is simply an element (circle) that goes up, and then comes down again. By delaying each tween a bit from the previous, a sine wave effect is created. Now all this is working fine. The problem arises when you switch to another window or application, and then view the window with animation again. Th...

Best practise here with regards to Events

I'm wondering what would be considered best practise for this. It's fairly inconsequential but I'm interested in peoples opinions. We have two classes - TitleBar and TemplateMain. TitleBar is a bar at the top of the screen that displays the project title and several buttons (settings, print, fullscreen, etc) that the TemplateMain will n...

FLASH/AS3: A way to move a MovieClip from one position to another with a bounce effect.

I want to have something like a big still image that you can move by clicking buttons—with a "bouncing" effect. Buttons that moves to an specific position are fine, although additional buttons that allow you to move it freely within a certain restriction is even better. I have an script for it in Actionscript 1.0 I found somewhere eons...

How do I embed a flash object in my MVC2 Application Home?

I need to put a Flash Object in my website developed on MVC2 .NET, however the third party who made it just gave me an html with this code.HTML errors apart I don't know how to put it on ASP.NET. Can you help me? <table width="608" border="0" cellpadding="0" cellspacing="0" bgcolor="#F4F4F4"> <tr> <td height="4...

how can I do quick searching in flex?

I used character based searching name in data grid by using http services . so i used text box and data grid , fcomptxt is text box id fComptxt.addEventListener(Event.CHANGE,applyFilter); public function applyFilter(e : Event):void { CompanyViewBean.companyViewBean = new CompanyViewBean(); CompanyViewBean.company...

External Flash Movie behind an HTML Overlay Div

Okay, is there a way to have an external flash movie that I have iframed in from another server show up behind an overlay div? Currently when I open my overlay, the flash movie shows through it. ...

Why flash jfsl command cannot find as file whereas it exists ?

I have C:\flash\FlashApplication1\FlashApplication1\FlashApplication1.as package { import flash.display.*; public class FlashApplication1 extends MovieClip { public function FlashApplication1() { super(); } } } and C:\flash\FlashApplication1\FlashApplication1\bin\Debug\FlashApplication1.jsfl ...

suppressing font mapping window in Flash CS5

I have what is essentially the same font but but it's otf instead of ttf or something similar. Is there a way to suppress the font mapping dialog that pops up that doesn't include switching the fonts or installing the other font format? ...

Does Flash have support for the soft/discretionary hyphen?

Out of the box, Flash CS4/AS3 doesn’t seem to support the soft hyphen / discretionary hyphen (&shy; / U+00AD). Is there some trick to getting it to work, or is it simply not there? ...

Building online game with Flash, or any other suggestions.

I want to build some online educational games such as learning chinese characters and such. From what I've seen Flash seems to be a very popular way to do this. Anyone use Flash to build games or any suggestions for building web based games? ...

Any recent performance comparison among Javascript, Silverlight and Flash

This is really a duplicate of the question- link text I googled it and found some old results like bubblemark.com, link text and link text. But is there any recent benchmarks as all the platforms have been updated. I like to measure the speed of silverlight 4 against the modern and faster javascript engines. Anyone have any source? ...