flash

Best way to implement a flash website banner

I am a c# asp.net developer and need to implement a number of flash website banners. Previously for static image banners I have implemented on_click code behind or javascript to log the banner has been clicked back to a database and process the re-direction. I don't have much knowledge of flash other than I know that a flash program ca...

Serialize XML file in AS3

How can I serialize XML(meaning convert < to &lt; and > to &gt; etc...) using AS3. is there any build-in functionality or I have to use some regular expression to make global changes? Any Suggestions? ...

Counter triggers sprites as3

How do I use the counter to trigger sprites? Need an example or idea to work from. I want the number values to load sprites. The value of the counter goes to a text field. I want each number value to have an "if" condition to play a sprite of a corresponding number. Dumb example //counter plays pictures rather than plays numbers in t...

Is it possible to display Flash movies inside a Flex application and interact with them?

Since I've never done this and the google results are quite random, I ask here: Is it possible to display Flash movies inside a Flex application and interact with them? The scenario is as follows: I'm developing a new application in flex Another, already completed application is given to me as SWF (or perhaps SWC, don't know any detai...

jquery + flash: looking for plugin that resize images before upload

i'm looking for a jquery plugin that can upload multiple images. I've tried uploadify and it works well. But with huge images it's very slow. is There anything like uploadify that resize also the images before upload them? thanks ...

How to make a small flash swf with ComboBox in Actionscript 3?

I have a pure Actionscript 3 project, using flash.* libraries, compiles down to about 6k (using mxmlc). Program handles about 1k shapes, a few sprites, a sockets connection, works great (tastes less filling). Now, how would I add a ComboBox control without incurring excessive bloat? More specificially, I would like to keep the size und...

Bypass IE Popup Blockers when Opening up links in flash?

This is the Class I'm using to bypass the popup blocker. This is the function to call to the class function function linkHandler(e:MouseEvent):void{ popup.ChangePage(linksURLArray[e.currentTarget.name], "_self"); } this is the class. package com.dbd.external { import flash.external.ExternalInterface; import flash.net.*...

How to detect memory leaks in Flash?

How do you know if your compiled SWF file has a memory leak? Are there tools, a firebug setting, etc... to see if there is a problem? I cannot find much in the debug Flash player besides file size and loading time. I have a large Flash application that I maintain and suspect that is using way too much memory so I wanted to measure the ...

Make counter in TweenMax and AS3 "overwrite manager"

How would I make a counter using Greensocks TweenMax or TweenLite? Does anyone understand the overwrite manager? My code will be in AS3. I want it to be timer based, and be capable or resetting it's self and looping. Advice or starter-code would be cool. Also, is it bad to use tweening engines? Let me know. IDEAS moving number column "...

AS3 Scaling - Clips text and distorts diagonal line on photographs

Hi I used some code that I found, I think even from you guys the scale an external swf being loaded onto a background movie clip. Works great with the exception that it clips some text and creates some funny diagonal lines and some poor picture quality. I have a feeling that this is down to a slight difference in sizing some where along...

Collision detection in a tile based enviroment.

I am having problems with my collision detection. basically when I hit a solid tile my character's body is half way in the tile already. here is my code. The properties wY and wX are my game world positioning. Not the stage positioning. dx and dy is the velocity the character is traveling. This first snippet of code is within a game loo...

Turn Based Strategy Game techniques

I want to make a turn base strategy game. I was just curious if anyone had any sources or books that explains the concept and architect of designing a turn based strategy game or any turn based game. thanks! ...

Flash Data to server

I have a flash application that sends HTTP Request to the server and get back data. Very standard way. So, when I send HTTP request in Flash, can I see the request header in the client side? e.g. using Fiddler, Firebug..etc. I tried Fiddler and Firebug, and it 'seems' like the request is hidden or not catch by the program. if I ca...

Strange Flex Sizing in IE on Server2003

I have a modified version of a flex calendar found Here, and though it looks alright on most computers I've seen, there is a problem on two of the three servers here. Because of the way Citrix is setup here, I need to have it functional on all of the servers. When it loads, everything is stretched out vertically, and the numbers are mi...

Simple flash application builder?

Are there any relatively simple programs for building flash applications. I want to add a basic card game to my site, that can keep track of the user's score. The site right now is built in just html, though I will be changing it over to php shortly to implement a log in system. I'd really like to avoid having to learn actionscript on...

How does screentoaster.com capture your computer screen from the browser?

How does http://www.screentoaster.com capture a computer screen from a browser using Java Applet? Any suggestion or a lead in how to accomplish this? Is there other way to do using using different technology such as Flash? ...

Custom Actionscript 3 EVENT "Super" Function Not Working

This is a super simple event. Why it is not working is making me go crazy. This is in my AsciiArt class: dispatchEvent(new ArtEvent()); That fires this very simple event class: package { import flash.events.*; public class ArtEvent extends Event { public static const DONE_NOW = "done"; public function ...

Flash iTunes Cover Flow replace root command in flash

hey, i want to use the itunes cover flow but i have a problem with my flash, on the server i use, i cant use the root comand or actionscript 3, so i basicaly found what i needed in as2 but it has the command root in it and because of that, the flash cant load on the server, could anyone help me by telling me what should i do to get the r...

How to protect swf file from being decompiled?

I'm working on important project using Flex framework and i want to keep my algorithms and code secret. Is it possible to somehow protect swf file from being decompiled? I don't want someone extract my code using flash decompilers. Thanks. ...

Flash communication options for 2-player-games

I am currently working on a project that embeds a flash game, that uses Smartfoxserver for the flash communication. That communication is mostly just synchronizing the cursor and object movements between the two players. Since I am not a flash guy, but a ruby programmer, I got curious: What kind of communication options does flash offer...