flash

Flash Media Server, how to use allowedHTMLdomains.txt on 2nd app

Hi, I am configuring our Adobe Flash Media Server 3.5 and need some help. I have carefully followed the documentation on how to duplicate the vod service: http://help.adobe.com/en%5FUS/FlashMediaServer/3.5%5FDeving/WS5b3ccc516d4fbf351e63e3d11a0773cfae-7ff3.html I successfully created multiple applications: vod2, vod3, vod4. Now I wou...

Avoiding LocalConnection's 40k size limit when data object may be larger than 40k

Flash's LocalConnection mechanism has a 40k size limit on individual messages passed to send(). I'm running into a situation where I have a complex object that I need to send which may end up being too large. I can break up the object into multiple smaller ones, but I want to do so in an efficient way. It's possible that I could end u...

Flash getTextSnapshot does not want to highlight when I select text, any idea?

Hello, I tried to find the answer on the Internet but haven't found one yet. I am not a Flash coder, but I am learning quickly. Here's the question: I am trying to highlight a part of the text inside a frame (let say movie clip) and I am not able to make it work 100%. Here's my code (highlighting): var my_snap:TextSnapshot = _root....

capturing bubbling key event from flash with javascript?

In IE, if flash has focus, and receives a keydown event, it does not appear to bubble the event up through the DOM (I can't capture the event by listening on document, however the same listener can capture key events from html siblings, so I know my listener is working). However, some other plugins on the page (I am looking at you windo...

Flash and php become very slow, same code!!

I did a flash application, login form in flash, authenticate in php, that was 3 months ago, the sending requests and response is very fast, means, when i click submit button, within 3 - 5 seconds it will has response from php. Recently, i do another login in flash, using similar code as the previously i have done. Now, the sending reque...

what you mean by Unable to resolve resource bundle "datamanagement" error occured in flex?

when will i add Advanced data grid in my project then it shows eror like everity and Description Path Resource Location Creation Time Id Unable to resolve resource bundle "datamanagement". but separte mxml file then add it not show any errors .my project i used locale binding for multi language so i add in complier -locale=English,Ja...

Hiding xml from users while passing it into flash

We have a little in-house LMS with courses built in Flash. Scores are updated and retrieved with POSTs to PHP scripts which query a MySQL database. All the course content and quiz questions are in xml files. Those XML files are easily accessible from a user's Temporary Internet Files (sort of SCORM style, for those familiar with it) and ...

Why does AC_FL_RunContent assume .swf extension?

I am using some Flash code that is using AC_FL_RunContent and it appears to be automatically appending a .swf extension onto my movie and src. Is this expected or am I doing something wrong? I can't seem to find any decent information on how to use AC_FL_RunContent so I do not know if this is something I can disable. I have not run into...

How to dynamically set print page margins in Flash CS3

//I can get the right margins by defining a rectangle and giving it the following dimensions: var rect1:Rectangle = new Rectangle(0, 0, 792,612); //When the print button is pressed the following code executes using the dimensions defined by rect1: prntCover_btn.addEventListener(MouseEvent.CLICK, printCover); function printCover(evt...

How to Prevent SWF from Decompiling?

How do I prevent my SWF from decompiling? Is there any difference between ActionScript 1/2 and ActionScript 3 in the perspective of decompile prevention? This is an opposite question of the following question: How do you decompile a swf file? http://stackoverflow.com/questions/97018/how-do-you-decompile-a-swf-file ...

Is String.replace any faster than String.split ... String.join in ActionScript 3?

Is it any faster to use myString.replace(/foo/g,"bar") rather than myString.split("foo").join("bar") for long strings in ActionScript 3? Or are they just two comparable methods of achieving the same result? ...

Good Resource for Flash/AS3 Perforamace Tips/Tricks for Games

I'm making a multiplayer flash game that has a lot of graphics/code. I'm having some performance issues with things such as my weather effects. Like I'm wondering if it's better to use a bitmap graphic or just use the "vector" (what ever format flash images are drawn in the fla) graphics in a large resource heavy game? While not wor...

Any Good Actionscript 3 (Flash) 2D Shading "Engine"?

I happen to see a 2D shading "engine" on youtube written for flash and was wondering if anyone happened to know what the most popular 2D Flash AS3 Shading "Engines" are? I'm not real good in this field (which is why I ask encase anyone can point me toward an "easy" solution), Thanks! ...

Preloader size guidelines

Hi guys, I'm working on a high-end flash site (AS3) with lots of video, hi-res graphics, and sound effects; needless to say, the initial preloader's got a lot of work to do (just to get the site to a point where additional assets can be loaded on the fly as needed). Because it'll be displayed for a while on most connection speeds, it's...

Graphic added over button is my blocking MouseEvent why?

Hi everyone my problem today is I have a couple of buttons that slide up and down, when in the up state I add an X graphic to symbolize a a close button. However the X graphic seems to be blocking my button action. I have an example in the movie I've been working on >> here <<. There are 2 movies here, the big one if you click either ...

In Flash, how much "overhead" to various types of screen elements (movieclips, static text, dynamic text) add to a SWF?

All, I've been developing Flash applications for several years, and here's something I've always wondered about. I try to be as careful as possible about minimizing the amount of "overhead" that my application uses. (By overhead, I generally mean RAM, cpu processing effort, downloaded data, etc.) My goal is to consume as little of the ...

Free Flash IDE for editing .fla files

Hi, We have a .fla file. We would like an IDE to open .fla file and debug the action script. We tried Flash Develop (open source), but this IDE does not open .fla files. Is there any other free/open source IDE we could use for opening and debugging .fla files? ...

Flash multi-touch on Windows 7 - configurable?

I'm testing a Flash application in Windows 7 that uses the mouse wheel to perform a zoom. When I do a standard pinch gesture the app properly zooms in or out, so I'm guessing that somewhere the gesture is getting converted to mouse wheels. The only problem is that the zooming is really slow - is there a way to configure this behavior? ...

Dynamic Pie Charts

I am searching for a free charting library, either in Java, JS, or Flash, that allows for drill-down type interaction. An example of this sort of behavior can be found in the trends section on mint.com. JFreeChart seems like the generally recommended choice for charting purposes, but from a little browsing of their API there doesn't seem...

Actionscript 3 modify Label Component text

Hi, I'm trying to modify the text of a Label component that I already placed on the stage in as3. I'm having trouble getting the text to change though, it just stays the same based on the inital text I typed in. I'd like to eventually have the label contents change dynamically. When I compile the swf, the two labels have the original v...